op_bright: try to unblank on brightness keypress
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 21 May 2012 20:24:36 +0000 (23:24 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 21 May 2012 20:24:36 +0000 (23:24 +0300)
blind try to "fix" "pandora screen stays black" issue

recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_bright_up.sh

index 593cfbc..3ac89e2 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r96"
+PR = "r97"
 
 SRC_URI = " \
           file://op_paths.sh \
index 42e6575..15a556e 100644 (file)
@@ -23,4 +23,7 @@ if [ "$new" -gt "$max" ]; then
    new=$max
 fi
 
+# make sure we are not blanking (sometimes screensaver fails to unblank?)
+echo 0 > /sys/class/graphics/fb0/blank
+
 echo $new > $SYSFS_BACKLIGHT_BRIGHTNESS