<p><br>
><br>
><br>
> ><br>
> > I was responsible for plugin the cables from the front panel to the motherboard, I don't remember where exactly on the MOBO I plugged the front panel audio cables but I followed my MOBO manual (Z77-DS3H). And on Windows, this problem doesn't occur.<br>
><br>
> The driver disable jack detection of headphone and add CD input pin since all gigabyte motherboards have same PCI SSID 0x1458a002<br>
><br>
> you have headphone phantom jack when Misc bit of pin default is set (indicate that no pin detection circuit on HDA front audio panel)<br>
><br>
> <br>
><br>
><br>
> > /sys/class/sound/hwC0D2/init_pin_configs:<br>
> > 0x11 0x99430130<br>
> > 0x12 0x411111f0<br>
> > 0x14 0x01014410<br>
> > 0x15 0x411111f0<br>
> > 0x16 0x411111f0<br>
> > 0x17 0x411111f0<br>
> > 0x18 0x01a19c50<br>
> > 0x19 0x02a19c60<br>
> > 0x1a 0x0181345f<br>
> > 0x1b 0x02214c20<br>
> > 0x1c 0x411111f0<br>
> > 0x1d 0x4004c601<br>
> > 0x1e 0x411111f0<br>
> > 0x1f 0x411111f0<br>
> ><br>
> > /sys/class/sound/hwC0D2/driver_pin_configs:<br>
> > 0x1b 0x02214120<br>
> > 0x1c 0x993301f0<br>
> ></p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=b2c53e206967d01fd4fb6dd525f89ae738beb2e6">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=b2c53e206967d01fd4fb6dd525f89ae738beb2e6</a><br></p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=8f2392142346f2754c8292a94cc62a157ed1e093">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=8f2392142346f2754c8292a94cc62a157ed1e093</a></p>
<p>The driver should check the codec id for those gigabytes motherboard</p>
<p>><br>
><br>
> > Codec: Realtek ALC887-VD<br>
> > Address: 2<br>
> > AFG Function Id: 0x1 (unsol 1)<br>
> > Vendor Id: 0x10ec0887<br>
> > Subsystem Id: 0x1458a002<br>
> > Revision Id: 0x100302<br>
><br>
><br>
> > control.40 {<br>
> > iface CARD<br>
> > name 'Line Out Jack'<br>
> > value true<br>
> > comment {<br>
> > access read<br>
> > type BOOLEAN<br>
> > count 1<br>
> > }<br>
> > }<br>
> > control.41 {<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>
</p>