views:

653

answers:

1

I have a usb device with some i2c control functions and I would like to add a userspace API for twiddling those bits. How do I add i2c support to my device's existing driver?

+3  A: 

The excellent Linux Device Drivers book covers a lot of what it takes to write a Linux device driver, including USB specifics (see chapter 13).

João da Silva