Skip to content

Remove references to cam1 when setting camera dtoverlays as it doesn'… #4088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Raspberry Pi OS recognises the following overlays in `/boot/firmware/config.txt`

To use one of these overlays, you must disable automatic camera detection. To disable automatic detection, set `camera_auto_detect=0` in `/boot/firmware/config.txt`. If `config.txt` already contains a line assigning an `camera_auto_detect` value, change the value to `0`. Reboot your Raspberry Pi with `sudo reboot` to load your changes.

If your Raspberry Pi has two camera connectors (Raspberry Pi 5 or one of the Compute Modules, for example), then you can specify which one you are referring to by adding `,cam0` or `,cam1` (don't add any spaces) to the `dtoverlay` that you used from the table above. If you do not add either of these, it will default to checking camera connector 1 (`cam1`). But note that for official Raspberry Pi camera modules, auto-detection will correctly identify all the cameras connected to your device.
If your Raspberry Pi has two camera connectors (Raspberry Pi 5 or one of the Compute Modules, for example), then you can specify the use of camera connector 0 by adding `,cam0` to the `dtoverlay` that you used from the table above. If you do not add this, it will default to checking camera connector 1. Note that for official Raspberry Pi camera modules connected to SBCs (not Compute Modules), auto-detection will correctly identify all the cameras connected to your device.

[[tuning-files]]
==== Tweak camera behaviour with tuning files
Expand Down
10 changes: 5 additions & 5 deletions documentation/asciidoc/computers/compute-module/cmio-camera.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ dtparam=cam1_reg
| directive

| v1 camera
| `dtoverlay=ov5647,cam1`
| `dtoverlay=ov5647`

| v2 camera
| `dtoverlay=imx219,cam1`
| `dtoverlay=imx219`

| v3 camera
| `dtoverlay=imx708,cam1`
| `dtoverlay=imx708`

| HQ camera
| `dtoverlay=imx477,cam1`
| `dtoverlay=imx477`

| GS camera
| `dtoverlay=imx296,cam1`
| `dtoverlay=imx296`
|===

. Reboot your Compute Module with `sudo reboot`.
Expand Down
Loading