git.openpandora.org
/
openpandora.oe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
op_lcdsettings: don't unconditionally disable screen blanking
[openpandora.oe.git]
/
recipes
/
pandora-system
/
pandora-scripts
/
op_bright_up.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
(file)
--- 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