> Date: Fri, 10 Sep 2021 18:27:07 -0600
> From: Tracey Emery <[email protected]>
>
> Hello,
>
> After reading some Linux commits, it shows the GPIO2 on the CS4206 chips
> needs to be unmuted to make the headphone jack work. The following diff
> fixed the headphone jack problem on my iMac12,2, amd64.
>
> ok?
I don't think this is right. The Linux code either frobs GPIOs 1 & 2
or GPIOs 1 & 3.
I also don't quite see how this would match the iMac12,2. Can you
show the pcidump -vxx output for this machine?
> diff 51d7e35078715d4d1d1e1bf2fb89362bad8797d8 /usr/src
> blob - e3b969d585a96910eca98d31bedc8ba08455f763
> file + sys/dev/pci/azalia_codec.c
> --- sys/dev/pci/azalia_codec.c
> +++ sys/dev/pci/azalia_codec.c
> @@ -71,7 +71,7 @@ azalia_codec_init_vtbl(codec_t *this)
> this->subid == 0x72708086 || /* APPLE_MBA4_1 */
> this->subid == 0xcb7910de) { /* APPLE_MBP5_5 */
> this->qrks |= AZ_QRK_GPIO_UNMUTE_1 |
> - AZ_QRK_GPIO_UNMUTE_3;
> + AZ_QRK_GPIO_UNMUTE_2 | AZ_QRK_GPIO_UNMUTE_3;
> }
> break;
> case 0x10134208:
>
>