Permalink
Browse files

anzu: disabled light sensor untill proper fix

  • Loading branch information...
1 parent 3d8f77a commit 2b7383f75880d33bf577ba5a3c4fd1d313768711 @freexperia freexperia committed May 22, 2012
Showing with 7 additions and 3 deletions.
  1. +4 −0 overlay/frameworks/base/core/res/res/values/config.xml
  2. +3 −3 prebuilt/hw_config.sh
@@ -23,6 +23,10 @@
<bool name="config_animateScreenLights">false</bool>
+ <!-- Flag indicating whether we should enable the automatic brightness in Settings.
+ config_hardware_automatic_brightness_available is not set, so we will use software implementation -->
+ <bool name="config_automatic_brightness_available">false</bool>
+
<!-- The duration (in milliseconds) that the radio will scan for a signal
when there's no network connection. If the scan doesn't timeout, use zero -->
<integer name="config_radioScanningTimeout">1</integer>
View
@@ -49,9 +49,9 @@ echo $val_filter > $dev/filter # RFilter. Valid range is 0 - 3.
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
-echo 2,127,1,130,130,2,2 > $dev/button-backlight/als/curve # ALS curve for group2
-echo 2,127,1,130,130,2,2 > $dev/keyboard-backlight/als/curve # ALS curve for group2
-echo 1,1,1,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
+echo 0,0,0,0,0,0,0 > $dev/button-backlight/als/curve # ALS curve for group2
+echo 0,0,0,0,0,0,0 > $dev/keyboard-backlight/als/curve # ALS curve for group2
+echo 0,0,0,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 0 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h

0 comments on commit 2b7383f

Please sign in to comment.