Question

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?

Was it helpful?

Solution

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top