git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02c52cd
)
op_power.sh: Change low power speed to 125MHz. Should be enough for
author
Michael Mrozek
<EvilDragon@openpandora.de>
Wed, 8 Sep 2010 00:10:38 +0000
(
02:10
+0200)
committer
Michael Mrozek
<EvilDragon@openpandora.de>
Wed, 8 Sep 2010 00:10:38 +0000
(
02:10
+0200)
services and goes down to lowest OPP level.
testdata/scripts/op_power.sh
patch
|
blob
|
history
diff --git
a/testdata/scripts/op_power.sh
b/testdata/scripts/op_power.sh
index
4b26b55
..
b5ce213
100755
(executable)
--- a/
testdata/scripts/op_power.sh
+++ b/
testdata/scripts/op_power.sh
@@
-69,7
+69,7
@@
if [ "$1" -le "2" ]; then # button was pressed 1-2sec, "suspend"
echo 0 > /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/brightness
echo 1 > /sys/devices/platform/omapfb/graphics/fb0/blank
echo 16 > /sys/class/leds/pandora\:\:power/brightness #dim power LED
- echo 1
4
> /proc/pandora/cpu_mhz_max
+ echo 1
25
> /proc/pandora/cpu_mhz_max
fi
elif [ "$1" -ge "3" ]; then #button was pressed 3 sec or longer, shutdown
xfceuser=$(ps u -C xfce4-session | tail -n1 | awk '{print $1}')