FreeBSD and Sound
David
questions at huffstutler.com
Sun Aug 17 00:44:37 PDT 2003
The sb0 and opl0 started showing up after I recompiled the kernel with
"device pcm" as the only entry regarding sound.
pcm nor pcm0 show up in dmesg.
# grep pcm /var/run/dmesg.boot
#
Here is what is in the kernel:
# For Sound
device pcm
#For BrookTree 878 Capture Device
device bktr
Here is what is listed in dmesg:
sb0 at port 0x220 irq 5 drq 1 on isa0
snd0: <SoundBlaster Pro 3.1>
sb0: driver is using old-style compatability shims
opl0 at port 0x388 on isa0
snd0: <Yamaha OPL3 FM>
WARNING: "snd" is usurping "snd"'s cdevsw[]
opl0: driver is using old-style compatability shims
How can I get FBSD to only see opl0 and is the WARNING: anything to be
concerned with.
Thanks again,
David
----- Original Message -----
From: "Essetee" <serge at essetee.be>
To: "David" <david at huffstutler.com>
Sent: Friday, August 15, 2003 1:41 AM
Subject: Re: FreeBSD and Sound
> David wrote:
>
> >I tried adding a driver for my onboard-soundcard Yamaha OPL-3-SAx on
P200mmx, FreeBSD 4.7-Release.
> >
> >After reading the manual, I put these 2 entries in MYKERNEL:
> >(copied from LINT):
> >
> > device opl0 at isa? port 0x388
> > device pcm
> >
> >Rebuilt the kernel with:
> >
> > config MYKERNEL
> > cd ../../compile/MYKERNEL
> > make depend
> > make
> >
> >Now I get this error message after the make command:
> >
> >
> >Linking kernel
> > isa_compat.o(.data+0x4): undefined reference to `opldriver'
> > *** Error code 1
> >
> > Stop in /usr/src/sys/compile/MYKERNEL.
> >
> >Any ideas on how to fix?
> >Any good references to getting sound going would be greatly appreciated.
> >
> >Thanks,
> >David
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> >
>
> device opl0 at isa? port 0x388
>
> You don't need that, that's only voor isa boards.
>
> Only device pcm will work fine.
>
>
>
> --
> Essetee -- Roeselare -- Belgium
> URL : http://www.essetee.be
> MSN : Essetee at hotmail.com
> FreeBSD Operating System
>
>
>
>
More information about the freebsd-questions
mailing list