Thread
:
n900 Camera red light - ways to disable?
View Single Post
maacruz
2011-10-10 , 22:51
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#
55
Problem solved.
Here I provide a module for the nokia kernel (adp1653-kernel-pr13.zip) and another one for kernel-power (adp1653-kernel-kp49.zip).
To test the new module, decompress the zip corresponding to your kernel, and to load it type the following sequence as root in the directory where you extracted the module
Code:
stop omap3camd0 rmmod adp1653 insmod adp1653.ko start omap3camd0
To disable the red light, type as root: echo 1 >/sys/class/i2c-adapter/i2c-2/2-0030/disable_indicator_led
To enable it, write a 0. It's enabled by default.
To definitely install it, put the module where it belongs (/lib/modules/2.6.28.....)
Attached Files
adp1653-kernel-kp49.zip
(3.1 KB, 395 views)
disable_indicator_led.patch.gz
(1.1 KB, 213 views)
adp1653-kernel-pr13.zip
(3.1 KB, 321 views)
Last edited by maacruz; 2011-10-23 at
16:58
. Reason: Fixed PR1.3 build
Quote & Reply
|
The Following 8 Users Say Thank You to maacruz For This Useful Post:
bingomion
,
don_falcone
,
ed_boner
,
Hurrian
,
LightRain
,
nicholes
,
The Winter
,
xes
maacruz
View Public Profile
Send a private message to maacruz
Find all posts by maacruz