On 07/05/2013 04:39 PM, dryggs wrote:
> *Found 4 HID-type interfaces.
> Found mouse by SubClass/Protocol
> Found HID mouse.
> Driving HID mouse, move mouse to see movement events.
> Press Enter when done.
> Unable to submit data buffer to HID mouse : USB error 1: Transfer error on
> interrupt endpoint: LIBUSB_ERROR_IO*
I'm note absolutely sure but I guess that you can't access the mouse
with libusb while Windows itself has a driver attached to it.
> I tried this because when I try to run my application what I get is this:
> # C [libusb-1.0.dll+0x14191] windows_clock_gettime_threaded+0x6100
It's hard to help with crashes (especially on Windows and Mac) and
because they normally happen when you are communicating with a device
which I don't own it's hard to reproduce.
If you are familiar with C programming it would help a lot if you could
write a small test C program which directly uses libusbx and which does
the same USB communication where usb4java crashes. If this does crash,
too, then you should consult the libusb Mailing List. If it doesn't then
it may help if you could post the C source and the Java source here.
If you are not able to write such a C program then please try to
minimize your crashing Java application to an absolute minimum and post
it here together with the complete stack trace and logging information.
And also set the environment variable LIBUSB_DEBUG to 4 to get extra
logging info from libusb.