• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Bootloader
  • Assigned To No-one
  • Operating System Another
  • Severity Low
  • Priority Very Low
  • Reported Version Version 3.1
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by mc2739 - 2009-03-29
Last edited by DrMoos - 2009-04-10

FS#10066 - Sansa AMS bootloader hold switch detection

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.

Closed by  DrMoos
2009-04-10 22:29
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Committed as r20681. Many thanks!

sorry but what’s the aim ?

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.

ok – I found it a bit weird because Fuze & Clip can not be powered on while hold is on (it’s the same button) ;)

Perhaps this should be ifdefed for Fuze & Clip ? (I don’t know how hold & power button are mixed on other models)

Here is a new patch with Fuze & Clip excluded.


Available keyboard shortcuts


Task Details

Task Editing