Support and General Use > Hardware
Fuze and Griffin Dock line out
tenfoot:
Here's my patch. It's by no means the correct solution for this, but it works for me...
Chronon:
Thank you, but it would be much better to put it on the tracker.
tenfoot:
I've put an updated version of this patch on the tracker at: http://www.rockbox.org/tracker/task/12074
Instead of using the max volume setting to enable the lineout, I've added a lineout setting - this can be added to the quickscreen so it's quite easy to switch between headphones and lineout.
I decided to change from the max volume setting as you get a loud burst when switching back to headphone mode before you can get back to a sane level. Also I found I kept knocking it off lineout mode when changing tracks.
bertrik:
From a technical point of view, I think we should use a system message to be picked up by the default event handler in apps/misc.c when a dock gets connected or disconnected. Something like either a SYS_DOCK_CONNECTION message, with an associated boolean data item that indicates connection or disconnection, or alternatively two messages (SYS_DOCK_CONNECTED and SYS_DOCK_DISCONNECTED). This is analogous to how we handle headphone detection and charger detection.
For the fuze v1, we could detect dock (dis)connection in the button handler interrupt.
After catching SYS_DOCK_CONNECTION could we could then poke the audio hardware to set the proper audio routing and set volumes appropriately through one or more audiohw_XXX calls.
zenki:
Thanks for the update..
by the way I noticed from the last patch, that although this enables lineout in RB, the output volume to my amp is lower than the official FW.
Perhaps it's related to the volume scale of RB?
Anyway, the difference may be small but it makes me think the lineout from RB is not exactly the full output that the Fuze can handle..
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version