bash-5.1$ python3 depthai_demo.py
Using depthai module from: /Users/jimmyimac/Library/Python/3.9/lib/python/site-packages/depthai.cpython-39-darwin.so
Depthai version installed: 2.15.0.0
Setting up demo...
Available devices:
[0] 169.254.1.222 [X_LINK_BOOTLOADER]
File "/Users/jimmyimac/depthai/depthai_demo.py", line 655, in run
self.instance.run_all(self.conf)
File "/Users/jimmyimac/depthai/depthai_demo.py", line 122, in run_all
self.setup(conf)
File "/Users/jimmyimac/depthai/depthai_demo.py", line 205, in setup
self.device = dai.Device(self.pm.pipeline.getOpenVINOVersion(), self.deviceInfo, usb2Mode=self.conf.args.usbSpeed == "usb2")
Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

This whole step took a little while to give me that error message, 1.5 mins.

I can ping the device:
bash-5.1$ ping 169.254.1.222
PING 169.254.1.222 (169.254.1.222): 56 data bytes
64 bytes from 169.254.1.222: icmp_seq=0 ttl=64 time=0.255 ms
64 bytes from 169.254.1.222: icmp_seq=1 ttl=64 time=0.308 ms
64 bytes from 169.254.1.222: icmp_seq=2 ttl=64 time=0.237 ms
64 bytes from 169.254.1.222: icmp_seq=3 ttl=64 time=0.233 ms

About my computer:
bash-5.1$ uname -a
Darwin Jimmys-Mini-2.home 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.63/RELEASE_X86_64 x86_64

macOS Big Sur version 11.6

Using a tp-link PoE injector Model TL-POE 150S Ver:4.0
All my lights are green and not blinking.

I've also tried this same Oak-D PoE device on my Jetson Xavier but I couldn't even get past
/depthai$ python3 install_requirements.py
so I wasn't really close there yet.

Any yes, I did try this:
https://discuss.luxonis.com/d/95-video-preview-window-fails-to-appear-on-macos
Didn't seem to do anything.

Thanks in advance for any help on this. Feels like I'm somewhat close.
Jim

Hello Jim,
what's your bootloader version? I believe there was a fix in newer versions of bootloader for device discoverability, so you should update the bootloader if you haven't already.
Thanks, Erik

    9 days later

    erik Thanks very much Erik. If update the bootloader means to flash the bootloader. Then I made a file called flash_bootloader.py with the following code:

    import depthai as dai
    (f, bl) = dai.DeviceBootloader.getFirstAvailableDevice()
    bootloader = dai.DeviceBootloader(bl)
    progress = lambda p : print(f'Flashing progress: {p*100:.1f}%')
    bootloader.flashBootloader(progress)

    bash-5.1$ python3 flash_bootloader.py
    Traceback (most recent call last):
    File "/Users/jimmyimac/depthai/flash_bootloader.py", line 3, in <module>
    bootloader = dai.DeviceBootloader(bl)
    RuntimeError: Device not in UNBOOTED, BOOTLOADER or FLASH_BOOTED state

    I don't know what state it's in, but again, I can ping it. It's trying to act semi-elusive.

    I tried all of the above after powering it down and then bring it back up. Pinging works but still get the above RuntimeError.

    Thanks in advance.

    • erik replied to this.
      5 days later