question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] error message: X_LINK_DEVICE_NOT_FOUND

See original GitHub issue

While trying to first run our new OAK D POE i seem to be unable to run the depthai demo. I was able to run the frame demo earlier though, but once i try the depthat.py i get the following: sing depthai module from: c:\Users\Liron\anaconda3\envs\OakD\venv\lib\site-packages\depthai.cp39-win_amd64.pyd Depthai version installed: 2.10.0.0.dev+7a0749a61597c086c5fd6e579618ae33accec8df Available devices: [0] 169.254.1.222 [X_LINK_BOOTLOADER] Traceback (most recent call last): File "c:\Users\Liron\anaconda3\envs\OakD\depthai_demo.py", line 140, in <module> with dai.Device(pm.pipeline.getOpenVINOVersion(), deviceInfo, usb2Mode=conf.args.usbSpeed == "usb2") as device: RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

I am running VS Code on a windows 10 computer with the camera plugged in to the ethernet port whit a POE injector. I have tried turning off Wifi and all firewalls and still get the same result. I have even tried installing everything on a different PC just to get the same error.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

3reactions
Luxonis-Brandoncommented, Nov 2, 2021

For the USB case, it is very likely this: https://docs.luxonis.com/en/latest/pages/troubleshooting/#failed-to-find-device-ma2480-error-message-x-link-device-not-found To fix this, set the udev rules using the commands below, unplugging DepthAI and then plugging it back into USB afterwards.

echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger

And in some cases, these were already set, but DepthAI was plugged in the entire time, so Linux could not reset the rules.

On the PoE issue - it is likely unrelated. Asking the team.

1reaction
drobb257commented, Nov 2, 2021

@alex-luxonis Forcing USB2 fixed it, thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Difference between Defect, Error, Bug, Failure and Fault!
A programming error that causes a program to work poorly, produce incorrect results or crash.
Read more >
Difference between Bugs, Errors and Issues | BrowserStack
Indicates anything from a bug, error, feature change request, documentation problem, etc.
Read more >
BUG-000135066: In ArcGIS Collector, an error ... - Esri Support
In ArcGIS Collector, an error message, "Attempted to use invalid JSON error" is returned when the feature with a date range domain is...
Read more >
Software Testing Tutorial #42 - Defect Bug Error Failure in ...
Get all my courses for USD 5.99/Month - https://bit.ly/all-courses-subscriptionIn this Software Testing Tutorial, we will learn about ...
Read more >
403 Forbidden error message when trying to access bug listed ...
Issue 151755: 403 Forbidden error message when trying to access bug ... URLs (if applicable) : https://code.google.com/p/chromium/issues/detail?id=150813
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found