Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2008 17:48:25 +0200
From:      "Marco Trillo" <marcotrillo@gmail.com>
To:        "Andreas Tobler" <andreast-list@fgznet.ch>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Apple Screamer Audio: looking for testers
Message-ID:  <b9c23c9f0810060848g4ed97109w11a4379c17816825@mail.gmail.com>
In-Reply-To: <48EA1A3D.3010607@fgznet.ch>
References:  <b9c23c9f0809300231q15466ea7m668838593ba288be@mail.gmail.com> <48EA1A3D.3010607@fgznet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, Oct 6, 2008 at 4:01 PM, Andreas Tobler <andreast-list@fgznet.ch> wrote:
>> - "PowerMac2,2"  iMac DV ('00) (screamer, Device ID 11)
>
> This is one I own and it runs with CURRENT now.
>
> Tell me what to do. I picked the aoa.c from one your recent mails plus the
> dbma patch. Is there something else needed?

Thank you for the interest!

Just put the aoa.c file in sys/powerpc/powermac and enable the aoa.c
driver in the kernel config, as in the following patch, and compile
the kernel:

--- conf/files.powerpc.orig  2008-10-04 17:12:47.000000000 +0000
+++ conf/files.powerpc       2008-10-04 17:13:09.000000000 +0000
@@ -107,6 +107,7 @@
 powerpc/ofw/ofw_pci.c          optional        pci aim
 powerpc/ofw/ofw_pcib_pci.c     optional        pci aim
 powerpc/ofw/ofw_syscons.c      optional        sc aim
+powerpc/powermac/aoa.c         optional        powermac pci aoa
 powerpc/powermac/ata_kauai.c   optional        powermac ata
 powerpc/powermac/ata_macio.c   optional        powermac ata
 powerpc/powermac/ata_dbdma.c   optional        powermac ata
--- powerpc/conf/GENERIC     2008-08-20 08:31:58.000000000 +0000
+++ powerpc/conf/GENERIC     2008-10-04 17:14:19.000000000 +0000
@@ -79,6 +79,10 @@
 # Standard busses
 device         pci

+# Sound devices
+device         sound
+device         aoa             # Apple Onboard Audio (AOA)
+
 # ATA and ATAPI devices
 device         ata
 device         atadisk         # ATA disk drives

Hope it works fine for you,
Marco.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b9c23c9f0810060848g4ed97109w11a4379c17816825>