On Wed, 15 May 2013 at 13:53:12 +1000, Jonathan Gray wrote:
> With apple machines it is more along the lines of what stupid
> quirk does it need this time?
> 
> Perhaps something along the lines of

Yep, this works for me.  Plays through the speakers by default and
switches to headphones when they're plugged in.  Thanks.

> Index: azalia_codec.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
> retrieving revision 1.152
> diff -u -p -r1.152 azalia_codec.c
> --- azalia_codec.c    30 Nov 2012 12:05:45 -0000      1.152
> +++ azalia_codec.c    15 May 2013 03:51:07 -0000
> @@ -66,7 +66,8 @@ azalia_codec_init_vtbl(codec_t *this)
>       switch (this->vid) {
>       case 0x10134206:
>               this->name = "Cirrus Logic CS4206";
> -             if (this->subid == 0xcb8910de) {        /* APPLE_MBA3_1 */
> +             if (this->subid == 0xcb8910de ||        /* APPLE_MBA3_1 */
> +                 this->subid == 0x72708086) {        /* APPLE_MBA4_1 */
>                       this->qrks |= AZ_QRK_GPIO_UNMUTE_1 |
>                           AZ_QRK_GPIO_UNMUTE_3;
>               }

Reply via email to