Date: Thu, 04 Mar 1999 21:40:35 -0800 From: Ken Marx <kmarx@bigshed.com> To: freebsd-questions@FreeBSD.ORG, Ken Marx <kmarx@bigshed.com> Subject: yamaha opl-3 soundcard problem (2.2.8) Message-ID: <36DF6E53.7ADBC613@bigshed.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36DF6E53.7ADBC613>