http://git.kernel.org/cgit/linux/kernel/git/tiwai/hda- emu.git/tree/codecs/vt1708-clevo-m540se?id=HEAD
let take vt1708 as example pincap of hp and mic support DETECT but not support unsolicited event and this require to set a timer to send get_pin_sense periodcally when open the playback/capture device Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x15 0x15] Pincap 0x081c: OUT HP Detect Pin Default 0x022140f0: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green Pin-ctls: 0xc0: OUT HP Connection: 1 0x17 Node 0x21 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x02a190f0: [Jack] Mic at Ext Front Conn = 1/8, Color = Pink Pin-ctls: 0x21: IN Connection: 1 0x1b https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=4e2d16d326fd33e3101ddf08730c953b480ec2ef seem all via codec except vt1708 use unsol event for jack event and power state event https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/pci/hda/hda_jack.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365769 Title: [G41MT-S2P, VIA VT2020, Pink Mic, Rear] No sound at all To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1365769/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs