View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1093
kernel-power have sysfs entry allowing to *completely* disable red "privacy" led, no matter of circumstances (so, it won't work, even when application try to light up this led explicitly, like Lanterne for it night-vision friendly torch):

Code:
echo 1 >/sys/class/i2c-adapter/i2c-2/2-0030/disable_indicator_led
Remember, you need Pali's kernel-power (in reasonably recent version, like not something 2 years old) for it to work, and it reset itself on reboot. Personally, I've this one-liner as script inside /etc/event.d/, so it sets itself automatically on every boot.

As for flash led, there is an option to disable it in camera-ui preferences - those two things combined worked for me in otherwise risky situations, but, in life-threatening ones, mechanical methods - like sticking it with tape - might be the most reliable thing.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 7 Users Say Thank You to Estel For This Useful Post: