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 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.UsbDeviceImp.requestUsbStringDescriptor(UsbDeviceImp.java:418)
 at com.ibm.jusb.UsbDeviceImp.getUsbStringDescriptor(UsbDeviceImp.java:179)
 at com.ibm.jusb.UsbDeviceImp.getString(UsbDeviceImp.java:193)
 at com.ibm.jusb.UsbDeviceImp.getManufacturerString(UsbDeviceImp.java:102)
 at chuan.test.TestArea.displayUsbDevice(TestArea.java:45)
//-----End of Exception--------

Could somebody tell me, why come this? what can i do with it?

i use Suse8.0, eclipse. jdk 1.4.1

Thanks in advance!
Chuan

ps: i have yet a problem:
i cannot run the SwingUsbView, receive alwalys:
//---Log-------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4C5408B4
Function=(null)+0x4C5408B4
Library=/usr/java/j2sdk1.4.1_02/jre/lib/i386/libawt.so

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.
Current Java thread:
 at sun.java2d.loops.Blit.Blit(Native Method)
 at sun.awt.X11PMBlitLoops$DelegateBlitLoop.Blit(X11PMBlitLoops.java:138)
 at
sun.awt.image.AcceleratedOffScreenImage.copyBackupToAccelerated(AcceleratedO
ffScreenImage.java:174)
 at
sun.awt.motif.X11OffScreenImage.copyBackupToAccelerated(X11OffScreenImage.ja
va:168)
.....
//----End of Log ----
where is the Error?



-------------------------------------------------------
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

Reply via email to