Thank you very much, Dan, > If you know that your device does define some string descriptors, then the > Exception is a bug...what's happening is the request for the lang-id > string descriptor (which is the string descriptor with index 0) is > succeeding, but getting less than 4 bytes. The lang-id string descriptor > needs to be at least 4 bytes: a type byte, length byte, and lang-id word > (2 bytes). It can be longer, if more lang-ids are supported, but the > first lang-id is the "default" for the device. If there isn't a default > lang-id, then the device can't support string descriptors, as each string > descriptor request needs a lang-id to get the string descriptor in the > desired language.
I think, the device has a name of Manufactory, with a "usbview" program (not in Java) from www.usbview.sourceforge.net I can see the Manufactory: KOBIL(exact what i use). like you said, debug shows the Exception is throwed here when getLangId(): if (4 > len || 4 > UsbUtil.unsignedInt(data[0])) throw new UsbException("Strings not supported by device"); > Try using a different Java version, like Blackdown's or IBM's, > or a different SUN version. Maybe try using 1.3.X instead of 1.4.X... i have tryed IBMJava2-1.3, unfortunately it also doesn't run: //---ErrorMsg--- /Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ibm/jusb/tools/swing/SwingUsbView (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass(ClassLoader.java:496)... //---------------- but does not matter, i learn from it, and test in my simple Program. I have still another Problem, when i insert another Device, a Camera or a Zip, my test program is immediately down. log shows: //---Log---- /An unexpected exception has been detected in native code outside the VM. /Unexpected Signal : 11 occurred at PC=0x400B7C1D /Function=__libc_free+0x71 /Library=/lib/libc.so.6 / /Current Java thread: /at com.ibm.jusb.os.linux.JavaxUsb.nativeTopologyUpdater(Native Method) /at com.ibm.jusb.os.linux.LinuxUsbServices.updateTopology(LinuxUsbServices.java: 150) /......... //---End of Log-------------- is it from USB-hotplug of Linux? it is very comically, when i insert the Device before Linux-boot, it' ok, but sometimes when i take it off, and insert once again, Linux notic it no more:( and device obtain also no energy! i must reboot linux, this is simply irritating :((( have you also experience this? Tija, thank you once more and wish you still a gut week end! Chuan ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel