You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first one I can insert and remove without problem. All informations are taken from the "deviceConnected" and "deviceDisconnected" triggers.
The other one, when I insert for the first time I receive this error:
net.codecrete.usb.UsbStallException: internal error (retrieving descriptor 0 failed)
at net.codecrete.usb.windows.WindowsUsbException.throwException(WindowsUsbException.java:52)
at net.codecrete.usb.windows.WindowsUsbException.throwLastError(WindowsUsbException.java:80)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.getDescriptor(WindowsUsbDeviceRegistry.java:259)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.getDescriptor(WindowsUsbDeviceRegistry.java:236)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.createDevice(WindowsUsbDeviceRegistry.java:223)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.createDeviceFromDeviceInfo(WindowsUsbDeviceRegistry.java:191)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.onDeviceConnected(WindowsUsbDeviceRegistry.java:334)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.handleWindowMessage(WindowsUsbDeviceRegistry.java:312)
at net.codecrete.usb.windows.winsdk.User32B.GetMessageW(User32B.java:99)
at net.codecrete.usb.windows.WindowsUsbDeviceRegistry.monitorDevices(WindowsUsbDeviceRegistry.java:134)
at java.base/java.lang.Thread.run(Thread.java:1570)
but after remove and insert it again, the triggers are fired without any errors, but the vendor name may come empty sometimes.
Windows 10. Java 22.
The text was updated successfully, but these errors were encountered:
The exception indicates that USB configuration descriptor 0 cannot be queried. This is strange. This descriptor must be available otherwise the USB device does not work.
Did Windows show any errors related to the device, e.g. "The last usb device you connected malfunctioned"? Does the device properly work on Windows? Does your computer have any endpoint security software installed that disables certain USB devices for security reasons?
No. This Token is working without problems. And it have a twin that not throwing any error. Perhaps you are being too fast to read the device ( before windows load all drivers - don't know... maybe ... ).
Guess what... this not occour on my other window$ machine with W11. I think this may be a driver problem (or USB port) and there is nothing you can do about.
I have two identical Tokens
Vendor ID: 4185
Product ID: 23
Class Code: 11
Manufacturer: Giesecke & Devrient GmbH
Product: STARSIGN_CUT
The first one I can insert and remove without problem. All informations are taken from the "deviceConnected" and "deviceDisconnected" triggers.
The other one, when I insert for the first time I receive this error:
but after remove and insert it again, the triggers are fired without any errors, but the vendor name may come empty sometimes.
Windows 10. Java 22.
The text was updated successfully, but these errors were encountered: