Skip to content
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

Camera Led not working #7045

Closed
mrfoxie opened this issue Apr 27, 2024 · 7 comments
Closed

Camera Led not working #7045

mrfoxie opened this issue Apr 27, 2024 · 7 comments

Comments

@mrfoxie
Copy link

mrfoxie commented Apr 27, 2024

Required Information

  • DietPi version
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=3
G_DIETPI_VERSION_RC=0
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
  • Kernel version
Linux Server 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux
  • SBC model Raspberry Pi 0 2W
  • Power supply used Raspberry Pi 12.5W Micro USB Power Supply
  • SD card used Sandisk 128GB Class A

I have attached Raspberry Pi Camera Module 2 but in that LED is not been turning on although i have turned it on from dietpi-config and the camera module, power supply, sdcard and pi is newly purchased

Screenshot_20240428_002442_Termux

@MichaIng
Copy link
Owner

MichaIng commented May 1, 2024

Did you reboot after changing the setting? If so, can you show the output of the following command:

vcgencmd get_config disable_camera_led

And just in case: You so see the camera actually recording with some software? The LED is intended to turn on only while recording.

@mrfoxie
Copy link
Author

mrfoxie commented May 1, 2024

Did you reboot after changing the setting? If so, can you show the output of the following command:

vcgencmd get_config disable_camera_led

And just in case: You so see the camera actually recording with some software? The LED is intended to turn on only while recording.

yes i rebooted my pi

[Server:~]                                         
[root]# vcgencmd get_config disable_camera_led
disable_camera_led=0

this is the result of output of the command and im using motioneye to record a video but nope not working

@MichaIng
Copy link
Owner

MichaIng commented May 1, 2024

Then I don't know either. Does it work with Bullseye (legacy) RPi OS? We are using the exact same kernel/firmware/bootloader, so whatever works in RPi OS should work in DietPi as well, and the other way round.

@mrfoxie
Copy link
Author

mrfoxie commented May 2, 2024

currently in mine it is bookworm does it affect in that?

root in ~ λ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"     NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"                            VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

@MichaIng
Copy link
Owner

Not Bullseye vs Bookworm is relevant, but whether the older raspberrypi-kernel kernel is used (which our images provide) or the newer raspi-firmware package stack, which still require some development our end to be nicely supported: #6676

In case of RPi OS, the "legacy" Bullseye images come with the old package stack, and RPi OS Bookworm with the new one. The Debian version itself is however generally independent of the underlying kernel/firmware.

@mrfoxie
Copy link
Author

mrfoxie commented May 14, 2024

okay no problem, than i will be buying raspberry pi 0 w then🥹😊

@mrfoxie mrfoxie closed this as completed May 14, 2024
@MichaIng
Copy link
Owner

Referencing your issue at the RPi firmware repo: raspberrypi/firmware#1890

Weird that there is an LED, if it is not controlled by any modern RPi, without this being documented anywhere. You could configure an own GPIO to control it, but quite a hassle for something that should implicitly work as a basic privacy feature of any camera, without the ability to manipulate it with custom GPIO, IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants