Skip to content
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.

MLAB-project/hid-cp2112

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hid-cp2112

This in an obsolete Repository! Please use the main linux kernel source files.

Silicon Labs HID USB to SMBus master bridge driver

This driver adds support for Silicon Laboratories CP2112 HID USB-to-SMBus Bridge to the linux kernel. This IC is used in MLAB USBI2C01A module.

To build and install this driver, execute the following command sequence:

$ make
$ insmod ./hid-cp2112.ko

After test of sucessfull working you can run

$ sudo make install

To install module to kernel modules directory.

If you get an error message such as

make: *** /usr/src/linux-headers-2.6.32-32-server: No such file or directory.
Stop.
make: *** [modules] Error 2

You will have to install the correct version of the linux header files. In Ubuntu, and with above error message, this would be

sudo apt-get install linux-headers-$(uname -r)

If you need patch whole kernel source tree, you should use this command.

patch -p1 < hid-cp2112.patch

About

Silicon Labs HID USB to SMBus master bridge driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published