How to most properly use libusb to talk to connected USB devices?

user473973 picture user473973 · Jun 21, 2013 · Viewed 36.1k times · Source

How do I most properly use libusb to talk to connected USB devices?

Specifically, how do I transfer data to the USB devices, receive information from the devices, find out the name of the connected device, if they have storage, etc.

More specifically, I will be running this on a Mac OS X machine, so I know I can't just use Windows header files.

If there is a good explanation on libusb and USB devices, that would be helpful too.

Answer

user2469202 picture user2469202 · Jun 26, 2013

I have found here a textual howto about using libusb-1.0: http://www.dreamincode.net/forums/topic/148707-introduction-to-using-libusb-10/