且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Linux的USB编程

更新时间:2023-07-19 19:57:04

您不需要的内核程序, - 实际上读取设备信息,你甚至不需要一个设备驱动程序

You don't need to program the kernel as such - in fact to read the device info you don't even need a device driver.

USB系统是较新的2.6内核不同,所以很多在线教程可能是过时的 - 但这里开始的 http://www.linux-usb.org/

The USB system is different in the newer 2.6 kernels so a lot of the online tutorials may be out of date - but start here http://www.linux-usb.org/

如果你想编写一个USB设备驱动程序请参阅本 Linux杂志教程

If you do want to write a USB device driver see this Linux journal tutorial