On Thu, 21 Nov 2002, Boris Dainson wrote: >Right, I don't see memory leak any more on the iso pipe and it's running >quite fast: 970-980 fps !! > >After running it for a while I got USB errors -19 "Device removed or no such >device". The device was still showing up in /proc/bus/usb/001 and the >program ran ok after a restart (I didn't cycle USB cable or power to the >device, just restarted the program).
hmm, that's really strange. Do you have verbose USB messages enabled in the Linux kernel? If so, it should show connections and disconnection in the /var/log/messages file; did it show a disconnect there when you got the error? It might mean your cable is loose and/or bad...otherwise, you definitely shouldn't get any ENODEV errors... Also, you could try running with the JNI tracing on, which may tell you a bit more about what/where the error is coming from. java -DJAVAX_USB_MSG_LEVEL=DEBUG3 <program> The values are listed in jni/JavaxUsb.h. Eventually I'd like to add log4j logging into the entire RI, and move the JNI to use that, instead of the hack that's there now, but for now it works...;) -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel