Re: [javax-usb-devel] Potential bug in linux services implementation

2005-04-13 Thread Dmitri Kostioukov
Yeah, I was pretty sure the problem was caused by the UPS itself but I figured the library should handle it one way or another. I doubt APC will be too inclined to make any hardware changes. And UPS itself seems to work fine. It's controlled by apcupsd (I assume through HID) and the software can t

Re: [javax-usb-devel] Potential bug in linux services implementation

2005-04-13 Thread Dan Streetman
Well, shows what I get for trusting hardware. Your device is broken, its configuration descriptor claims its configuration is 1 while it returns 98 (a non-existent configuration) to a get-configuration request. You should try to get the hardware vendor to fix their device. Meanwhile, the CVS

Re: [javax-usb-devel] Potential bug in linux services implementation

2005-04-13 Thread Dan Streetman
Do send a trace without your fix. On Tue, 12 Apr 2005, Dmitri Kostioukov wrote: Can you send a trace? Edit the javax.usb.properties file to set the trace level to 5 and enable urb-tracing, and run whatever progam you have and redirect the error output to a file, i.e. Ok, that's a whole separate i

Re: [javax-usb-devel] Potential bug in linux services implementation

2005-04-12 Thread Dan Streetman
As far as I can tell from looking at the code, it should handle configurations over 0x80, like 0x98 (I assume you meant 0x98 not 98). Can you send a trace? Edit the javax.usb.properties file to set the trace level to 5 and enable urb-tracing, and run whatever progam you have and redirect the