From owner-freebsd-questions Mon Jan 17 11:26:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cbl-dylanal.hs.earthlink.net (CBL-dylanal.hs.earthlink.net [209.178.120.180]) by hub.freebsd.org (Postfix) with ESMTP id 797DA1523E for ; Mon, 17 Jan 2000 11:25:40 -0800 (PST) (envelope-from dylan@cbl-dylanal.hs.earthlink.net) Received: (from dylan@localhost) by cbl-dylanal.hs.earthlink.net (8.9.3/8.9.3) id LAA02385; Mon, 17 Jan 2000 11:26:11 -0800 (PST) (envelope-from dylan) Date: Mon, 17 Jan 2000 11:26:11 -0800 From: -DAL- To: Mark.Einreinhof@hurlburt.af.mil Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crystal Sound Kernel compile Message-ID: <20000117112611.A1443@cbl-dylanal.hs.earthlink.net> Reply-To: -DAL- References: <856532CB07BED3118FE300204840E28A10424D@VEXWNCC02> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <856532CB07BED3118FE300204840E28A10424D@VEXWNCC02>; from Mark.Einreinhof@hurlburt.af.mil on Mon, Jan 17, 2000 at 12:05:38PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 17, 2000 at 12:05:38PM -0600, Mark.Einreinhof@hurlburt.af.mil wrote: > Hi, > > I'm trying to get sound compiled into my kernel. Reading the FAQs, LINT, > mail archives, and sound.doc, I'm left confused but still trying. My machine > is a celeron 366, with a Crystal CS4280 on the motherboard. I'm running > FreeBSD 3.3. I copied the line that is in LINT into my kernel and I get the > following errors: > > cs4232.o: In function `attach_cs4232': > cs4232.o(.text+0x1ca): undefined reference to `probe_mpu401' > cs4232.o(.text+0x1e5): undefined reference to `attach_mpu401' > *** Error code 1 > > Stop > > Any thoughts? I've even tried that device pcm, but that had tons of errors. > > Please also send replies to me as I am not on the mail list for about the > next two months. > > Thanks. > Mark, I have a Crystal based sound card as well, its not a 4280 rather its scans as a: --begin-- CSN 1 Vendor ID: CSC0b35 [0x350b630e] Serial 0xffffffff Comp ID: @@@0000 [0x0000 0000] mss_attach 1 at 0x530 irq 10 dma 3:3 flags 0x14 pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 10 drq 3 flags 0x14 on isa --end-- here's what I have in my kernel config to get it to work: --begin-- # Enable PnP support in the kernel. This allows you to automaticaly # attach to PnP cards for drivers that support it and allows you to # configure cards from USERCONFIG. See pnp(4) for more info. controller pnp0 # sound device pcm0 at isa? port? tty irq 5 drq 1 flags 0x15 --end-- I then added the following to /boot/kernel.config --begin-- pnp 1 0 os enable port0 0x534 port2 0x220 irq0 5 drq0 1 drq1 3 --end-- The above came out of the freebsd-questions archives and pnpinfo(8) command. And I am not sure if its really necessary, but I do have sound and haven't made the time yet to play around with it. Notice that the IRQs are different which seems a little strange but like I said I've got sound working ;) Finally I rebooted, made the appropriate devices in /dev (sh MAKEDEV snd1) and was off and running. HTH -DAL- -- -DAL- dylanal@NOSPAMearthlink.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message