Charles Lepple wrote:
Hi, I have managed to get it all working now using libusb 1.0. The documentation for that API is extremely good and everything was up and running in just a few hours. For some reason I had assumed that libusb was a much lower level library that it actually is. That is the problem with going into things blind and trying to piece it all together from fragments of information gleamed from various forum posts. It is now clear that the libhid route was completely overkill for what I wanted to do. Unfortunately, I do have the luxury of a package manager! Absolutely, everything is built from scratch on the embedded platform - To be honest, that is really the only way to do it with embedded linux otherwise you just endup with a dinosaur and might have well have used Windows CE! Building Linux systems is my area of expertise and I have been doing it for years so I don't foresee many problems in that area. What I like about libusb 1.0 is that it handles asynchronous transfers whereas 0.1.x only handles synchronous transfers. I also like to use the latest stable versions whenever possible because they tend to work better with the newer tool-chains. Thanks for all your help, I am pretty much there now and I am beginning to understand how USB hangs together much better. It always amazes me how something that seems so complicated can become so much easier with just a pointer in the right direction - Thanks. Tim |
_______________________________________________ libhid-discuss mailing list libhid-discuss@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss http://libhid.alioth.debian.org/