Am I right in thinking that since the last firmware update, you can no longer disable the LED by a line in config.txt?
Has the syntax changed or is this facility planed to be reinserted in a future release?
Thanks
Leo

It is GPIO 5. I've tried it out in a live Python environment and with the LED diabled in config.txt, toggling GPIO 5 switches the LED on and off at will. Matt "RaspberryPiSpy" Hawkins published a script earlier in the week. But even he has lost access to it with the update.znanev wrote:Yep, I updated this morning and lost control over the camera LED
I read somewhere in the forum that GPIO 5 controls this LED, but couldn't figure out how to set it to 0 from shell. I always get "Operation not permitted" when trying to write "0" to /sys/class/gpio/gpio5/value even though I'm logged in as root.
Anybody knows a software workaround until this gets fixed in the firmware? Taping over the LED is not an option for me...
Code: Select all
#!/usr/bin/env python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(5, GPIO.OUT, initial=False)Code: Select all
chmod +x disablecameraled.pyCode: Select all
raspivid -d -t 10000 & sudo ./disablecamled.py
dom wrote:Should be fixed with rpi-update firmware.

Stills are now higher resolution. We were previously incorrectly capturing 2Mpixel stills (rather than 5Mpixel).leol wrote:Thanks dom, works great now.
Has anything else changed? Still pictures seem sharper now, but could be just because the sun is shinning at last!
dom wrote:Still are now higher resolution. We were previously incorrectly capturing 2Mpixel stills (rather than 5Mpixel).leol wrote:Thanks dom, works great now.
Has anything else changed? Still pictures seem sharper now, but could be just because the sun is shinning at last!
http://www.raspberrypi.org/phpBB3/viewt ... 43&t=44879
Code: Select all
disable_camera_led=1Code: Select all
disable_camera_led=1
What model and revision of board are you using?littletinman wrote:does not work in Raspbian Jessie for me. Any alternatives to the python solution?Code: Select all
disable_camera_led=1
Code: Select all
Nov 18 2015 15:48:41
Copyright (c) 2012 Broadcom
version 0c9af7cde38e223c95c3404f468db8fc5004495c (clean) (release)Code: Select all
Linux piserver 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux