From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 00:44:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F77A37B401 for ; Sun, 17 Aug 2003 00:44:37 -0700 (PDT) Received: from phear.huffstutler.com (9-28.lctv-a4.cablelynx.com [24.204.9.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2686F43F3F for ; Sun, 17 Aug 2003 00:44:17 -0700 (PDT) (envelope-from questions@huffstutler.com) Received: from crank ([192.168.1.102]) by phear.huffstutler.com (8.12.6/8.12.6) with SMTP id h7H7hRZJ009133; Sun, 17 Aug 2003 02:43:29 -0500 (CDT) (envelope-from questions@huffstutler.com) Message-ID: <001f01c36493$4746fab0$6601a8c0@crank> From: "David" To: , "Essetee" References: <000001c36206$0c9e69a0$6601a8c0@crank> <3F3C8097.5060100@essetee.be> Date: Sun, 17 Aug 2003 02:43:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: FreeBSD and Sound X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 07:44:37 -0000 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: sb0: driver is using old-style compatability shims opl0 at port 0x388 on isa0 snd0: 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" To: "David" 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 > > > >