Marcel Birthelmer wrote: > Not sure about the stack you're using etc., but from lots of > experience with USB device code in my previous job, I'd suggest making > sure you're closing all your endpoints and cancelling any pending > transactions when you're closing the connection (if applicable), and > making sure any state machines are reset to the point where endpoints > can be re-opened when the PC sets the configuration again. I'm starting to think "libusb bug" now. My test suite works fine with libusb-win32 0.1.12.2 on Windows XP, but won't work with the Linux version of libusb on either Ubuntu 9.04 or 9.10 (both of which use an Ubuntu-hacked version of libusb 0.1.12). Hmm. -- Phil. piclist@philpem.me.uk http://www.philpem.me.uk/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist