View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#113
Originally Posted by Estel View Post
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
GJ estel.

FMG, my batterylife is to the max. I get ~ 2-3 days with small use.

perhaps chmod a+x it?

Thank you all devs who made this possible.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following User Says Thank You to vi_ For This Useful Post: