you need to find out which unconnectecd pin complex is the headset mic need to recomplie driver
patch_via.c patch_vt1802 spec->parser_flags = HDA_PINCFG_HEADSET_MIC; try three unconnected pin complex which pincap support IN one by one { 0x??, 0x01a1913c }, /* use as headset mic, without its own jack detect */ Noe 0x29 [Pin Complex] wcaps 0x400481: Stereo Pincap 0x00002324: IN Detect Vref caps: HIZ 50 100 Pin Default 0x50a701f0: [N/A] Mic at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=00, enabled=0 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Node 0x2a [Pin Complex] wcaps 0x400481: Stereo Pincap 0x00002324: IN Detect Vref caps: HIZ 50 100 Pin Default 0x418130f0: [N/A] Line In at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=00, enabled=0 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Node 0x2b [Pin Complex] wcaps 0x400481: Stereo Pincap 0x00002324: IN Detect Vref caps: HIZ 50 100 Pin Default 0x41a190f0: [N/A] Mic at Ext Rear Conn = 1/8, Color = Pink DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=00, enabled=0 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1332233 Title: [HDA-Intel - HDA Intel PCH, recording] Recording problem Status in alsa-driver package in Ubuntu: New Bug description: I opened a thread in the forums first. For reference: http://ubuntuforums.org/showthread.php?t=2230136&p=13052352 The basic issue is that I got a new Asus S400CA laptop. It has a combo jack for headphones/mic (like phones do now). With Windows 8, the headset worked fine (both input and output through the one jack). With Ubuntu 14.04 it works for output, but not for input. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: alsa-base 1.0.25+dfsg-0ubuntu4 ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2 Uname: Linux 3.13.0-29-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: acampbell 3333 F.... pulseaudio acampbell 23019 F.... pulseaudio CurrentDesktop: Unity Date: Thu Jun 19 12:05:57 2014 InstallationDate: Installed on 2014-06-14 (5 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) PackageArchitecture: all ProcEnviron: LANGUAGE=en_US PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: alsa-driver Symptom: audio Symptom_AlsaRecordingTest: ALSA recording test through plughw:PCH failed Symptom_Card: Built-in Audio - HDA Intel PCH Symptom_Type: Only some of inputs are working Title: [HDA-Intel - HDA Intel PCH, recording] Recording problem UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/28/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: S400CA.206 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: S400CA dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK COMPUTER INC. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrS400CA.206:bd11/28/2012:svnASUSTeKCOMPUTERINC.:pnS400CA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnS400CA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0: dmi.product.name: S400CA dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK COMPUTER INC. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1332233/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp