Ticket #47 (closed defect: needinfo)
Opened 3 years ago
Last modified 19 months ago
USB-SUN device affects libusb_get_device_list()
| Reported by: | Gary | Owned by: | stuge |
|---|---|---|---|
| Milestone: | Component: | libusb-1.0 | |
| Keywords: | Cc: | segher@… | |
| Blocked By: | Blocks: |
Description (last modified by xiaofan) (diff)
Hello,
I'd like to report an issue about an API in libusb l.0.
Currently our Linux usb daemon has been upgraded to libusb 1.0. What we have done is to link libusb 1.0 static library into our usb daemon, so it always can run based on 1.0, and it is not necessary to ask the end user to upgrade libusb SO from 0.1 to 1.0 in his system. Indeed it runs very well on most of machine and has no bad feedbacks till days before.
Days before,one of our customer reported that our usb daemon cannot find our USB device on a RH5 x64 system. Through command "lsusb -v", "strace -f" and debugging a sample program (we extract the logic about libusb from USB daemon into the sample), we found the function libusb_get_device_list gives an error(-1) on the machine, and the error come from a USB keyboard Adaptor. It's type is USB-SUN(USB
to SUN ADAPTER), you can get more information with the link
http://www.networktechinc.com/pdf/man015.pdf
or
http://www.networktechinc.com/usb-cable.html (the one located at bottom left)
Attached is the log of command "strace" of our latest USB daemon.
Sample code is also attached.
If you want more details, please let me know. my email is gwei@…. Later we can help on its tests.
Thanks
Gary
Attachments
Change History
Changed 3 years ago by Gary
Changed 3 years ago by Gary
comment:1 Changed 3 years ago by Gary
comment:2 Changed 3 years ago by stuge
- Description modified (diff)
- Owner set to stuge
- Status changed from new to accepted
- Summary changed from An "USB-to-SUN ADAPTER" device broken the API libusb_get_device_list to USB-SUN device affects libusb_get_device_list()
Yes, more details are needed to resolve this issue. Please provide the output from these commands:
lsusb -v
dmesg
Both run by root, with the USB-SUN device connected to the system. Thanks!
comment:3 Changed 3 years ago by segher
- Cc segher@… added
Gary, could you provide that info please? We cannot move forward
on fixing this bug without it.
comment:4 Changed 19 months ago by xiaofan
- Description modified (diff)
- Resolution set to needinfo
- Status changed from accepted to closed
I contacted the original reporter and no reply was given for more than three months. So closed for now.
We also found another USB device that can disable the API libusb_get_device_list. The USB device is Raritan Dominion KX232 KVM Switch
You can get more information with the link
http://www.superwarehouse.com/Raritan_Dominion_KX232_32_Port_KVM_Switch/DKX232/p/1491895