• DepthAI-v2
  • Using Luxonis preped RPI OS images (V10)

Hi all,

I am having some problems with the RPI OS images prepared by Luxonis for my OAK-D CM4 PoE.

I had some troubles with the communcations from the internal CM4 module to the RCV2.

When I execute python3 -c "import depthai; print(depthai.Device.getAllAvailableDevices())" it returns nothing [] . But I expected the something related to the RCV2 device.

I tried a few things but ended up flashing the CM4 with a fresh image found in this documentation: https://docs.luxonis.com/hardware/platform/deploy/to-rpi/ I downloaded V10 from the drives link: https://drive.google.com/drive/folders/1O50jPpGj_82jkAokdrsG--k9OBQfMXK5?usp=sharing .

With the fresh image communication worked again. But when I did an sudo apt update and sudo apt upgrade a reboot followed by an sudo apt autoremove which suggested to remove the following components. The following packages were automatically installed and are no longer required: chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra libcamera-apps libcamera0.1 libpisp0.0.1 libssl1.1 libwpe-1.0-1 libwpebackend-fdo-1.0-1 linux-headers-6.1.0-13-arm64 linux-headers-6.1.0-13-common qml-module-qtgraphicaleffects Use 'sudo apt autoremove' to remove them. The following packages have been kept back: arandr lxinput raspberrypi-ui-mods raspi-utils wf-panel-pi

a full power cycle later the connection to the RCV2 was again broken. Now my question is did the autoremove delete some components that are needed by the DepthAI library or am I not supposed to use the apt update and upgrade commands on this image?

    legow00
    What does lsusb out give you? Make sure jumper for USBBOOT is set to DIS.

    Thanks,
    Jaka

    5 days later

    Hi @jakaskerl,

    lsusb gives me Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub The jumper is in the DIS position. Sorry for my late response.

    When I do lsusb with a fresh image I get:

    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 002: ID 03e7:2485 Intel Movidius MyriadX

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      legow00

      legow00 Bus 001 Device 002: ID 03e7:2485 Intel Movidius MyriadX

      Good, the OAK-SOM is discoverable physically. Try python3 -c "import depthai; print(depthai.Device.getAllConnectedDevices())"

      Thanks
      Jaka