bigtreetech / bigtreetech/CB2

Raspberry Pi Camera v2.1 not working

Open
#37 36 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
149
Forks
19
PR merge metrics
No merged PRs in 30d

Description

I have a Raspberry Pi Camera v2.1 that I have confirmed works on a Raspberry Pi 4. When I connect it to my BTT Pi 2 however it does not work.

Here are the details of my setup:
Installation image: 1.0.5
OS Version: BTT-CB2_1.0.5_Armbian 23.05.0-trunk Bullseye with Linux 4.19.232-bigtree-cb2
Camera Sensor: Sony Exmor IMX219

`i2cdetect -y 2` result:
![image](https://github.com/user-attachments/assets/324359c4-493b-4afa-bc52-3f589f88dda6)

`v4l2-ctl --list-devices` result:
![image](https://github.com/user-attachments/assets/cfce6bbc-2d73-4715-aacd-021a1906abec)

`v4l2-ctl -d /dev/video0 --set-fmt-video=width=640,height=480,pixelformat=NV12 --stream-mmap=3 --stream-skip=3 --stream-to=/usr/nv12.bin --stream-count=1 --stream-poll` result:
![image](https://github.com/user-attachments/assets/a178e9d8-4055-4358-9ef7-32a1b0837621)

checking `ls /dev/v4l/by-id/` and `ls /dev/v4l/by-path/` gives the following:
![image](https://github.com/user-attachments/assets/58be15bf-53c7-4e8a-b95f-998008fda382)

Is there anything else I can test to see what might be causing issues with the camera?
Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.