Skip to content
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

Failed to set the LED of K4W or 1473 device: LIBUSB_ERROR_IO #580

Open
duckduckhero opened this issue Mar 16, 2019 · 13 comments
Open

Failed to set the LED of K4W or 1473 device: LIBUSB_ERROR_IO #580

duckduckhero opened this issue Mar 16, 2019 · 13 comments

Comments

@duckduckhero
Copy link

please help me i am very urgent

i am trying to connect my kinect 1517 to ubuntu 18.04

i downloaded libfreenect and everything, and if i try to execute freenect-glview
i keep getting this error.

freenect-glview Kinect camera test Number of devices found: 1 Found sibling device [same parent] Failed to set the LED of K4W or 1473 device: LIBUSB_ERROR_IO Found sibling device [same parent] Could not open device: LIBUSB_ERROR_NO_DEVICE Could not open device
maybe it's because of the usb problem?
because i don't have any usb bus 003 when i execute lsusb -t

anyways please help me
i searched everywhere, but i wasn't able to find the answer...
please help me..

@BrainPotter
Copy link

I have this problem too. Do you have any answers?

@peproctor
Copy link

peproctor commented May 9, 2019

I have this problem as well:

Failed to set the LED of K4W or 1473 device: LIBUSB_ERROR_IO
Found sibling device [same parent]
Could not open device: LIBUSB_ERROR_IO

@peproctor
Copy link

peproctor commented May 9, 2019

Mine works after trying this solution from another answer (#543):

"Please try freenect-camtest, which uses only the camera.
The root cause is probably missing audio firmware. Model 1473 uses the audio device to control the motor, and needs firmware for the audio. I am working on a firmware fix, but I still can't get it to work with 1473. In the meantime, I'm thinking of printing out warnings when audio/motor fails to load instead of stopping the program"

@ghost
Copy link

ghost commented May 29, 2019

So, Can't we open Kinect 1473 through OpenCV?
Is there any other way rather than this? (for Model 1473)

@YoungZ626
Copy link

Me too!

@yasiupl
Copy link

yasiupl commented Jun 12, 2020

What did it for me, was running freenect-micview and freenect-camtest before freenect-glview.

@procub3r
Copy link

What did it for me, was running freenect-micview and freenect-camtest before freenect-glview.

This worked for me! thanks a lot!

@Rage997
Copy link

Rage997 commented Nov 28, 2021

What did it for me, was running freenect-micview and freenect-camtest before freenect-glview.

When I run freenect-micview I get:

Number of devices found: 1
Trying to open ./audios.bin as firmware...
Trying to open /home/rage/.libfreenect/audios.bin as firmware...
Trying to open /usr/local/share/libfreenect/audios.bin as firmware...
Trying to open /usr/share/libfreenect/audios.bin as firmware...
Trying to open ./../Resources/audios.bin as firmware...
upload_firmware: failed to find firmware file.
upload_firmware failed: -2
Could not open device

any help is appreciated.

@n-qber
Copy link

n-qber commented Dec 23, 2021

The file audios.bin is missing (I'm not sure but I think it is a firmware that needs to be sent to to the kinect during runtime)
To download it, go to the git cloned folder of libfreenect and run:

python3 ./src/fwfetcher.py

This will download the audio.bin to the libfreenect folder, then simply move it to the location of the installed libfreenect library

sudo mv ./audios.bin /usr/local/share/libfreenect/

@NewtonAlbukerk
Copy link

@n-qber,

This worked for me! thanks a lot!

@Lecrapouille
Copy link

Lecrapouille commented Mar 23, 2023

I have also the model 1473 (I did not know where to get this info: it's depicted in the sticker on the foot of the device) and I had the same error LED of K4W or 1473 device: LIBUSB_ERROR_IO with, i.e., freenect-glview . I solved the case by the following two steps depicted in #543:

EDIT: today I wanted to retry tests but I got this error similar to #650:

Trying to open ./audios.bin as firmware...
Trying to open ~/.libfreenect/audios.bin as firmware...
Trying to open /usr/local/share/libfreenect/audios.bin as firmware...
Trying to open /usr/share/libfreenect/audios.bin as firmware...
Trying to open ./../Resources/audios.bin as firmware...
upload_firmware: failed to find firmware file.
upload_firmware failed: -2
Could not open device

I tried to call back python3 ./src/fwfetcher.py but I get stalled with:

Downloading SystemUpdate.zip from https://www.xbox.com/system-update-usb
Reading response...

I did not understood but my hypothesis is that I shall be libfreenect/build once in this folder it runs back well

@Lecrapouille
Copy link

Update. On my Ubuntu I got this error again. This is because I was inside the build folder. After doing sudo make install and cd .. it worked back

@AntonyCat
Copy link

AntonyCat commented May 1, 2024

If anyone is still checking this thread... I am attempting to run python3 ./src/fwfetcher.py to download the audio file audio.bin but it seems that https://www.xbox.com/system-update-usb is no longer a page on the Xbox website (error 404).

Would anyone know where I can manually download the files or update.zip that fwfetcher.py used to download from the website? Or if someone has the files I can download from them? Much appreciated!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests