From 10933fdc40f5ea67862b9f693639f4beafc59164 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Mon, 21 May 2012 23:24:36 +0300 Subject: [PATCH] op_bright: try to unblank on brightness keypress blind try to "fix" "pandora screen stays black" issue --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_bright_up.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5