-
Notifications
You must be signed in to change notification settings - Fork 746
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
Protonect: "bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out" #546
Comments
Here's what comes up each time I run it:
I can paste the whole thing if you like. |
uPD720200 is one of the earliest known working USB controller. It really should work as-is with slightly older kernels. Try LIBUSB_DEBUG=4 ./bin/Protonect and post the log. |
Alright, followed the instructions... |
|
|
Will try this next time I am in lab. Thanks. |
The best I can get out of this is that this is just a timeout. It should not time out, but it does. If this above disabling power management does not work, try to really use 4.2 kernel. If 4.2 kernel doesn't work either, you can try to use Windows to update the firmware of the USB controller. If that doesn't work either, I don't know what more can be done. |
That's super weird. Thanks. |
Do you have an idea of what else could have gone wrong ? Or maybe some mistake during the installation ? Is there a way to debug ? |
A way to debug: https://www.kernel.org/doc/Documentation/usb/usbmon.txt Post |
This is the output of 'sudo cat /sys/kernel/debug/usb/devices': From above I chose the Bus2(since Kinect is connected to Bus2) and hence the 1.mon.out is the output of the following command See if what I did was alright! |
Re:
Didn't work. Bummer. Booting into Windows to update the 3.0 driver. (Which hopefully will work - it wasn't recognizing my 3.0 flash drive.....) |
Went into Windows, updated drivers... Still getting:
Just remembered drivers != firmware. Updated firmware to latest, and still no luck. Out of options? |
I got similar errors until I updated my kernel to 4.2.x I also found that the kinect sometimes gets wedged and I have to power-cycle it. |
@ankitvora7 Sorry the plain text format is too hard for me to parse. Can you obtain a pcap capture with https://ask.wireshark.org/questions/2801/usbmon-captures? @brendandburns Are you confirming 4.2.x fixes the bug for you? |
@xlz I don't know if what I saw was the same bug, but it had the same output. and yes, switching to 4.2.x fixed it for me. however, I am also attempting to use a Texas Instruments USB 3.0 controller (TUSB73x0), which has generally been super flaky with the Kinect. I've order a Renesas based card that I'm planning on switching to. --brendan |
USB3 as a whole has been a constant PITA in this project. So far, general experience seems to indicate the least problems with Intel or NEC/Renesas controllers (see also https://github.com/OpenKinect/libfreenect2/wiki/Linux-USB-Notes). |
NOTOURBUG. This bug was introduced by torvalds/linux@e210c42 (upstream 4.3-rc7, backported to Ubuntu kernel 3.19.0-41.46). The offending commit was reverted in torvalds/linux@a683509 (upstream 4.5-rc3, Ubuntu tracking bug, fix backported to Ubuntu kernel 3.19.0-49.55 (the Ubuntu bug claims it was fixed in 3.19.0-47.53, which is not true)). I actually wrote about the original offending commit https://github.com/OpenKinect/libfreenect2/wiki/Linux-USB-Notes#warn-event-trb-for-slot-x-ep-2-with-no-tds-queued. Its seems to be intended for fixing the useless warnings, but the fix was defeated by USB controllers not compliant with specs, such as, NEC Corporation uPD720200 (and actually, most controllers, but somehow I didn't get the bug). For Ubuntu users, simply avoid kernels >=3.19.0-41 and <=3.19.0-47. (I'm not sure about the 4.2 series, but the fix should be carried in its latest update anyway.) |
Hello!
When I run
sudo ./bin/Protonect
I get the following:I tried to Google this, but the only other person with a similar issue was running this on a virtual machine, whereas I'm running it on native 14.04...
Probably useful information:
lsusb:
lspci | grep USB:
uname -a:
Linux team23-lab 3.19.0-47-generic #53~14.04.1-Ubuntu SMP Mon Jan 18 16:09:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
This is running on a fresh install of 14.04, and installing libfreenect2 was the first thing I did.
Thanks for your help!
The text was updated successfully, but these errors were encountered: