There is now an experimental fix for the headset (combo jack) mic on the
CS4208 — but only for the MacBookAir6,1/6,2 so far:

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

What it does: on these machines the mic line is only connected when the
codec's GPIO4 (a headset switch) is driven and a vendor coefficient is
set, as macOS does; the kernel's MacBookAir6 fixup leaves the pin
disabled. The fix also detects whether the plugged device actually has a
mic (3-pole headphones are told apart) and switches between the internal
and headset mic automatically. It is packaged with DKMS, tested on a
MacBookAir6,1 with an Ubuntu 7.0 kernel. The behaviour was found by
studying the macOS driver's behaviour (no Apple code is used); the work
was done with the help of an AI coding assistant, which is disclosed in
the repository.

It does NOT apply to the MacBookPro11,x (the reporter's model) or other
models yet: the fix only activates on the MacBookAir6,x subsystem IDs,
and the macOS data for the MacBookPro11,x uses a different headset
switch setup, so it needs its own investigation. The mechanism looks
similar, though, and the MacBookAir7,x may even share the MacBookAir6,x
setup.

If you own one of the other CS4208 Macs mentioned here (MacBookPro11,x,
MacBookAir7,x, ...) and want to help, please add your model and the
output of

grep -E 'Codec|Subsystem' /proc/asound/card*/codec#0
to this issue: https://github.com/iskigow/macbookair6-cs4208/issues/14

MacBookAir6,2 owners: testing reports are very welcome too:
https://github.com/iskigow/macbookair6-cs4208/issues/7

The goal is to mature the fix with more testers and then propose it to
the upstream kernel.

** 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/1393502

Title:
  [MacBookPro11,3, Cirrus Logic CS4208, Pink Mic] Combo jack not
  recognized.

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


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

Reply via email to