USB programming
Hello! I need to do some USB programming. What is the best place to start? It would be best if it was OSI, but it doesn't have to be. I see there is libusb (http://libusb.sourceforge.net), but it is only V0.1, is this a working decent library? Also, I have never done any USB programming. What should I know?
By USB programming, I mean that I need to open a USB port and access data from it. |
libusb is good. It's at version 0.1.8. To access a USB port you'll need to use a device driver built into the kernel or as a loadable module. For instance, the module usb-storage can access many devices (cameras, external hard disks, mp3 players). When you load a module it usually communicates with user space through a node in /dev. I don't know much about programing, I've only learnt enough to get my hardware working
|
Thanks.
Funny... Probably the only non-programmer on the programming forum is the one who was willing to help (and has). Oh well, it is probably because all the other programmers are helping other people. I know how that is in this forum. ;) |
All times are GMT -5. The time now is 01:22 PM. |