I have the same problem on two MacBook Pro 9,4 (non-retina, 2012) with a
fresh install of precise (one of them) and quantal (the other one). They
have a Cirrus Logic CS4206 (cf. attached alsa-info-2012-11-14-without-
trrs-mic-hp.txt and alsa-info-2012-11-14-with-trrs-mic-hp.txt).

!!HDA-Intel Codec information
Codec: Cirrus Logic CS4206
...
Subsystem Id: 0x106b5200

I found this thread on the alsa-devel mailing list:

http://thread.gmane.org/gmane.linux.alsa.devel/95022

and followed some of the 'experiments' which the OP performed.

hda-jack-sense-test first gave me an error:

$ sudo hda-jack-sense-test 
[sudo] password for darabi: 
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 478, in __init__
    self.parse(proc_file)
  File "/usr/share/snd-hda-tools/hda_proc.py", line 672, in parse
    node.add_digital(line[11:]) 
  File "/usr/share/snd-hda-tools/hda_proc.py", line 295, 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 'Non-Copyright')

As you can see in the attached alsa-info, the 'Digital' line reads

  Digital: Preemphasis Non-Copyright

on my system.

So I changed hda_proc.py:

283c283
<       'Copyright': DIG1_BITS['COPYRIGHT'],
---
>       'Non-Copyright': DIG1_BITS['COPYRIGHT'],

and now have essentially the same output as the previous posters:

# without TRRS headset with microphone 
 
$ sudo hda-jack-sense-test -a
Pin 0x09 (Green HP Out): present = No
Pin 0x0a (Internal Speaker): present = No
Pin 0x0b (Internal Speaker): present = No
Pin 0x0c (Blue Line In): present = No
Pin 0x0d (Internal Mic): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (White SPDIF In): present = No
Pin 0x10 (White SPDIF Out): present = No
Pin 0x12 (Pink Mic): present = No
Pin 0x15 (Not connected): present = No

# WITH TRRS headset with microphone

$ sudo hda-jack-sense-test -a
Pin 0x09 (Green HP Out): present = Yes
Pin 0x0a (Internal Speaker): present = No
Pin 0x0b (Internal Speaker): present = No
Pin 0x0c (Blue Line In): present = No
Pin 0x0d (Internal Mic): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (White SPDIF In): present = No
Pin 0x10 (White SPDIF Out): present = No
Pin 0x12 (Pink Mic): present = No
Pin 0x15 (Not connected): present = No


You wrote

> At this point I feel there is not much I can do without either having the 
> hardware at hand, or possibly somebody very patient to work with me remotely.

I am the 'very patient' volunteer although in real life I'm not at all
patient :) .

We could meet on irc or jabber, whatever you prefer.

-- 
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