From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 23 09:22:29 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B74A16A4CE for ; Wed, 23 Feb 2005 09:22:29 +0000 (GMT) Received: from mail.el.net (mail.el.net [68.165.89.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id C022643D5C for ; Wed, 23 Feb 2005 09:22:28 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 94267 invoked by uid 1008); 23 Feb 2005 09:22:29 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 23 Feb 2005 09:22:29 -0000 Received: from 24.90.34.93 (SquirrelMail authenticated user kalin@el.net); by mail.el.net with HTTP; Wed, 23 Feb 2005 04:22:29 -0500 (EST) Message-ID: <60185.24.90.34.93.1109150549.squirrel@24.90.34.93> In-Reply-To: <20050222110140.GA68890@straylight.m.ringlet.net> References: <49557.24.90.34.93.1109067200.squirrel@24.90.34.93> <20050222110140.GA68890@straylight.m.ringlet.net> Date: Wed, 23 Feb 2005 04:22:29 -0500 (EST) From: "kalin mintchev" To: "Peter Pentchev" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-mobile@freebsd.org Subject: Re: snd_sb8 sound blaster PRO X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 09:22:29 -0000 thanks... but it didn't work... i have compiled the sound and snd_sbc devices in the kernel and load the driver via the loader.conf. kldstat says snd_sb8.ko is loaded. the volume control doesn't work and i tried it with the default cd player. the player works fine and it plays the cd but no sound is coming out of the speakers.... any other ideas? thanks again... > On Tue, Feb 22, 2005 at 05:13:20AM -0500, kalin mintchev wrote: >> hi all.... >> >> ok.. trying to build sound kernel support on a t30 thinkpad with >> 5.3-RELEASE. >> according the ibm website the card is Sound Blaster Pro compatible. >> according to the /boot/defaults/loader.conf the driver is snd_sb8 >> >> so following the instructions in the handbook i put this in my custom >> kernel >> >> device sound >> device "snd_sb8" >> >> make depend is ok. make stops with this: > [snip] >> linking kernel >> sb8.o(.text+0x11): In function `sb_lock': >> : undefined reference to `sbc_lock' >> sb8.o(.text+0x29): In function `sb_unlock': >> : undefined reference to `sbc_unlock' >> *** Error code 1 > > Take a look at the src/sys/conf/NOTES file; the comment that describes > snd_sb8 also says 'to be used in conjunction with snd_sbc'. Try adding > a device "snd_sbc" line to your kernel config file, see if it helps :) > > Also, there may be no need to compile the sound driver into the kernel. > If you have not defined a MODULES_OVERRIDE variable in your environment > or your /etc/make.conf file, then, by default, the kernel building > process will also build all modules. All that you need after that is to > either manually issue a 'kldload snd_sb8' command, or add to your > /boot/loader.conf a line saying: > > snd_sb8_load="YES" > > ...as documented in the loader.conf(5) manual page. > > Hope that helps! > > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 > Thit sentence is not self-referential because "thit" is not a word. > --