<p><br>
> > ><br>
> > > Recognize the Dock headphone jack in the same way the normal & front<br>
> > > headphone jacks are detected.<br>
> > > ---<br>
> > > src/modules/alsa/mixer/paths/analog-output-headphones.conf | 8 ++++++++<br>
> > > src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 ++++<br>
> > > 2 files changed, 12 insertions(+)<br>
> > ><br>
> > > diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> > b/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> > > index 89d794f..199b2c5 100644<br>
> > > --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> > > +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf<br>
> > > @@ -25,6 +25,14 @@ description-key = analog-output-headphones<br>
> > > [Properties]<br>
> > > device.icon_name = audio-headphones<br>
> > ><br>
> > > +[Jack Dock Headphone]<br>
> > > +required-any = any<br>
> ><br>
> > As you assume dock headphone and headphone share the same headphone volume<br>
> > control<br>
><br>
> The do on my machine indeed. For reference i've uploaded my alsa-info<br>
> into:<br>
><a href="http://www.alsa-project.org/db/?f=5a1c208208ff33a2231d2d03d5bea5ec452dc24d">http://www.alsa-project.org/db/?f=5a1c208208ff33a2231d2d03d5bea5ec452dc24d</a></p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=88d5760649d9024a2a68e649909f522ab42d891c">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=88d5760649d9024a2a68e649909f522ab42d891c</a></p>
<p>[10.379527] sound hdaudioC0D0: CX20590: BIOS auto-probing.<br>
[ 10.381085] sound hdaudioC0D0: autoconfig: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker<br>
[ 10.381088] sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)<br>
[ 10.381090] sound hdaudioC0D0: hp_outs=2 (0x1c/0x19/0x0/0x0/0x0)<br>
[ 10.381092] sound hdaudioC0D0: mono: mono_out=0x0<br>
[ 10.381093] sound hdaudioC0D0: inputs:<br>
[ 10.381095] sound hdaudioC0D0: Mic=0x1b<br>
[ 10.381096] sound hdaudioC0D0: Internal Mic=0x23<br>
[ 10.381098] sound hdaudioC0D0: Dock Mic=0x1a</p>
<p>Most notebook with dock station use 4 channel codec but there are three outputs at different location</p>
<p>1) headphone, speaker, dock headphone<br>
2) headphone, speaker, dock line out<br>
3) headphone, speaker, dock speaker</p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=7bba2157c5d3ee7f076adfdfa96eec274801da8f">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=7bba2157c5d3ee7f076adfdfa96eec274801da8f</a></p>
<p>If the audio output node contain the volume control and switch , two outputs need to share the volume control</p>
<p>The name of the shared volume control are different for the above three cases as the parser put two speaker<br>
pins and two headphone pins of different location </p>
<p>In your cases the headphone and dock headphone also share the same headphone playback switch in addition the headphone playback volume<br></p>
<p>Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L<br>
Control: name="Headphone Playback Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=Out, idx=0, ofs=0<br>
Control: name="Headphone Playback Switch", index=0, device=0<br>
ControlAmp: chs=3, dir=Out, idx=0, ofs=0<br>
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1<br>
Amp-Out vals: [0x3a 0x3a]<br>
Converter: stream=8, channel=0<br>
PCM:<br>
rates [0x560]: 44100 48000 96000 192000<br>
bits [0xe]: 16 20 24<br>
formats [0x1]: PCM<br>
Power states: D0 D1 D2 D3 D3cold EPSS<br>
Power: setting=D0, actual=D0</p>
<p>Node 0x19 [Pin Complex] wcaps 0x400581: Stereo<br>
Control: name="Headphone Jack", index=0, device=0<br>
Pincap 0x0000001c: OUT HP Detect<br>
Pin Default 0x04211040: [Jack] HP Out at Ext Right<br>
Conn = 1/8, Color = Black<br>
DefAssociation = 0x4, Sequence = 0x0<br>
Pin-ctls: 0xc0: OUT HP<br>
Unsolicited: tag=02, enabled=1<br>
Power states: D0 D1 D2 D3 D3cold EPSS<br>
Power: setting=D0, actual=D0<br>
Connection: 2<br>
0x10 0x11*</p>
<p>Node 0x1c [Pin Complex] wcaps 0x400581: Stereo<br>
Control: name="Dock Headphone Jack", index=0, device=0<br>
Pincap 0x00000014: OUT Detect<br>
Pin Default 0x6121401f: [N/A] HP Out at Sep Rear<br>
Conn = 1/8, Color = Green<br>
DefAssociation = 0x1, Sequence = 0xf<br>
Pin-ctls: 0x40: OUT<br>
Unsolicited: tag=01, enabled=1<br>
Power states: D0 D1 D2 D3 D3cold EPSS<br>
Power: setting=D0, actual=D0<br>
Connection: 2<br>
0x10 0x11*</p>
<p>><br>
> > Do you mean the current alsa driver support surround 40 for notebook with<br>
> > dock headphone is incorrect ?<br>
><br>
> I don't really understand this question sorry.</p>
<p>Post output of pactl list</p>
<p>Can you select surround40 profile in sound preference ?</p>
<p>><br>
> > > +<br>
> > > +[Jack Dock Headphone Phantom]<br>
> > > +required-any = any<br>
> > > +state.plugged = unknown<br>
> > > +state.unplugged = unknown<br>
> > > +<br>
> ><br>
> > Any specific reason to add phantom Jack ?<br>
><br>
> Just following what all other jacks seem to do.. If it makes sense for<br>
> the front jack why not for the dock ? :) (Honestly i don't know)<br>
></p>
<p>The front audio panel of some computer chassis does not support Jack detection</p>