From: Shaun J. <sja...@ho...> - 2001-06-23 22:01:53
|
I've started porting libnjb (Nomad Jukebox) to libusb so as to support Linux; it was originally written for BSD USB. Is there any documentation on the libusb API, or some sample code that might help get me started? What is absolutely mandatory to start sending control packets to a device? usb_init usb_find_busses usb_find_devices then iterate through the busses/devices and find the device you're looking for. usb_open (this is as far as I've gotten) What comes next? Can I now try a usb_control_msg? What requesttype do I use, and what are the units of timeout? Thanks, Shaun |