-
Notifications
You must be signed in to change notification settings - Fork 1.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to read device descriptor for attached USB device when attached event occurs #1446
Comments
Maybe you have to wait a bit for the device to get settled with proper driver. |
I have tried adding 10sec delay before accessing attached device handle still same issue seeing.
|
Please provide more details about your host, Linux distro used and your test device. Reference: Please also make sure you use the latest version of libusb release version like libusb-1.0.26, or better use libusb-1.0.27-rc1. |
@mcuee I have tried with multiple device seeing same issue. I have used latest master branch to test this using provided sample code hotplugtest.c. by reading string_descriptor when attached event occurs.
Test1: attached USB hub to PC
Test2: attached wireless Logitech mouse to USB hub
|
The title says "unable to read device descriptor". Does libusb_get_device_descriptor() fail? |
Any update on this issue? I will close this issue if we do not get the reply for a long time (say two months). |
Converted to discussion for now. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
-> I am trying to read USB device descriptor information such as Manufacturer and Product string when USB device attached event occurs .
Sample code used along with minor changes:
https://github.com/libusb/libusb/blob/master/examples/hotplugtest.c
user@user:~/libusb$ sudo dmesg
The text was updated successfully, but these errors were encountered: