<p><br>
><br>
> Sorry for the misunderstanding, see pastbin link for the pulseaudio -vvvv output <a href="http://pastebin.com/cP3A1nLc">http://pastebin.com/cP3A1nLc</a></p>
<p>How did pulseaudio get dBmix -177dB for line out path and -114 dB for headphone path as both green line out and hp share the amps in audio output 0x10 and audio mixer 0x16 ?</p>
<p>you may need to change the Front playback volume to Front+HP playback volume where Line out and HP share playback volume control</p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=03ad6a8c93b6df2d65c305b5b5f9474068b45bfb">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=03ad6a8c93b6df2d65c305b5b5f9474068b45bfb</a><br></p>
<p>pulseaudio] alsa-mixer.c: Removing path 'analog-output' as it is a subset of 'analog-output-lineout'.</p>
<p>D: [pulseaudio] alsa-mixer.c: Available mixer paths (after tidying):<br>
D: [pulseaudio] alsa-mixer.c: Path Set 0x9ec7fb8, direction=1<br>
D: [pulseaudio] alsa-mixer.c: Path analog-output-lineout (Line Out), direction=1, priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=42, min_dB=-177, max_dB=0<br>
D: [pulseaudio] alsa-mixer.c: Element Master, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes<br>
D: [pulseaudio] alsa-mixer.c: Element Headphone, direction=1, switch=2, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=no<br>
D: [pulseaudio] alsa-mixer.c: Element Front, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=yes<br>
D: [pulseaudio] alsa-mixer.c: Element Surround, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x60, n_channels=2, override_map=yes<br>
D: [pulseaudio] alsa-mixer.c: Element Side, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0xc00, n_channels=2, override_map=yes</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Center, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x4900000000018, n_channels=1, override_map=yes</p>
<p>D: [pulseaudio] alsa-mixer.c: Element LFE, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x80, n_channels=1, override_map=yes</p>
<p>D: [pulseaudio] alsa-mixer.c: Element PCM, direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes<br></p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out, alsa_name='Line Out Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Phantom, alsa_name='Line Out Phantom Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Headphone, alsa_name='Headphone Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Front, alsa_name='Line Out Front Jack', detection possible</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Front Phantom, alsa_name='Line Out Front Phantom Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out CLFE, alsa_name='Line Out CLFE Jack', detection possible</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out CLFE Phantom, alsa_name='Line Out CLFE Phantom Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Surround, alsa_name='Line Out Surround Jack', detection possible</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Surround Phantom, alsa_name='Line Out Surround Phantom Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Side, alsa_name='Line Out Side Jack', detection possible</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Line Out Side Phantom, alsa_name='Line Out Side Phantom Jack', detection unavailable<br><br><br></p>
<p>D: [pulseaudio] alsa-mixer.c: Path analog-output-headphones (Headphones), direction=1, priority=90, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=42, min_dB=-114, max_dB=0</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Master, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Headphone, direction=1, switch=1, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=4, required_absent=0, mask=0x0, n_channels=0, override_map=yes</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Front, direction=1, switch=1, volume=3, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=no</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Surround, direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=no</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Side, direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=no</p>
<p>D: [pulseaudio] alsa-mixer.c: Element Center, direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no</p>
<p>D: [pulseaudio] alsa-mixer.c: Element LFE, direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no</p>
<p>D: [pulseaudio] alsa-mixer.c: Element PCM, direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes</p>
<p>D: [pulseaudio] alsa-mixer.c: Element IEC958, direction=1, switch=2, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=no</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Dock Headphone, alsa_name='Dock Headphone Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Dock Headphone Phantom, alsa_name='Dock Headphone Phantom Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Front Headphone, alsa_name='Front Headphone Jack', detection possible</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Front Headphone Phantom, alsa_name='Front Headphone Phantom Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Headphone, alsa_name='Headphone Jack', detection unavailable</p>
<p>D: [pulseaudio] alsa-mixer.c: Jack Headphone Phantom, alsa_name='Headphone Phantom Jack', detection unavailable<br>
><br>
> Yes my chassis has a front audio panel (actually on the top) <br>
><br>
> Basically I want the two output to work at the same time - it used to do so as I said in the past.</p>
<p>><br>
> i.e. My headset plugged onto my top/front audio panel and my speakers plugged onto the back panel on the black jack. I used to have it plugged onto the green but I changed to the black to see if it's changing or improving the situation.<br>
></p>
<p>If you use bios setup to change front audio panel type to HDA, driver should create auto mute control and you have to disable auto mute</p>
<p><a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-lineout.conf">http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-lineout.conf</a></p>
<p>[Jack Headphone]<br>
state.plugged = no<br>
state.unplugged = unknown</p>
<p>[Jack Line Out Front]<br>
required-any = any</p>
<p>However pulseaudio seem also check the headphone jack is not plugged<br></p>
<p>>> > Now upon start up or pulseaudio being restarted the headphones is muted, but the surround channel isn't any more. As mentioned I would like both channel not to be muted.<br></p>
<p>; This profile path is intended to control line out, let's mute headphones<br>
; else there will be a spike when plugging in headphones<br>
[Element Headphone]<br>
switch = off<br>
volume = off</p>
<p>Seem related to these rule in conf if pulseaudio mute headphone switch and turn off headphone playback volume when line out port is used</p>
<p>For the headphone playback volume control, if you don't need 7.1, the workaround is to use early patching or hdajackretask to change pin default of side (grey) jack from [JACK] to [N/A] to get back the Headphone Playback Volume control and Independent headphone</p>
<p>This allow driver to assign 0x25 to headphone , but this mean headphone won't connect to audio mixer 0x16 </p>
<p>Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out<br>
Control: name="Side Playback Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=Out, idx=0, ofs=0<br>
Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0<br>
Amp-Out vals: [0x00 0x00]<br>
Converter: stream=5, channel=0<br>
PCM:<br>
rates [0x5e0]: 44100 48000 88200 96000 192000<br>
bits [0xe]: 16 20 24<br>
formats [0x1]: PCM<br>
Power states: D0 D1 D2 D3<br>
Power: setting=D0, actual=D0</p>
<p>Node 0x16 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In<br>
Control: name="Rear Mic Playback Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=2, ofs=0<br>
Control: name="Rear Mic Playback Switch", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=2, ofs=0<br>
Control: name="Front Mic Playback Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=4, ofs=0<br>
Control: name="Front Mic Playback Switch", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=4, ofs=0<br>
Control: name="Line Playback Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=3, ofs=0<br>
Control: name="Line Playback Switch", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=3, ofs=0<br>
Control: name="CD Playback Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=1, ofs=0<br>
Control: name="CD Playback Switch", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=1, ofs=0<br>
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1<br>
Amp-In vals: [0x17 0x17] [0x80 0x80] [0x1f 0x1f] [0x1f 0x1f] [0x9f 0x9f] [0x80 0x80] [0x80 0x80]<br>
Power states: D0 D1 D2 D3<br>
Power: setting=D0, actual=D0<br>
Connection: 7<br>
0x10 0x1f 0x1a 0x1b 0x1e 0x1d 0x25</p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt</a></p>
<p><a href="http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/README;hb=HEAD">http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/README;hb=HEAD</a></p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=92603c594579e744a13b06efbbebb126db254655">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=92603c594579e744a13b06efbbebb126db254655</a></p>
<p>Enable independent HP should disabled driver 's auto mute feature, for auto mute, the driver just mute and won't change the volume control</p>
<p>From viewpoint of user, I expect pulseaudio mute the surround speakers when stereo profile is selected but should keep those surround volume unchanged when user selected 7.1 profile</p>
<p>This look like pulseaudio change those surround, clfe and side playback volume when you select stereo profile</p>
<p>You need to dump those pulseaudio database files to find out whether pulseaudio keep the values of bass, fade controls in sound preference or surround, center, clfe and side playback volume if pulseaudio can restore the surround 7.1 profile<br><br></p>
<p>ALSA: hda - Support advanced power state controls<br>
This patch enables the finer power state control of each widget<br>
depending on the jack plug state and streaming state in addition to<br>
the existing power_down_unused power optimization. The new feature is<br>
enabled only when codec->power_mgmt flag is set.</p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=e6feb5d08509be1af2ebc894dae35f32f7b92ab6">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=e6feb5d08509be1af2ebc894dae35f32f7b92ab6</a></p>
<p>>><br>
>> >> ><br>
>> >> > Please see below the output of alsa-info.sh before and after the headphone plugged in<br>
>> >> ><br>
>> >> > Before:<a href="http://www.alsa-project.org/db/?f=a316eebf7b150b5897838be37bce4e8c9d95eaae"> http://www.alsa-project.org/db/?f=a316eebf7b150b5897838be37bce4e8c9d95eaae</a><br>
>> >> > After: <a href="http://www.alsa-project.org/db/?f=0f163003e9005972db5f97f21a45be67816e3801"> http://www.alsa-project.org/db/?f=0f163003e9005972db5f97f21a45be67816e3801</a><br>
>> >> ><br>
>> >> > I have 6 Jacks at the rear panel and two at the top (one output one input)<br>
>> >> > I am afraid I do not know how to switch channel mode to retask.<br>
>> >> ><br>
>> >> > Also, the computer is of a certain age, and the issue has started several month ago but I never really looked into it, so I am not sure that change in power management will be relevant has it seems quite recent.<br>
>><br>
>> If you plugged the speaker into the black jack,<br>
>><br>
>> Seem you are using stereo profile since surround dac still using channel=0<br>
>><br>
>> Auto mute was disabled when you select ac97 front audio panel<br>
>><br>
>> Do you expect pulseaudio just mute the surround playback switch but keep the surround playack volume remain unchanged when you select stereo profile ?<br>
>><br>
>> Node 0x11 [Audio Output] wcaps 0x41d: Stereo Amp-Out<br>
>> Control: name="Surround Playback Volume", index=0, device=0<br>
>> ControlAmp: chs=3, dir=Out, idx=0, ofs=0<br>
>> Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0<br>
>> Amp-Out vals: [0x00 0x00]<br>
>> Converter: stream=5, channel=0<br>
>> PCM:<br>
>> rates [0x5e0]: 44100 48000 88200 96000 192000<br>
>> bits [0xe]: 16 20 24<br>
>> formats [0x1]: PCM<br>
>> Power states: D0 D1 D2 D3<br>
>> Power: setting=D0, actual=D0<br>
>><br>
>> Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out<br>
>> Control: name="Surround Playback Switch", index=0, device=0<br>
>> ControlAmp: chs=3, dir=Out, idx=0, ofs=0<br>
>> Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1<br>
>> Amp-Out vals: [0x80 0x80]<br>
>> Power states: D0 D1 D2 D3<br>
>> Power: setting=D0, actual=D0<br>
>> Connection: 1<br>
>> 0x11<br>
>><br>
>> control.36 {<br>
>> iface CARD<br>
>> name 'Line Out Front Jack'<br>
>> value false<br>
>> comment {<br>
>> access read<br>
>> type BOOLEAN<br>
>> count 1<br>
>> }<br>
>> }<br>
>> control.37 {<br>
>> iface CARD<br>
>> name 'Line Out Surround Jack'<br>
>> value true<br>
>> comment {<br>
>> access read<br>
>> type BOOLEAN<br>
>> count 1<br>
>> }<br>
>> }<br>
>> control.38 {<br>
>> iface CARD<br>
>> name 'Line Out CLFE Jack'<br>
>> value false<br>
>> comment {<br>
>> access read<br>
>> type BOOLEAN<br>
>> count 1<br>
>> }<br>
>> }<br>
>> control.39 {<br>
>> iface CARD<br>
>> name 'Line Out Side Jack'<br>
>> value false<br>
>> comment {<br>
>> access read<br>
>> type BOOLEAN<br>
>> count 1<br>
>> }<br>
>> }<br>
>> control.40 {<br>
>> iface CARD<br>
>> name 'Front Headphone Phantom Jack'<br>
>> value true<br>
>> comment {<br>
>> access read<br>
>> type BOOLEAN<br>
>> count 1<br>
>> }<br>
>> }<br>
>><br>
>> Simple mixer control 'Surround',0<br>
>> Capabilities: pvolume pswitch<br>
>> Playback channels: Front Left - Front Right<br>
>> Limits: Playback 0 - 42<br>
>> Mono:<br>
>> Front Left: Playback 0 [0%] [-63.00dB] [off]<br>
>> Front Right: Playback 0 [0%] [-63.00dB] [off]<br>
>><br>
>> > As advices I changed the Bios setting from AC97 to HD Audio.</p>