Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2003 02:43:20 -0500
From:      "David" <questions@huffstutler.com>
To:        <freebsd-questions@freebsd.org>, "Essetee" <serge@essetee.be>
Subject:   Re: FreeBSD and Sound
Message-ID:  <001f01c36493$4746fab0$6601a8c0@crank>
References:  <000001c36206$0c9e69a0$6601a8c0@crank> <3F3C8097.5060100@essetee.be>

next in thread | previous in thread | raw e-mail | index | archive | help
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@essetee.be>
To: "David" <david@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@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@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@hotmail.com
> FreeBSD Operating System
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001f01c36493$4746fab0$6601a8c0>