Actually... there should be three mic channels: The built-in (internal) microphone + One mic jack beside the headphone jack + One other hidden within the headphone jack: (a) the Notebook came with Noise-cancelling headsets, but they are
small in-ear plugs so there is no place for noise-cancelling logic in the plugs
(b) I think I remember to have read somewhere that this thingy
actually needs the windows driver installed to be noise-cancelling!
(c) the PLUG of these headphones have another channel (visible
through another ring on the jack)
This explains the 2nd mic channel :)
Try hda-jack-sense-test to find out which node is used by the headset
mic jack (TRRS) and mic jack.
Thanks for the hint.
Found and installed: snd-hda-tools_0.20111207_amd64.deb But it gave me:
/usr/src %
hda-jack-sense-test $1 #28540 me@seven pts/4
Traceback (most recent call last): File "/usr/bin/hda-jack-sense-test", line 44, in <module> codec = HDACodec(cardindex, codecindex) File "/usr/share/snd-hda-tools/hda_codec.py", line 908, in __init__ self.fd = os.open("/dev/snd/hwC%sD%s" % (card, device), os.O_RDWR) OSError: [Errno 13] Permission denied: '/dev/snd/hwC0D0'
You need root privilege and need 0.20130207 hda-tools
/usr/src % sudo
hda-jack-sense-test $1 #28541 me@seven pts/4
Traceback (most recent call last): File "/usr/bin/hda-jack-sense-test", line 44, in <module> codec = HDACodec(cardindex, codecindex) File "/usr/share/snd-hda-tools/hda_codec.py", line 921, in __init__ self.parse_proc() File "/usr/share/snd-hda-tools/hda_codec.py", line 1003, in parse_proc self.proc_codec = HDACodecProc(self.card, self.device, file) File "/usr/share/snd-hda-tools/hda_proc.py", line 474, in __init__ self.parse(proc_file) File "/usr/share/snd-hda-tools/hda_proc.py", line 647, in parse line, nid = self.decodeintw(line, 'Node ') File "/usr/share/snd-hda-tools/hda_proc.py", line 140, in decodeintw self.wrongfile('integer decode %s (%s)' % (repr(str), repr(prefix))) File "/usr/share/snd-hda-tools/hda_proc.py", line 143, in wrongfile raise ValueError, "wrong proc file format (%s)" % msg ValueError: wrong proc file format (integer decode 'State of AFG node
0x01:' ('Node '))
http://git.alsa-project.org/?p=alsa.git;a=commitdiff;h=7859cb050f2cbeba54ce4...