From: Grazvydas Ignotas Date: Mon, 21 May 2012 20:24:36 +0000 (+0300) Subject: op_bright: try to unblank on brightness keypress X-Git-Tag: sz_beta5~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10933fdc40f5ea67862b9f693639f4beafc59164;p=openpandora.oe.git op_bright: try to unblank on brightness keypress blind try to "fix" "pandora screen stays black" issue --- diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 593cfbc..3ac89e2 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" DEPENDS = "zenity dbus" RDEPENDS = "zenity dbus" -PR = "r96" +PR = "r97" SRC_URI = " \ file://op_paths.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_bright_up.sh b/recipes/pandora-system/pandora-scripts/op_bright_up.sh index 42e6575..15a556e 100644 --- a/recipes/pandora-system/pandora-scripts/op_bright_up.sh +++ b/recipes/pandora-system/pandora-scripts/op_bright_up.sh @@ -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