FS#705 - Pseudo power on button lock.

Attached to Project: Rockbox
Opened by Casey Dill (caseydill) - Thursday, 09 January 2003, 20:33 GMT
Last edited by Marc Guay (Marc_Guay) - Friday, 30 January 2009, 17:18 GMT
Task Type Feature Requests
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The hardware does not allow for a true power on button
lockout. But would it be possible for a “pseudo” power
on button lockout. Here is the way I see it working.
When the feature is turned on, as soon as the firmware
starts (say from the on button getting accidentally
bumped) , it would look for another button being pressed
(say f1) or will require you to press a button within a
short countdown time. Otherwise, the unit will
automatically turn off.

if $keylock_btn pressed then
for counter=3 to 1 step -1
print "Power off in $counter seconds. Press
$keylock to abort"
pause 1 second
if $keylock_btn pressed then

This task depends upon

Closed by  Björn Stenberg (zagor)
Friday, 30 January 2009, 17:18 GMT
Reason for closing:  Invalid
Additional comments about closing:  Closing all feature requests.
Comment by Casey Dill (caseydill) - Thursday, 09 January 2003, 20:44 GMT

exit counter
next $counter
if $poweron = flase then
Comment by Axel Berger (axel-berger) - Saturday, 11 March 2006, 03:59 GMT
Is there a reason why this has not been taken up? Inadvertant switching on while in the bag during the day is something that happens far too often with mine.
Comment by Marc-André Turcotte (matmat07) - Tuesday, 18 December 2007, 14:07 GMT
I know there is an option so your mp3 player turns off after a while if no button have been pressed. Maybe that's the reason.