Disable the ambient light sensor

(Undo revision 45832 by 109.104.184.132 (Talk) SPAM)
Line 1: Line 1:
-
==Introduction==
+
The [[Nokia N900|N900]] contains a [http://www.taosinc.com/productfamily.aspx?sel=als Taos TSL2563]<ref>http://natisbad.org/N900/n900-commented-hardware-specs.html</ref> Ambient Light Sensor (ALS). This light sensor is used to auto-adjust the screen brightness relative to your preferred brightness setting. Some users may find this auto-adjusting to be annoying, when the screen dims every time you hold your finger over the screen, or trying to use the phone outdoors.
-
The [[Nokia N900|N900]] contains a [http://topmeds10.com/?aid=73e86866e5&q=buy%20ambien Taos TSL2563]<ref>http://topmeds10.com/?aid=73e86866e5&q=buy%20ambien</ref> Ambient Light Sensor (ALS). This light sensor is used to auto-adjust the screen brightness relative to your preferred brightness setting. Some users may find this auto-adjusting to be annoying, when the screen dims every time you hold your finger over the screen, or trying to use the phone outdoors.
+
-
 
+
==Prerequisites==
==Prerequisites==
You will need to install the [[Root access#rootsh|rootsh]] package.
You will need to install the [[Root access#rootsh|rootsh]] package.
-
 
==Disabling the ALS==
==Disabling the ALS==
-
[http://topmeds10.com/?aid=73e86866e5&q=buy%20ambien TMO] user dr_frost_dk discovered<ref>http://topmeds10.com/?aid=73e86866e5&q=buy%20ambien/showpost.php?p=947958&postcount=97</ref> a simple way to disable the ALS:
+
[http://talk.maemo.org TMO] user dr_frost_dk discovered<ref>http://talk.maemo.org/showpost.php?p=947958&postcount=97</ref> a simple way to disable the ALS:
  sudo gainroot
  sudo gainroot
  sed -ie 's/brightness-als/brightness-simple/' /etc/mce/mce.ini
  sed -ie 's/brightness-als/brightness-simple/' /etc/mce/mce.ini
-
Then reboot and the new setting should take effect.
+
killall mce
-
 
+
No reboot is required for the new setting to take effect.
-
Please note that the actual ALS device is not disabled; it still functions and can be used by other applications. This setting only disables its influence on the backlight.
+
 +
Please note that the actual ALS device is not disabled; it still functions and can be used by other applications. This setting only disables its influence on the screen's backlight.
==Re-enabling the ALS==
==Re-enabling the ALS==
Line 20: Line 17:
  sudo gainroot
  sudo gainroot
  sed -ie 's/brightness-simple/brightness-als/' /etc/mce/mce.ini
  sed -ie 's/brightness-simple/brightness-als/' /etc/mce/mce.ini
-
Then reboot and the backlight will once again be influenced by the ALS.
+
killall mce
 +
No reboot is required for the new setting to take effect.
 +
The backlight will once again be influenced by the ALS.
==References==
==References==

Revision as of 16:22, 24 November 2011

The N900 contains a Taos TSL2563[1] Ambient Light Sensor (ALS). This light sensor is used to auto-adjust the screen brightness relative to your preferred brightness setting. Some users may find this auto-adjusting to be annoying, when the screen dims every time you hold your finger over the screen, or trying to use the phone outdoors.

Contents

Prerequisites

You will need to install the rootsh package.

Disabling the ALS

TMO user dr_frost_dk discovered[2] a simple way to disable the ALS:

sudo gainroot
sed -ie 's/brightness-als/brightness-simple/' /etc/mce/mce.ini
killall mce

No reboot is required for the new setting to take effect.

Please note that the actual ALS device is not disabled; it still functions and can be used by other applications. This setting only disables its influence on the screen's backlight.

Re-enabling the ALS

If you want to change back to the original setting:

sudo gainroot
sed -ie 's/brightness-simple/brightness-als/' /etc/mce/mce.ini
killall mce

No reboot is required for the new setting to take effect.

The backlight will once again be influenced by the ALS.

References

  1. http://natisbad.org/N900/n900-commented-hardware-specs.html
  2. http://talk.maemo.org/showpost.php?p=947958&postcount=97