Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Gabriel Queiroz
Hi Dan, Sorry, hadn't get ya. I don't need to send any command. The device is enumerated, and after it waits for the user to push a button... If a button is pressed, then the device sends a command. But nothing is being sent before the error, just the normal setup routine. Cheers, On 6/27/08, D

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Dan Streetman
Yes, of course it happens after a submit, what I meant was what command are you sending that causes the error? On Fri, Jun 27, 2008 at 6:59 PM, Gabriel Queiroz <[EMAIL PROTECTED]> wrote: > Hi Dan, > > Inside LinuxPipeOsImp.java, method void asyncSubmit( UsbIrpImp irp ), line > 64: > > getL

[javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Gabriel Queiroz
Hi Dan, Inside LinuxPipeOsImp.java, method void asyncSubmit( UsbIrpImp irp ), line 64: getLinuxInterfaceOsImp().submit(request); As far as i got it, this call only adds data to a list (suppose it would be sent afterwards?), so, i didn't really get what went wrong. Thanks again! -- Gabr

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Dan Streetman
No hint unfortunately. You may be able to track down where in the kernel it's generating the error, which might help, but ultimately it may be a device problem. What command are you getting the error for? On Fri, Jun 27, 2008 at 5:27 PM, Gabriel Queiroz <[EMAIL PROTECTED]> wrote: > Hi Dan, > > T

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Gabriel Queiroz
Hi Dan, Thanks for your fast reply! Here's the output from /var/log/messages when I connect the new device... Jun 27 18:17:50 gilmour kernel: [ 3537.347832] usb 1-3: new full speed USB device using ohci_hcd and address 3 Jun 27 18:17:50 gilmour kernel: [ 3537.31] usb 1-3: configuration #1 ch

Re: [javax-usb-devel] Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

2008-06-27 Thread Dan Streetman
According to my Linux errno.h file, 62 is "Timer expired". I have no idea where that would come from, but it's almost certainly coming from Linux, not javax.usb - all the generic "Error N" errors come from failed ioctls into Linux. If you are adventurous you could look at the Linux kernel USB cod