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
rc.pandora-state: Now puts a "Yes" into /tmp/nocleanwarn if the system has not shutdo...
[openpandora.oe.git]
/
recipes
/
pandora-system
/
pandora-state
/
rc.pandora-state
diff --git
a/recipes/pandora-system/pandora-state/rc.pandora-state
b/recipes/pandora-system/pandora-state/rc.pandora-state
index
e5729fc
..
7fd1de4
100644
(file)
--- a/
recipes/pandora-system/pandora-state/rc.pandora-state
+++ b/
recipes/pandora-system/pandora-state/rc.pandora-state
@@
-53,10
+53,10
@@
d_start() {
if [ -f /etc/pandora/shutdown ]; then
rm /etc/pandora/shutdown
sync
if [ -f /etc/pandora/shutdown ]; then
rm /etc/pandora/shutdown
sync
- echo $cpuspeed > /proc/pandora/cpu_mhz_max
+ /usr/pandora/scripts/op_cpuspeed.sh -n $cpuspeed
else
echo "No clean shutdown - will not set CPU speed"
else
echo "No clean shutdown - will not set CPU speed"
-
touch
/tmp/nocleanwarn
+
echo "Yes" >
/tmp/nocleanwarn
fi
sed -n '1p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mode
sed -n '2p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mouse_sensitivity
fi
sed -n '1p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mode
sed -n '2p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mouse_sensitivity
@@
-73,6
+73,11
@@
d_start() {
echo "Enabling ZRAM Swap"
mkswap /dev/zram0
swapon -p 5 /dev/zram0
echo "Enabling ZRAM Swap"
mkswap /dev/zram0
swapon -p 5 /dev/zram0
+
+ # set audio powerdown delay (ms)
+ if [ -e /sys/devices/platform/soc-audio/PCM1773/pmdown_time ]; then
+ echo 60000 > /sys/devices/platform/soc-audio/PCM1773/pmdown_time
+ fi
}
case "$1" in
}
case "$1" in