Support and General Use > Hardware
Fuze and Griffin Dock line out
saratoga:
--- Quote from: esm on December 03, 2011, 02:21:38 PM ---
--- Quote from: saratoga on December 03, 2011, 01:30:18 PM ---Booting into the original firmware is actually by design since USB is very unstable in rockbox on your player.
--- End quote ---
Understood. To clarify my earlier post, I don't necessarily want to boot in USB mass storage mode. I want Rockbox to detect the car adapter.
--- End quote ---
I don't think its possible to detect if its a charger or USB at that point. We're basically just patching the sandisk bootloader, so we have no hope of getting the USB controller working and checking if anything is listening on the wire. Once USB is working, this won't matter though, since we'll always boot into rockbox. On the Fuze v1 car adapter mode works fine for this reason.
--- Quote from: esm on December 03, 2011, 02:21:38 PM ---
--- Quote ---Regarding line out, I always thought it was detected by one of the dbop in pins
--- End quote ---
Will check those as soon as I have time. Thanks for the suggestion.
--- End quote ---
FWIW I don't remember if we have the fuzev2 setup to read from DBOP, but the fuze v1 does, so you could probably look at that. ITs not the same processor, but fairly similar.
esm:
--- Quote from: saratoga on December 03, 2011, 04:22:39 PM ---I don't think its possible to detect if its a charger or USB at that point. [...] we have no hope of getting the USB controller working and checking if anything is listening on the wire.
--- End quote ---
Oh. I interpret that as: the difference between the car adapter plug and the Fuze-to-computer plug is a protocol one, not a difference in the connectors themselves. Is that the case?
saratoga:
--- Quote from: esm on December 03, 2011, 04:49:43 PM ---
--- Quote from: saratoga on December 03, 2011, 04:22:39 PM ---I don't think its possible to detect if its a charger or USB at that point. [...] we have no hope of getting the USB controller working and checking if anything is listening on the wire.
--- End quote ---
Oh. I interpret that as: the difference between the car adapter plug and the Fuze-to-computer plug is a protocol one, not a difference in the connectors themselves. Is that the case?
--- End quote ---
I think all you have is a GPIO pin on the power supply line, and the USB controller. So short of powering up the USB controller and checking to see if its errored out while connecting, theres no good way to figure out if a voltage on the power line is from a charger or an actual USB host.
(At least I'm pretty sure. Its possible theres some way to get the usb controller or PMU ADC to measure an impedance or something across the USB data lines, but I don't recall seeing anything about that. Even if there is you probably can't safely access them from within the sandisk bootloader)
esm:
--- Quote from: saratoga on December 03, 2011, 05:05:24 PM ---[...] So short of powering up the USB controller and checking to see if its errored out while connecting, theres no good way to figure out if a voltage on the power line is from a charger or an actual USB host.
--- End quote ---
Foo. Okay... sounds like I was on a wild-goose chase. Thank you for setting me straight. I'll read up on the USB patch thread, see if there's something I can test or help with there.
saratoga:
--- Quote from: esm on December 03, 2011, 05:28:32 PM ---
--- Quote from: saratoga on December 03, 2011, 05:05:24 PM ---[...] So short of powering up the USB controller and checking to see if its errored out while connecting, theres no good way to figure out if a voltage on the power line is from a charger or an actual USB host.
--- End quote ---
Foo. Okay... sounds like I was on a wild-goose chase. Thank you for setting me straight. I'll read up on the USB patch thread, see if there's something I can test or help with there.
--- End quote ---
If you just want to use that adapter, its probably enough to disable booting to the OF on USB insertion (you can still do it manually with the button key), and then apply that patch to force line out on all the time.
That said if you're interested in figuring out how to autodetect line out, that would be great too.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version