Hello,

I'm running Ubuntu Gnome 14.04 on a new MacBookAir6,2 with the Cirrus
Logic CS4208 and would love to get the microphone part of the TRRS
connector working.  Mac OS picks up and utilizes the TRRS headset mic
without issue so I know the hardware is a go.

Running sudo hda-jack-sense-test -a results in:

Traceback (most recent call last):
  File "/usr/bin/hda-jack-sense-test", line 47, in <module>
    codec = HDACodec(cardindex, codecindex)
  File "/usr/share/snd-hda-tools/hda_codec.py", line 1036, in __init__
    self.parse_proc()
  File "/usr/share/snd-hda-tools/hda_codec.py", line 1135, in parse_proc
    self.proc_codec = HDACodecProc(self.card, self.device, file)
  File "/usr/share/snd-hda-tools/hda_proc.py", line 479, in __init__
    self.parse(proc_file)
  File "/usr/share/snd-hda-tools/hda_proc.py", line 677, in parse
    node.add_digital(line[11:]) 
  File "/usr/share/snd-hda-tools/hda_proc.py", line 296, in add_digital
    self.wrongfile('unknown dig1 bit %s' % repr(b))
  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 (unknown dig1 bit 'KAE')

So not really sure where to go from here.  I opened up hdajackretask to find 
four pins:
Green Headphone
Pin ID: 0x10
Headphone

Internal Speaker
Pin ID: 0x12
Internal speaker

Pink Mic
Pin ID: 0x18
Not connected

Internal Mic
Pin ID: 0x1c
Internal mic

Unplugging and replugging the headset changes the Output device in sound
settings from Headphones to Speakers so that works, but nothing in the
input tab ever changes.  It always lists two devices:  Internal
Microphone and Microphone.  Both of these seem to actually be the
internal microphone in the mac - either works without the headset
connected at all.

So I'm not really sure how to proceed from here, but I'd be happy to run
whatever diagnostic tests might prove useful and/or even contribute code
toward a fix - but I just have no idea where to start.  Is it as simple
as just finding the right pin and telling the system to use it as a
microphone?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/950494

Title:
  [Macbook Air 3,2] headset mic not recognized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/950494/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to