On Tue, Sep 10, 2013 at 09:28:38PM +0200, Stefan Wollny wrote:
> Hi there,
>  
> hope, s.o. can provide a clue on why I have no sound on my iMac, which with 
> OS-X has no issues with sound at all. Full dmesg at the end.

Most/all? of the apple machines seem to have audio wired up strangely
and require various quirks.  Try this

Index: azalia_codec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.154
diff -u -p -r1.154 azalia_codec.c
--- azalia_codec.c      27 May 2013 21:19:31 -0000      1.154
+++ azalia_codec.c      11 Sep 2013 04:11:32 -0000
@@ -137,11 +137,13 @@ azalia_codec_init_vtbl(codec_t *this)
                this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;
                if (this->subid == 0x00a1106b ||        /* APPLE_MB3 */
                    this->subid == 0x00a0106b ||        /* APPLE_MB3_1 */
-                   this->subid == 0x00a3106b) {        /* APPLE_MB4 */
+                   this->subid == 0x00a3106b ||        /* APPLE_MB4 */
+                   this->subid == 0x4300106b) {        /* iMac 9,1 */
                        this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
                }
                if (this->subid == 0x00a1106b ||
-                   this->subid == 0x00a0106b)
+                   this->subid == 0x00a0106b ||
+                   this->subid == 0x4300106b)
                        this->qrks |= AZ_QRK_WID_OVREF50;
                break;
        case 0x10ec0888:

Reply via email to