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 Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/950494

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

Status in “alsa-driver” package in Ubuntu:
  Incomplete

Bug description:
  == Summary ==
  Since upgrading a MacBook Air from 11.10 to 12.04 the headset microphone is 
no longer recognized.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.94-0ubuntu2
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jon        1864 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'NVidia'/'HDA NVidia at 0xd3280000 irq 16'
     Mixer name : 'Nvidia MCP89 HDMI'
     Components : 'HDA:10134206,106b3d00,00100301 
HDA:10de000c,10de0101,00100200'
     Controls      : 36
     Simple ctrls  : 12
  Date: Thu Mar  8 21:09:23 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64+mac 
(20111012)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Title: USB sound card not detected
  UpgradeStatus: Upgraded to precise on 2012-03-05 (3 days ago)
  dmi.bios.date: 11/18/10
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBA31.88Z.0061.B01.1011181342
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-942C5DF58193131B
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookAir3,2
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-942C5DF58193131B
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBA31.88Z.0061.B01.1011181342:bd11/18/10:svnAppleInc.:pnMacBookAir3,2:pvr1.0:rvnAppleInc.:rnMac-942C5DF58193131B:rvrMacBookAir3,2:cvnAppleInc.:ct10:cvrMac-942C5DF58193131B:
  dmi.product.name: MacBookAir3,2
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to