简体   繁体   中英

How do I write a new Linux driver for an i2c device?

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?

出色的《 Linux设备驱动程序》一书涵盖了编写Linux设备驱动程序所需的很多内容,包括USB规范(请参阅第13章)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM