Rockbox

Tasklist

FS#10696 - connecting iTrip Auto causes switch to original firmware

Attached to Project: Rockbox
Opened by Matt Behrens (mattbehrens) - Tuesday, 20 October 2009, 13:25 GMT
Last edited by Frank Gevaerts (fg) - Thursday, 17 December 2009, 23:20 GMT
Task Type Bugs
Category Bootloader
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Player: Sansa Fuze V1
Build: r23283-091019
Bootloader: created by rbutil from Sansa OF 01.02.26

I have one of these guys here for car listening:

http://www.griffintechnology.com/products/itripautosansa/

Problem is that when I connect it, whether the Fuze is powered off or Rockbox is already running, I get booted into the OF as if I had connected a USB cable. The OF, however, does not try to start USB mode, instead booting normally (except it doesn't, because I have some files that overrun the OF's tag reading code... but that's another problem entirely) ;)

When using OF, the iTrip Auto will start the Fuze normally.

The iTrip Auto provides both charging and a line-out connection.
This task depends upon

Closed by  Frank Gevaerts (fg)
Thursday, 17 December 2009, 23:20 GMT
Reason for closing:  Not a Bug
Comment by MichaelGiacomelli (saratoga) - Tuesday, 20 October 2009, 15:46 GMT Comment by Matt Behrens (mattbehrens) - Tuesday, 20 October 2009, 16:07 GMT
Sort of. (I was actually just coming back to report the results of testing this :) Sorry I missed it before I opened the bug.)

It doesn't seem to do anything if I'm plugging it into a turned-off Fuze; OF still boots.

It does seem to work (as in, not switch to OF) if Rockbox is already booted, but I'm not getting any sound output. Probably not outputting over line-out, I'm guessing.
Comment by Michael Chicoine (mc2739) - Wednesday, 21 October 2009, 00:53 GMT
I do not think there has been any work done on getting line out working on the Fuze, or any of the other Sansa AMS models. This may be due to lack of docking accessories among the developers. If you would care to dive in to the source, it might help to get accessory support come about sooner.
Comment by Matt Behrens (mattbehrens) - Wednesday, 21 October 2009, 12:45 GMT
I think maybe there are two issues here and I should perhaps open another task, with line-out being an enhancement request. (Maybe this is an enhancement request, too?)

#1: Connecting either the iTrip *or* the standard USB cable (just verified this morning) if the Fuze is turned off will boot OF. Holding Select does not boot Rockbox in this case. Select only works if Rockbox is already running. So this seems like either a bootloader bug or enhancement request, I don't know which?

I would help, but as I'm a Rockbox neophyte, I don't really feel comfortable diving into the bootloader.

#2: Line-out does not work with accessories. I can open another task for this. I am willing to see what I can do to code this, but I can't promise I'll get anywhere or soon as I'm really a low-level kind of guy.
Comment by Michael Chicoine (mc2739) - Wednesday, 21 October 2009, 13:11 GMT
#1 is standard operation for this platform until USB is fully implemented. If you want to use Rockbox with your dock, you must boot into Rockbox first and then press the select button while connecting to your dock. If the dock supplies power when the car is started, then you could power up the player in the dock before starting the car and press select while starting.

#2 You can open another task for this if you plan to work on it and have a patch available for testing. Since line out is an unimplemented feature, please do not open a bug report. If you just want a feature request for line out, the "Feature Ideas" section on the forum would be the proper place to post.
Comment by Matt Behrens (mattbehrens) - Wednesday, 21 October 2009, 14:01 GMT
Allright, well, I suppose we can close this out then. I had a look at dualboot.S to see how possible it might be to patch #1 in; it looks possible, but there are a few things I don't understand about how to scan for other keys—that and I'm generally squeamish about playing with the bootloader, as I mentioned.
Comment by Michael Chicoine (mc2739) - Wednesday, 21 October 2009, 14:39 GMT
Although it is possible to modify the bootloader, it is highly discouraged. A malfunctioning bootloader can brick your Fuze, and the Fuze does not have any known recovery method.
Comment by MichaelGiacomelli (saratoga) - Wednesday, 21 October 2009, 15:44 GMT
Do any of the GPIO pins in the debug menu change when you plug in the dock? Would be interesting to know if theres a way to detect it separately from an AC adapter.
Comment by Matt Behrens (mattbehrens) - Wednesday, 21 October 2009, 16:24 GMT
Not by GPIO, it seems. GPIOA changes from E2 to EA on both the official USB cable and the iTrip.

Loading...