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] activate an interface setting

2005-04-13 Thread Dan Streetman
Use the standard request to set the interface setting. You'll need to read up on it in the USB spec, Chapter 9. On Tue, 12 Apr 2005, Charles Chen wrote: >I have an iMic USB audio system made by Griffin Technology. It works fine >under Windows system, but I want to make it work under Linux, Fe

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

[javax-usb-devel] activate an interface setting

2005-04-13 Thread Charles Chen
I have an iMic USB audio system made by Griffin Technology. It works fine under Windows system, but I want to make it work under Linux, Fedora 2. Using javax.usb, I can connect to the device, and see that there are three interfaces. All the three interfaces have several interface settings, and I