usb4java-javax icon indicating copy to clipboard operation
usb4java-javax copied to clipboard

Attached event is not received for the device that has lengthy serial number

Open sibiarunachalam opened this issue 3 years ago • 2 comments

Hi guys, We use usb4java in our application to detect attached and detached events It works well except the scenario we have identified recently. Usb4java does not detect the ATTACHED event for the device that has serial number with more than 100 characters when it is plugged in.

Vendor ID: 0781 Product ID: 5591 Serial No: 0101c14ea1b1ea6e90aa9860523346cf654a93d436044650cdf7c88765d187e9e52300000000000000000000fc1c000e000f2500915581072a2ad2ae

Please help us to solve this problem

sibiarunachalam avatar May 08 '21 05:05 sibiarunachalam

Thanks guys. I've identified the problem, the problem is in libusb-1.0.22 I could recreate the problem in libusb-1.0.22, but not in 1.0.24. So usb4java needs to be updated to libusb-1.0.24 to solve the problem.

sibiarunachalam avatar Jun 16 '21 10:06 sibiarunachalam

So next question is when will you release new version of usb4java with this fix (upgrading libusb to 1.0.24 or latest)?

sibiarunachalam avatar Jun 16 '21 10:06 sibiarunachalam