From owner-freebsd-questions Thu Mar 4 21:26:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mercury.dnai.com (mercury.dnai.com [207.181.194.99]) by hub.freebsd.org (Postfix) with ESMTP id 4086614CAA for ; Thu, 4 Mar 1999 21:26:39 -0800 (PST) (envelope-from kmarx@bigshed.com) Received: from bigshed.com (dnai-207-181-236-2.dialup.dnai.com [207.181.236.2]) by mercury.dnai.com (8.8.7/8.8.7) with ESMTP id VAA09859; Thu, 4 Mar 1999 21:26:21 -0800 (PST) Message-ID: <36DF6E53.7ADBC613@bigshed.com> Date: Thu, 04 Mar 1999 21:40:35 -0800 From: Ken Marx X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, Ken Marx Subject: yamaha opl-3 soundcard problem (2.2.8) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've been trying to get things to work using a yamaha/opl-3 soundcard on 2.2.8. (Note: I *have* done MAKEDEV snd0) If I build the kernel using the recomended: ############### controller snd0 device opl0 at isa? port 0x38a ############### Things build/boot fine, but operations apps/operations fail when using the device(s). E.g., cat test.au > /dev/audio yields: Operation not supported by device I saw a suggestion in the mail archives to use the Luigi way instead: ################ controller pnp0 device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr ################ (I copied the 2nd line verbatim from the conf/LINT file.) But when I do this, the build fails: -------------------- ../../i386/isa/snd/ad1848.c: In function `cs423x_attach': ../../i386/isa/snd/ad1848.c:1519: `pcmintr' undeclared (first use this function) ../../i386/isa/snd/ad1848.c:1519: (Each undeclared identifier is reported only once ../../i386/isa/snd/ad1848.c:1519: for each function it appears in.) ../../i386/isa/snd/ad1848.c: In function `opti931_attach': ../../i386/isa/snd/ad1848.c:1625: `pcmintr' undeclared (first use this function) ../../i386/isa/snd/ad1848.c: In function `opti925_attach': ../../i386/isa/snd/ad1848.c:1690: `pcmintr' undeclared (first use this function) ../../i386/isa/snd/ad1848.c: In function `guspnp_attach': ../../i386/isa/snd/ad1848.c:1740: warning: implicit declaration of function `pnp_write' ../../i386/isa/snd/ad1848.c:1751: `pcmintr' undeclared (first use this function) *** Error code 1 ---------------------- Can someone tell me what I'm missing/doing wrong? And/or what to do in order to make it work using either/both method? I'm obviously flying a bit blind here, so a pointer to *complete* instructions would really be appreciated. (E.g., if I'm to use pnp, are there MAKEDEV or -c boot steps that I need to perform?) Thanks in advance, k. -- Ken Marx, kmarx@bigshed.com Seediously. What I mean by zat is ze following. I want to capture mindshare and keep the faith regarding the technology plan. - http://cgi.bigshed.com/~kmarx/cgi-bin/speak.cgi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message