On 07/28/2010 10:05 PM, 王神 wrote: > Hi > > I need some pointers on the use of usbdev* files created in the /dev > directory. How do i use these files to talk to an USB device and how > it is different from the usbfs file. instead of using those files directly, you might want to use libusb-1.0 instead. [1] is the libusb website [2] is a sample code I wrote to force USB devices into particular testmodes (useful for those who, like me, don't want to use that stupid USBHSET tool) [1] http://libusb.org/ [2] http://gitorious.org/usb/usb-tools/blobs/master/testmode.c -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html