mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
rgnano: Sleep timer and idle poweroff support
Actually power off the handheld with the sleep timer and idle poweroff functions instead of closing rockbox. This commit also moves setting system volume to max from the launch script to system-sdl.c so it works when running rockbox via instant play. Change-Id: I174b67c6abef451faa05f4a8f52b8d9eeed98a22
This commit is contained in:
parent
5ecb5832e1
commit
c9e16e4888
6 changed files with 38 additions and 28 deletions
|
|
@ -1,6 +1,5 @@
|
|||
# .cfg file created by rockbox c145f41658-250621 - http://www.rockbox.org
|
||||
|
||||
idle poweroff: 0
|
||||
font: /FunKey/.rockbox/fonts/16-GNU-Unifont.fnt
|
||||
database scan paths: /Music
|
||||
qs top: brightness
|
||||
|
|
|
|||
|
|
@ -39,9 +39,6 @@ if [ ! -f $CFGFILE ]; then
|
|||
cp ./config.cfg $CFGFILE
|
||||
fi
|
||||
|
||||
# Set volume to max with amixer so it's not permanent
|
||||
amixer -q sset 'Headphone' 63 unmute
|
||||
|
||||
# Need to send SIGUSR1 to the rockbox process for instant play support
|
||||
trap _send_sigusr1 SIGUSR1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue