There is now an experimental fix for the headset mic of the
MacBookAir6,1/6,2 (Cirrus CS4208, subsystem IDs 106b:7100 / 106b:7200):

  https://github.com/iskigow/macbookair6-cs4208

On a MacBookAir6,1 with Ubuntu's 7.0.0-43/-44-generic kernels:
- the mic of a 4-pole (CTIA) headset records;
- plugging a headset switches the input to it;
- 3-pole headphones or unplugging go back to the internal mic.

This completes the CS4208 "mba6" fixup added in 2013 (commit b5bf0a92,
mentioned in comment #3), which fixed the speakers and headphone
detection but not the headset mic.

The cause: the headset mic line is only connected when codec GPIO4 is
driven high and a vendor coefficient is set, which Linux never did. On
top of that, the pin has no presence detection; the driver now uses the
codec's mic comparator, as macOS does. The settings were found by
studying how the macOS driver behaves (for interoperability); no Apple
code is used. The work was done with the help of an AI coding assistant
and tested on the hardware by me; the repository documents this.

It is packaged with DKMS (source only, latest release v0.1.1) and
refuses to build on kernels whose internal ALSA headers were not
verified, so on other kernels nothing changes. Install, test and report
instructions are in the README and docs/testing.md; my own test report
is https://github.com/iskigow/macbookair6-cs4208/issues/16

Owners of the other machines mentioned in this bug (MacBookPro11,3,
MacBook10,2, ...): the fix does not activate on your models, but codec
information for them is welcome here:

  https://github.com/iskigow/macbookair6-cs4208/issues/14

The goal is to mature the patches in public and then submit them to the
kernel. Test reports would help a lot, especially from MacBookAir6,2
owners (nobody has tested it yet) and from people on other kernels:

  https://github.com/iskigow/macbookair6-cs4208/issues/7

** Bug watch added: github.com/iskigow/macbookair6-cs4208/issues #16
   https://github.com/iskigow/macbookair6-cs4208/issues/16

** Bug watch added: github.com/iskigow/macbookair6-cs4208/issues #14
   https://github.com/iskigow/macbookair6-cs4208/issues/14

** Bug watch added: github.com/iskigow/macbookair6-cs4208/issues #7
   https://github.com/iskigow/macbookair6-cs4208/issues/7

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

Title:
  MacBook Air 6,2 TRRS Headset Mic Not Working

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to