Rockbox

Tasklist

FS#10066 - Sansa AMS bootloader hold switch detection

Attached to Project: Rockbox
Opened by Michael Chicoine (mc2739) - Sunday, 29 March 2009, 02:14 GMT
Last edited by Mustapha Senhaji (DrMoos) - Friday, 10 April 2009, 22:29 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch adds hold switch detection to the Sansa AMS bootloader. With this patch installed, the bootloader will display:

Hold switch on
Shutting down...

and then power off the DAP.
This task depends upon

Closed by  Mustapha Senhaji (DrMoos)
Friday, 10 April 2009, 22:29 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed as r20681. Many thanks!
Comment by Rafaël Carré (funman) - Monday, 30 March 2009, 12:25 GMT
sorry but what's the aim ?
Comment by Michael Chicoine (mc2739) - Monday, 30 March 2009, 13:20 GMT
The main reason would be to prevent accidental power on while the DAP is in your pocket which could drain the battery. This is also consistent with other bootloaders and OF.
Comment by Rafaël Carré (funman) - Tuesday, 31 March 2009, 13:56 GMT
ok -- I found it a bit weird because Fuze & Clip can not be powered on while hold is on (it's the same button) ;)
Comment by Rafaël Carré (funman) - Thursday, 09 April 2009, 15:18 GMT
Perhaps this should be ifdefed for Fuze & Clip ? (I don't know how hold & power button are mixed on other models)
Comment by Michael Chicoine (mc2739) - Friday, 10 April 2009, 21:04 GMT
Here is a new patch with Fuze & Clip excluded.

Loading...