Camera Not Detected
Solutions for camera detection and image quality issues.
Camera Not in /dev/video*
Symptoms
ls /dev/video*
# No output or missing device
Solutions
-
Check Physical Connection
- MIPI cable firmly seated
- Correct orientation
- No bent pins
-
Verify Camera Setup Script
# Run appropriate setup/usr/bin/setup_imx678_sdr.sh# or/usr/bin/setup_imx334.sh -
Check Kernel Messages
dmesg | grep -i cameradmesg | grep -i imx -
Reload Driver
rmmod imx678 # or your sensor drivermodprobe imx678
Sensor Initialization Errors
Symptoms
imx678 1-001a: failed to read chip revision
Solutions
-
Check Compatible Sensor
- Verify sensor model
- Check driver support
-
Power Cycle
- Full power off
- Wait 10 seconds
- Power on
-
Check I2C Bus
i2cdetect -y 1# Should show sensor at address 0x1a
Image Corruption/Artifacts
Symptoms
- Image tearing
- Color artifacts
- Random noise
Solutions
-
Check MIPI Signal
- Shorter cable if possible
- Higher quality cable
- Check for interference
-
Verify Clock Settings
v4l2-ctl -d /dev/video0 -l | grep clock -
Reduce Resolution
- Try lower resolution first
- Check sensor limits
Dark Image / Poor Exposure
Symptoms
- Image too dark
- Washed out colors
- Motion blur
Solutions
-
Remove Lens Cap
- Check lens cover is off
-
Verify AE is Enabled
v4l2-ctl -d /dev/video0 -C exposurev4l2-ctl -d /dev/video0 -c exposure_auto=1 -
Check Exposure Windows
# Set full frame exposurev4l2-ctl -d /dev/video0 -c exposure_absolute=1000
HDR Mode Not Working
Symptoms
- HDR enabled but no effect
- Image still has blown highlights
- Sensor errors in dmesg
Solutions
-
Verify Sensor Supports HDR
- IMX678 supports 2-DOL/3-DOL
- Check sensor datasheet
-
Enable HDR in Pipeline
# Check frontend configcat /usr/bin/frontend_config.json | grep -i hdr
Quick Diagnostic Commands
# List video devices
ls -la /dev/video*
# Check camera info
v4l2-ctl -d /dev/video0 --list-formats-ext
# Check controls
v4l2-ctl -d /dev/video0 -l
# Test capture
v4l2-ctl -d /dev/video0 --stream-mmap --stream-count=1 --stream-to=test.raw
# Check kernel messages
dmesg | grep -i imx