<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mistreats headphone port with dysfunctional ALSA Master volume on ICH7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=42353#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mistreats headphone port with dysfunctional ALSA Master volume on ICH7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=42353">bug 42353</a>
from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
<pre>static const struct snd_kcontrol_new snd_ac97_ad1981x_jack_sense[] = {
AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 11, 1, 0),
AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0),
};
these two controls only change JSMT2 and JSMT1
you need bit 2 and bit3 of AC97_AD_JACK_SPDIF for JS0 ST and JS1 ST
create hp jack kctl similar to
<a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/oxygen?id=435feac648cab190990aa0bf9355f77d1f082db3">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/oxygen?id=435feac648cab190990aa0bf9355f77d1f082db3</a>
the point is when do the driver call snd_jack_report by interrupt or timer</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>