<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Microphone port switch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81580#c56">Comment # 56</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Microphone port switch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81580">bug 81580</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>as the combo jack cannot differentiate headphone, headset , headset mic phantom
jack is created
you have to give up the support of headphone in order to allow headset mic can
be auto selected
<a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/include/sound/jack.h">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/include/sound/jack.h</a>
enum snd_jack_types {
SND_JACK_HEADPHONE = 0x0001,
SND_JACK_MICROPHONE = 0x0002,
SND_JACK_HEADSET = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE,
use jack sense of headphone pin to represent both headphone and mic . need to
modify dfriver to create headset jack instead of headphone jack and headset mic
phantom jack</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>