<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 31/03/15 01:41, Raymond Yau wrote:<br>
</div>
<blockquote
cite="mid:CAN8cciYjjbCoMoG9qRN=1Sr=rENCPfM7daN5GFefDcQJwLu18w@mail.gmail.com"
type="cite">
<p>><br>
> Thank you for your reply, <br>
><br>
> Please see below the output of alsa-info.sh before and
after the headphone plugged in<br>
><br>
> Before:<a moz-do-not-send="true"
href="http://www.alsa-project.org/db/?f=a316eebf7b150b5897838be37bce4e8c9d95eaae">
http://www.alsa-project.org/db/?f=a316eebf7b150b5897838be37bce4e8c9d95eaae</a><br>
> After: <a moz-do-not-send="true"
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>
></p>
<p>grey jack mean no headphone playback volume control and
independent headphone</p>
<p><a moz-do-not-send="true"
href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=4abdbd1c2c1832e7270e546307ffb3e56b286db2">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=4abdbd1c2c1832e7270e546307ffb3e56b286db2</a></p>
<p>The recent fix for the independent HP reduced the availability
of the<br>
side surround output, because there are only 4 DACs for 7.1 and
a HP<br>
outputs. Adjust the badness tables for VIA so that 7.1 outputs
are<br>
activated for the cost of missing independent HP.</p>
<p>Once when we implement the dynamic DAC switching to multiple
outputs,<br>
this conflicts will be eased in future...<br>
</p>
<p>This mean some feature are lost </p>
<p><a moz-do-not-send="true"
href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=2525050518496dfd6905abfa8d6d34288eed36d7">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=2525050518496dfd6905abfa8d6d34288eed36d7</a></p>
<p>If you have selected ac97 front audio panel instead of hda
front audio panel in BIOS setup, both front hp and front mic
disable jack detection Misc = NO_PRESENCE</p>
<p>You have to provide pulseaudio verbose log since there is only
headphone phantom jack and no headphone playback volume and </p>
<p><a moz-do-not-send="true"
href="http://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems">http://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems</a></p>
<p>Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out<br>
Control: name="Headphone Playback Switch", index=0, device=0<br>
ControlAmp: chs=3, dir=Out, idx=0, ofs=0<br>
Control: name="Front Headphone Phantom Jack", index=0,
device=0<br>
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1<br>
Amp-Out vals: [0x00 0x00]<br>
Pincap 0x0000233c: IN OUT HP Detect<br>
Vref caps: HIZ 50 100<br>
Pin Default 0x0221411f: [Jack] HP Out at Ext Front<br>
Conn = 1/8, Color = Green<br>
DefAssociation = 0x1, Sequence = 0xf<br>
Misc = NO_PRESENCE<br>
Pin-ctls: 0xc0: OUT HP VREF_HIZ<br>
Unsolicited: tag=00, enabled=0<br>
Power states: D0 D1 D2 D3<br>
Power: setting=D0, actual=D0<br>
Connection: 2<br>
0x16* 0x25<br>
Node 0x1e [Pin Complex] wcaps 0x40058d: Stereo Amp-Out<br>
Control: name="Front Mic Boost Volume", index=0, device=0<br>
ControlAmp: chs=3, dir=In, idx=0, ofs=0<br>
Control: name="Front Mic Phantom Jack", index=0, device=0<br>
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1<br>
Amp-Out vals: [0x80 0x80]<br>
Pincap 0x0000233c: IN OUT HP Detect<br>
Vref caps: HIZ 50 100<br>
Pin Default 0x02a19138: [Jack] Mic at Ext Front<br>
Conn = 1/8, Color = Pink<br>
DefAssociation = 0x3, Sequence = 0x8<br>
Misc = NO_PRESENCE<br>
Pin-ctls: 0x21: IN VREF_50<br>
Unsolicited: tag=00, enabled=0<br>
Power states: D0 D1 D2 D3<br>
Power: setting=D0, actual=D0<br>
Connection: 2<br>
0x16* 0x25<br>
</p>
<p><a moz-do-not-send="true"
href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-headphones.conf">http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-headphones.conf</a></p>
<p>>> ><br>
>> > First some details:<br>
>> > I have an VT1708S sound card with a rear panel and
and top/front panel My Speakers are plugged on the rear panel
corresponding to the "surround" channel on alsamixer. While I
always have my headset plugged in on the top panel.<br>
>> ><br>
>> > This is not user specific but system wide.<br>
>> ><br>
>> > Now the issue;<br>
>> > The Surround channel is always muted when
PulseAudio starts, doesn't mater if the headset are plugged in
or not. I have used alsamixer to unmute and run "sudo
alsa-store" but it hasn't worked<br>
>> > I also tried to stop PulseAudio Daemon that
restore the mixer's level but it hasn't work.<br>
>> > This issue has started months ago, but never got
around to sort it before.<br>
>> ><br>
>><br>
>> You have to post output of alsa-info.sh before and
after you plugged the headphone<br>
>><br>
>> How many audio jacks in rear panel, you need to switch
channel mode to retask the input jacks as output if you want
suuround40 or surround51<br>
>><br>
>> The recent change in power management or hardware fault
in your front audio panel jack detection may affect rear panel<br>
>><br>
>><a moz-do-not-send="true"
href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=688b12cc3ca8a5155b95ce8d01e0e43006813b27">
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=688b12cc3ca8a5155b95ce8d01e0e43006813b27</a><br>
>><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pulseaudio-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a>
</pre>
</blockquote>
Again thank you for your replies,<br>
<br>
As advices I changed the Bios setting from AC97 to HD Audio.<br>
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>
Please find below the output of pulseaudio -vvvv:<br>
<br>
pulseaudio -vvvvv<br>
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed:
Operation not permitted<br>
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.<br>
D: [pulseaudio] core-util.c: RealtimeKit worked.<br>
I: [pulseaudio] core-util.c: Successfully gained nice level -11.<br>
I: [pulseaudio] main.c: This is PulseAudio 6.0<br>
D: [pulseaudio] main.c: Compilation host: i686-pc-linux-gnu<br>
D: [pulseaudio] main.c: Compilation CFLAGS: -march=i686
-mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -Wall -W -Wextra -Wno-long-long
-Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef
-Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security
-Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith
-Winit-self -Wdeclaration-after-statement -Wfloat-equal
-Wmissing-prototypes -Wredundant-decls -Wmissing-declarations
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
-Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math
-fno-common -fdiagnostics-show-option -fdiagnostics-color=auto<br>
D: [pulseaudio] main.c: Running on host: Linux i686 3.19.2-1-ARCH #1
SMP PREEMPT Wed Mar 18 16:36:01 CET 2015<br>
D: [pulseaudio] main.c: Found 4 CPUs.<br>
I: [pulseaudio] main.c: Page size is 4096 bytes<br>
D: [pulseaudio] main.c: Compiled with Valgrind support: no<br>
D: [pulseaudio] main.c: Running in valgrind mode: no<br>
D: [pulseaudio] main.c: Running in VM: no<br>
D: [pulseaudio] main.c: Optimized build: yes<br>
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts
disabled.<br>
I: [pulseaudio] main.c: Machine ID is
1603b312050eb424a77bbb74000001f6.<br>
I: [pulseaudio] main.c: Session ID is c2.<br>
I: [pulseaudio] main.c: Using runtime directory
/run/user/1000/pulse.<br>
I: [pulseaudio] main.c: Using state directory
/home/sweetth/.config/pulse.<br>
I: [pulseaudio] main.c: Using modules directory
/usr/lib/pulse-6.0/modules.<br>
I: [pulseaudio] main.c: Running in system mode: no<br>
E: [pulseaudio] pid.c: Daemon already running.<br>
E: [pulseaudio] main.c: pa_pid_file_create() failed.<br>
<br>
</body>
</html>