Installation ToF camera fails on Bookworm (Could not open device node /dev/video0)

  1. Where did you get the camera module(s)?
    SOS Solutions Netherlands

  2. Model number of the product(s)?
    Arducam ToF camera Rev. B

  3. What hardware/platform were you working on?
    Raspberry Pi 4B 4Gb

  4. Instructions you have followed. (link/manual/etc.)
    according to website/pdf/github

  5. Problems you were having?
    Error after installation:
    open WARNING Could not open device node /dev/video0. Please check for permissions.
    initialization failed

  6. The dmesg log from your hardware?
    Happy to provide if needed.

  7. Troubleshooting attempts you’ve made?
    To exclude HW issues I re - inserted Buster OS, than it worked fine, so no defect camera. So it must be the settings or Bookworm OS specifics, not sure where to start. See below for result of ls /dev/video*

  8. What help do you need?
    Please provide a solution for the initialisation problem in Bookworm 64 bit.

If I check with ls /dev/video* I get:
/dev/video10 /dev/video13 /dev/video16 /dev/video20 /dev/video23
/dev/video11 /dev/video14 /dev/video18 /dev/video21 /dev/video31
/dev/video12 /dev/video15 /dev/video19 /dev/video22

I used a fresh install of Bookworm 64 bit, I commented camera_auto_detect=0 out. So config.txt setting seems to be the same as with Buster (the working version).

1 Like

I have the same problem also on Bookworm 64 bit. Hopefully Arducam will fix this ASAP because Bookworm is the default and recommended OS on Raspberry Pi since October 2023. I have not dug any deeper into the errors or the install scripts (nor should we have to).

The other issue is Python support. As of Bookworm it is more or less mandatory to use virtual environments and not install Python dependencies system wide. I tried running the script “” which also reported errors.
E: Package ‘libcblas-dev’ has no installation candidate.
E: Unable to locate package libjasper-dev.
E: Package ‘libqtgui4’ has no installation candidate.
E: Unable to locate package libqt4-test
error: externally-managed-environment
For more information visit Raspberry Pi Documentation - Raspberry Pi OS

Tof camera is not compatible with the Bookworm OS for now.