Re: [javax-usb-devel] Newbie: again with lib

2003-06-03 Thread Dan Streetman
On Sun, 1 Jun 2003, Chuan Guo wrote: >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

Re: [javax-usb-devel] Newbie: again with lib

2003-06-03 Thread Dan Streetman
Hmm, that's not good. I'll try to see what's causing it... On Mon, 2 Jun 2003, Boris Dainson wrote: > >> 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 al

Re: [javax-usb-devel] Newbie: again with lib

2003-06-03 Thread Boris Dainson
> 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? Yes, I'v

Re: [javax-usb-devel] Newbie: again with lib

2003-06-02 Thread Chuan Guo
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-

Re: [javax-usb-devel] Newbie: again with lib

2003-06-01 Thread Dan Streetman
On Fri, 30 May 2003, Chuan Guo wrote: >but when i want to getManufacturerString(..), i receive a Error: >//-Exception--- >Exception in thread "main" javax.usb.UsbException: Strings not supported by >device > at com.ibm.jusb.UsbDeviceImp.getLangId(UsbDeviceImp.java:405) > at >com.ibm.jusb.UsbD

[javax-usb-devel] Newbie: again with lib

2003-05-31 Thread Chuan Guo
Hi, I'm pretty new with Linux programming. i'm a student in Germany. i want to use java USB in a study thesis, connect to a SmartCard Terminal. i have compiled all the code of javax.usb. simply, i put the libJavaUsb.so in /usr/local/lib, i can see the port that is attachted with a Device, but when