-
Notifications
You must be signed in to change notification settings - Fork 43
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
LIBUSB_ERROR_TIMEOUT #3
Comments
When trying to run ./low-level-leap I always get LIBUSB_ERROR_TIMEOUT. This is what i tried: start tshark and wait few seconds I guess I'm doing something wrong? I would appreciate if somebody tell me exact steps to make it work. |
the capture makes possible the generation of the file "leap_libusb_init.c.inc". Be sure than this file is not empty. If it's the case, check the "bus" and "device" usb on whiche the leapmotion is plugged. |
It is not empty, but unfortunately it still does not work. Below I show my shell session, is it similar to yours? I stop leapd before stopping tshark (with Ctrl+C). One strange thing that I noticed is tshark always reports exactly 1 packet dropped, but I think it happens before I launch leapd, because if I stop tshark before starting leapd, it still reports 1 packet dropped, so I guess this is harmless warning. But perhaps I'm doing something wrong. By the way, what version of Leap software you were using to make this work?
|
try "tshark -i usbmon2 -w leap-init.pcap" for step 2. You must stop recording (tshark) before stopping leapd. The record must contain all frames initialization Leap. This driver is not using reverse engineering. It's just replay what you recorded. If your record doesn't work, try mine...
|
I give the right usb device address but get an empty leap_libusb_init.c.inc when using make_leap_usbinit.sh. |
Has anyone been able to get this to work recently? I've tried doing it with my own capture file as well as the one which is posted above, and neither result in anything - just a timeout on the URB_BULK in... I've verified packet by packet (more or less, I assumed that if I checked the first and last 100 that the rest are the same) that the same values are being sent and it still doesn't seem to work... |
I have got the same problem...whatever I change, it gives me a LIBUSB_ERROR_TIMEOUT error. |
Hi,
I'm trying to get working your driver.
No problem for compilation, but when I run low-level-leap,
Leap is found, libusb_claim_interface return LIBUSB_SUCCESS and max pachet size is 512.
Then it fail on "libusb_bulk_transfer(): -7: LIBUSB_ERROR_TIMEOUT".
Have you an idea ?
Thx,
Robin
Ok,
finally, no problem. I did not wait long enough for capture. Leapmotion had perhaps not been fully initialized. Now it's ok.
The text was updated successfully, but these errors were encountered: