[alsa-devel] [PATCH 4/5] ALSA: hda - Implement shared front mic/hp jack for HP Z220

Raymond Yau superquad.vortex2 at gmail.com
Tue Dec 4 03:48:47 CET 2012


>
>>>> HP Z220 with ALC221 codec has a front jack that should work as both
>>>> the front mic and the secondary headphone.  This patch adds a new
>>>> mixer enum to change the jack behavior.

>>
>>> I would recommend a user to use hda-jack-retask in these cases, instead
>>> of cluttering the kernel code.
>>
>>
>> Well, hda-jack-retask is a nice debugging tool, but it's not intended
>> for the actual user interface for daily use.
>
>
> Maybe we should consider making the reconfiguration more lightweight in
the kernel then, so that hda-jack-retask (or a more simplistic GUI) can be
used for daily use?
>

only idt and realtek support dual headphones

the user are unlikely to use hda-jack-retask on the other hda codecs.
via driver hardcode the headphone pin in widget set power state function

>
>> Also, a big missing
>> piece is the automatic retasking via jack detection as a headphone.
>
>

>
> This might work for this particular case, but sounds like it could become
a confusing set of alsa-mixer controls (and hairy kernel code to control
them all!) - e g, what if two jacks that currently are not headphones both
want to be headphones, and they have independent volume controls? Which one
will be controlled by "Headphone Volume"?

http://www.alsa-project.org/db/?f=3cd5e75a351b4602609f7c478977cdb96d61c627

seem no headphone playback volume on z220 , line out and headphone share
pcm playback volume and the mono speaker own speaker volume control

it is confusing when auto mic selection co exist with alt_capture device


More information about the Alsa-devel mailing list