FS#6866 - e200: usb detection in bootloader, and disable db rebuild on usb OF start

Attached to Project: Rockbox
Opened by Jonathan Gordon (jdgordon) - Tuesday, 20 March 2007, 13:27 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System Sansa e200
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This does a check for usb on boot, and if its connected it will start the OF.
If the OF is starting and its because of usb, disable its database rebuild. Requires hard coded version strings and locations...

Doesn't break the h10 compiling...
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Friday, 23 March 2007, 05:07 GMT
Reason for closing:  Accepted
Comment by Paul Louden (Llorean) - Tuesday, 20 March 2007, 16:40 GMT
Just as a note, the Sansas power on when you connect USB. If you make Rockbox on Sansa shut down on USB insert (instead of just showing the USB logo), and combine it with this patch, you get a USB mode very much like the iPods have, considering the Sansa firmware will restart itself (sending you back to Rockbox) when you disconnect USB and have Rockbox installed.
Comment by Barry Wardell (barrywardell) - Wednesday, 21 March 2007, 01:26 GMT
My main problem with this patch is that the current USB detection sometimes breaks the USB on my Mac, requiring me to restart. Otherwise, I think it would be very useful.
Comment by Dagni McPhee (donutman25) - Wednesday, 21 March 2007, 21:54 GMT
I cant get this to patch successfully into newer builds. Can you fix this please?
Comment by Dagni McPhee (donutman25) - Friday, 23 March 2007, 05:05 GMT
nevermind. it got added to svn