Thank you for your reply and the suggestion for a remote meeting.
I’m not fluent in English conversation, but I can chat using Google Translate. I live in Japan. I’m available anytime, as long as it’s not late at night.
I will describe my situation in detail below.
The ToF camera ribbon cable is plugged into “CAM/DISP 0”.
I made sure the ribbon cable’s metal contacts were properly connected to the metal inside the connector.
Using a multimeter, the voltage between GPIO pins 4 and 6 is 4.97V.
I performed the following steps immediately after installing the OS.
The OS version is as follows:
uname -a
Linux raspberrypi 6.12.75+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.75-1+rpt1~bookworm (2026-03-11) aarch64 GNU/Linux
The ToF camera software was installed as instructed on the official website, as follows:
git clone https://github.com/ArduCAM/Arducam_tof_camera.git
cd Arducam_tof_camera
./Install_dependencies.sh
./compile.sh
The contents of /boot/firmware/config.txt are as follows.
tail /boot/firmware/config.txt
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[cm5]
dtoverlay=dwc2,dr_mode=host
[all]
dtoverlay=arducam-pivariety
dtoverlay=arducam-pivariety,cam0
When I run the sample program, the preview window appears, but the preview image is completely black.
./build/example/cpp/preview_depth
[WARN] UVC: ioctl (-1069525443) failed: Inappropriate ioctl for device
[WARN] TOFCamera: Could not get current selection(subdev)
open camera with (240x180)
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0770 instead of 0700
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile