Support and General Use > Hardware
Fuze and Griffin Dock line out
mc2739:
--- Quote from: Avalon on November 03, 2009, 04:18:29 PM ---Fuze not in dock:
GPIOA = E2
DBOP_DIN=8843
FUZE docked:
GPIOA = EA (bit 4 change)
DBOP_DIN=8A43
--- End quote ---
The GPIOA change is actually bit 3 and is the bit we currently use to detect the attachment of the USB cable. The DBOP_DIN bit is probably the one we need to look into further. That bit does not change upon attachment of the USB cable (at least on the e200v2 - most likely the Fuze is the same).
saratoga:
--- Quote from: Avalon on November 03, 2009, 04:18:29 PM ---First of all, thankyou very much for getting back to me.
I checked the View IO Ports Screen and found that the following changed:
Fuze not in dock:
GPIOA = E2
DBOP_DIN=8843
FUZE docked:
GPIOA = EA (bit 4 change)
DBOP_DIN=8A43
Nothing else changed and this is consistently repeatable.
--- End quote ---
http://www.rockbox.org/wiki/SansaAMSHardwareMappings
According to that, GPIOA[3] is USB inserted. Does your dock also have USB? Does the pin change even when the USB cable isn't hooked up to a computer?
--- Quote from: Avalon on November 03, 2009, 04:18:29 PM ---My guess is that in the FUZE OS, the line out is always enabled but requires the voltage to be applied for it to work.
If that is the case, then if the correct register is written to in the Rockbox startup to enable the line out, then the dock would work when the Fuze is attached.
--- End quote ---
Its disabled by default. We can enable it, but without a way to detect that the dock is in theres no way to know when to enable it.
DBOP_DIN9 is unassigned currently. Maybe thats how you tell if theres a USB or USB + dock.
kugel.:
Interesting find. I'd like to know what the DBOP pin means exactly.
Just for the line out/Dock, I assume checking the GPIOA pin would be sufficient for enabling line out. Unless we cannot have headphones and lineout at the same time (?).
Avalon:
The griffin dock I have has a line out (to stereo) and a mini usb connector. You can connect the usb to a computer or to a usb charger.
The description I gave of the pin change when connecting the Fuze was with the usb connected to a charger (120V to usb).
When using the Sansa OS, when the Fuze is plugged into the dock, the Fuze turns on and the line out is enabled. If the Fuze is already on in Sansa mode, when it is plugged into the dock, it stays powered up and again the line out works. If the Fuze is in Rockbox mode and is plugged into the dock with the select button depressed, the Fuze stays in Rockbox mode, but the line out is not enabled.
It appears that the USB voltage is sensed and used to both turn on the Fuze in Sansa mode and enable the line out.
In Rockbox mode, the requirement would seem to be to sense the USB voltage and turn on the line out. When the usb voltage is removed, to turn off the line out. Perhaps, just permanently enabling it would be fine if that did not drain the battery. The usb voltage I am referring to in this case is used for charging the Fuze.
I believe that this is the pinout for the Fuze connector:
1 - power
2 - power
3 - ground
4 - usb d+
5 - usb d-
6 - ground
7 - power via 47k resistor
13 - ground
18 - ground
20 - ground
27 - audio out right
28 - audio out left
29 - audio common
When pin 7 is pulled to +5V by the dock, the audio out lines are activated. I understand that the external power source is required to drive the line outs.
Based on forum discussions, the Rockboxed E200 either activates the audio outs when inserted in the dock or the audi outs are permanently enabled. I haven't confirmed this because I do not own an E200, but the dock pinout is compatible with Fuze and E200.
As a final note, the dock does not allow headphone use and line out at the same time since both connectors are on the bottom of the Fuze. You cannot physically attach the Fuze to the dock with a headphone connector attached.
skinsman:
--- Quote ---"Based on forum discussions, the Rockboxed E200 either activates the audio outs when inserted in the dock or the audi outs are permanently enabled. I haven't confirmed this because I do not own an E200, but the dock pinout is compatible with Fuze and E200."
--- End quote ---
I've got an e200v1 and an e200v2 (AMS) along with a couple of Griffin PowerDocks. I've been using RockBox on the e200v1 for a while successfully with the dock - audio through the dock is active but is affected by the volume control. Interestingly the audio works whether power is applied to the dock or not. This is different to the original firmware which had audio unaffected by the volume control AND the audio works only when power is applied to the dock.
I've just tried RockBox on my e200v2 (AMS) and found audio through the dock doesn't work. I guess that's to be expected given what you're seeing with the Fuze. I hope a patch for this will be available soon! Let me know if I can help with testing or whatever.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version