← Back to team overview

touch-packages team mailing list archive

[Bug 950494] Re: [Macbook Air 3, 2] headset mic not recognized

 

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
Touch seeded 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:
  Confirmed

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