View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#112
For everyone, who want to have camera indicator red led disabled for good (persistent through reboots), but we're too shy to ask

1. Create (as root) a text file (called, for example, 'custom') in /etc/event.d/

2. Paste this content into Your 'custom' file:
Code:
description ''custom''
start on started hildon-desktop
stop on starting shutdown
console none
service

script

echo 1 >/sys/class/i2c-adapter/i2c-2/2-0030/disable_indicator_led

end script
3. At the end, You should have a file: /etc/event.d/custom containing content from point 2. You're done - now, Your indicator led will be disabled for good, unless You enable it manually, via changing sys entry to 0 via hand, during runtime. Even still, after next reboot, indicator led will be disabled again.
---

To undo, just delete /etc/event.d/custom (as root: rm /etc/event.d/custom)

/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 18 Users Say Thank You to Estel For This Useful Post: