Hi everyone,
I'm having trouble with my IMX708 camera module on Raspberry Pi CM4. Here's my setup:
**Hardware:**
- Raspberry Pi CM4 (Compute Module 4)
- Waveshare CM4-IO-BASE-A board
- IMX708 camera module connected to CAM0 port
- Raspberry Pi OS Lite (Bookworm)
**Problem:**
The camera module is not being detected. Here's what I'm seeing:
```bash
$ vcgencmd get_camera
supported=0 detected=0, libcamera interfaces=0
$ rpicam-hello --list-cameras
No cameras available!
$ dmesg | grep imx708
[ 4.561575] imx708 10-001a: failed to read chip id 708, with error -5
[ 4.564095] imx708 10-001a: probe with driver imx708 failed with error -5
```
**What I've tried:**
1.
Enabled I2C interface:
```bash
echo 'dtparam=i2c_arm=on' | sudo tee -a /boot/firmware/config.txt
echo 'dtparam=i2c_vc=on' | sudo tee -a /boot/firmware/config.txt
sudo modprobe i2c-dev
sudo modprobe i2c-bcm2835
```
2.
I2C devices are available:
```bash
$ ls /dev/i2c*
/dev/i2c-0 /dev/i2c-1 /dev/i2c-10 /dev/i2c-20 /dev/i2c-21 /dev/i2c-22
```
3.
Camera configuration in config.txt:
```ini
[all]
dtoverlay=imx708,cam0
start_x=1
gpu_mem=128
camera_auto_detect=0
```
4.
I2C scan shows no device at address 0x1a:
```bash
$ i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- UU -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
```
**Questions:**
1. Is error -5 (I/O error) typically a hardware connection issue?
2. Should I see the IMX708 sensor at I2C address 0x1a on bus 0?
3. Are there any specific troubleshooting steps for CM4 camera module connections?
4. Could this be a power supply issue since CM4 gets power from Android phone via USB-C?
**Additional Info:**
- UVC gadget is working fine (g_webcam module loaded successfully)
- Other I2C buses (20, 21) show many devices, but no camera sensor
- Physical connection appears secure, but I can't verify the cable integrity
Any help would be greatly appreciated!
Thanks
I'm having trouble with my IMX708 camera module on Raspberry Pi CM4. Here's my setup:
**Hardware:**
- Raspberry Pi CM4 (Compute Module 4)
- Waveshare CM4-IO-BASE-A board
- IMX708 camera module connected to CAM0 port
- Raspberry Pi OS Lite (Bookworm)
**Problem:**
The camera module is not being detected. Here's what I'm seeing:
```bash
$ vcgencmd get_camera
supported=0 detected=0, libcamera interfaces=0
$ rpicam-hello --list-cameras
No cameras available!
$ dmesg | grep imx708
[ 4.561575] imx708 10-001a: failed to read chip id 708, with error -5
[ 4.564095] imx708 10-001a: probe with driver imx708 failed with error -5
```
**What I've tried:**
1.
```bash
echo 'dtparam=i2c_arm=on' | sudo tee -a /boot/firmware/config.txt
echo 'dtparam=i2c_vc=on' | sudo tee -a /boot/firmware/config.txt
sudo modprobe i2c-dev
sudo modprobe i2c-bcm2835
```
2.
```bash
$ ls /dev/i2c*
/dev/i2c-0 /dev/i2c-1 /dev/i2c-10 /dev/i2c-20 /dev/i2c-21 /dev/i2c-22
```
3.
```ini
[all]
dtoverlay=imx708,cam0
start_x=1
gpu_mem=128
camera_auto_detect=0
```
4.
```bash
$ i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- UU -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
```
**Questions:**
1. Is error -5 (I/O error) typically a hardware connection issue?
2. Should I see the IMX708 sensor at I2C address 0x1a on bus 0?
3. Are there any specific troubleshooting steps for CM4 camera module connections?
4. Could this be a power supply issue since CM4 gets power from Android phone via USB-C?
**Additional Info:**
- UVC gadget is working fine (g_webcam module loaded successfully)
- Other I2C buses (20, 21) show many devices, but no camera sensor
- Physical connection appears secure, but I can't verify the cable integrity
Any help would be greatly appreciated!
Thanks
Statistics: Posted by pluto94cokr — Mon Sep 15, 2025 4:55 pm — Replies 1 — Views 158