FS#10159 - Sansa AMS reboot on USB insert

Attached to Project: Rockbox
Opened by Michael Chicoine (mc2739) - Wednesday, 22 April 2009, 04:34 GMT
Last edited by Rafaël Carré (funman) - Tuesday, 12 May 2009, 13:06 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Version 3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Currently, the Sansa AMS devices will only display the USB logo when you insert the USB cable. This patch will force a system reboot when the USB cable is inserted. The charging mode (holding select while inserting cable) is not affected by this patch.

This is just a convenience patch to be used until work on the USB stack has progressed.
This task depends upon

Closed by  Rafaël Carré (funman)
Tuesday, 12 May 2009, 13:06 GMT
Reason for closing:  Invalid
Comment by Frank Gevaerts (fg) - Wednesday, 22 April 2009, 08:22 GMT
This is the wrong way to do this. Defining HAVE_USBSTACK and not defining USE_ROCKBOX_USB should be the proper way to do this.