On Wed, 30 Oct 2002, Boris Dainson wrote: >I meant that usbConfig.getNumInterfaces() returns 1 while it should be 16. >While there, usbConfig.getMaxPower() gives 250 instead of 500. The version >from the last year didn't have these problems.
hmm, can you send the output of "cat /proc/bus/usb/devices"? Also, USB defines (in table 9.10) the bMaxPower to be expressed in 2 mA units, so a value of 250 means 500mA. I'll add the conversion in UsbView... >Queueing will be great to have. I've also seen errors -110, then unplug/plug >of cables and rmmod are of no help, reboot is the only way out. I don't know >if that's related to queueing though. The easiest way to trigger -110 was by >unplugging/plugging back a Cypress HID device (not the one with many configs >and interfaces) while making submissions to the pipe. It was also happening >without such abuse once in a while but I don't know of another easy way to >create it. Yep, the linux kernel USB support, especially for UHCI Host Controllers, has some problems. And, hotplug really complicates things - it can take a long time to finish. If you look at the hotplug script (in Redhat 7.3 at least) there's a 3 _second_ sleep put in there! It's getting a lot better in the 2.5 kernel, tho. >Sorry for the delay, thanks for testing this out! It really helps to clear the bugs out. -- Dan Streetman [EMAIL PROTECTED] -------------------------------------------------- 186,282 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