error message: X_LINK_DEVICE_NOT_FOUND
Hi Mojo , sorry for the late response. I have specified the IP manually in depthai_demo.py
, but it's still showing me the same error, but now without the Avaliable devices:
portion - .
Using depthai module from: /home/sravan/.local/lib/python3.6/site-packages/depthai.cpython-36m-x86_64-linux-gnu.so
Depthai version installed: 2.10.0.0
Traceback (most recent call last):
File "depthai_demo.py", line 145, 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 have also tried running install_requirements.py
from the develop
branch and then running the demo script from both the main
and the develop
branches. Still the same RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
error.
I've also tried running the demo using python3.8 (I was using python3 earlier). Still the same problem.
I did want to clarify that this is a POE device and I notice the error mentions usbMode=conf.args.usbSpeed == "usb2"
. Is this a possible source of the problem?
There are a couple more details I'd like to add -
- The lights on the poe switch (rated for 65W power budget) flash when I attempt to launch the demo script, and they're solid otherwise.
- When I try to ping the device at the same time as when a demo script is running, I lose some packets (about 40%), and do not lose any packets when I just do the ping without running the script.
Hello skb_1 ,
just to double check, did you install requirements for DepthAI? Since it's a common error if you don't install these prior to running the library.
Thanks, Erik
- Edited
Hi erik I didn't install those requirements earlier, but just did it now and re-ran python3 install_requirements.py
However, the same error still shows up.
skb_1 Just to double-check; did you try with develop
branch of depthai
or depthai-python
repo? Please try with the latter, as we have added some additional PoE fixes to it.
So checkout to develop
branch on depthai-python
repo, run python3 examples/install_requirements.py
, run any example code, eg. python3 examples/rgb_preview.py
.
Thanks, Erik
Hi erik Just to follow up - I am now trying to run the example main.py
code in the subfolder gen2-camera-demo
code of the depthai-experiments
repo. I'm facing the same error as in the opening post above (X_LINK_DEVICE_NOT_FOUND
). Any suggestions on what I can try to run this? I've tried both the main
and the develop_spi_in
branches.