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

[BUG] X_LINK_DEVICE_NOT_FOUND inside depthai-ros container #584

Open
Aadi0902 opened this issue Aug 23, 2024 · 2 comments
Open

[BUG] X_LINK_DEVICE_NOT_FOUND inside depthai-ros container #584

Aadi0902 opened this issue Aug 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Aadi0902
Copy link

When running the depthai_viewer using python3 -m depthai_viewer inside deptha-ai ros container (ros humble), I keep getting

Failed to select device: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

[2024-08-23T06:48:01Z ERROR re_viewer::depthai::depthai] Error: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND, Try to connect the device to a different port.

[2024-08-23 06:48:02.166] [depthai] [warning] skipping X_LINK_UNBOOTED device having name "1.12.4.4"

What is weird to me is that my udev rules are set on the host, and I am mounting my /dev/usb folder.

Additionally, the viewer works fine on my host and I am able to view my camera output, but inside the container I am getting the above error Please help.

If curious, this was my docker run command:

docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix luxonis/depthai-ros:humble-latest /bin/bash

@Aadi0902 Aadi0902 added the bug Something isn't working label Aug 23, 2024
@Aadi0902 Aadi0902 changed the title [BUG] {X_LINK_DEVICE_NOT_FOUND inside depthai-ros container} [BUG] X_LINK_DEVICE_NOT_FOUND inside depthai-ros container Aug 23, 2024
@Serafadam
Copy link
Collaborator

Hi, which device are you using? Are results of running lsusb command the same on host and in docker?

@Aadi0902
Copy link
Author

I am using oak d pro. And yes, I can confirm lsusb has the same output inside and outside the container. I can see Bus 001 Device 047: ID 03e7:2485 Movidius Ltd. Movidius MyriadX on both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants