From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 22 11:01:43 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 7BD0716A4CE for ; Tue, 22 Feb 2005 11:01:43 +0000 (GMT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id DF48143D31 for ; Tue, 22 Feb 2005 11:01:41 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 12814 invoked from network); 22 Feb 2005 11:01:38 -0000 Received: from unknown (HELO straylight.ringlet.net) (213.16.36.109) by gandalf.online.bg with SMTP; 22 Feb 2005 11:01:38 -0000 Received: (qmail 74595 invoked by uid 1000); 22 Feb 2005 11:01:40 -0000 Date: Tue, 22 Feb 2005 13:01:40 +0200 From: Peter Pentchev To: kalin mintchev Message-ID: <20050222110140.GA68890@straylight.m.ringlet.net> Mail-Followup-To: kalin mintchev , freebsd-mobile@FreeBSD.org References: <49557.24.90.34.93.1109067200.squirrel@24.90.34.93> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <49557.24.90.34.93.1109067200.squirrel@24.90.34.93> User-Agent: Mutt/1.5.8i 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: Tue, 22 Feb 2005 11:01:43 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2005 at 05:13:20AM -0500, kalin mintchev wrote: > hi all.... >=20 > 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 >=20 > so following the instructions in the handbook i put this in my custom ker= nel >=20 > device sound > device "snd_sb8" >=20 > 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=3D"YES" =2E..as documented in the loader.conf(5) manual page. Hope that helps! G'luck, Peter --=20 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. --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGxEU7Ri2jRYZRVMRAoHTAJ9Yzno2H4U6iZ881U35Fi5G0lnhswCeP+bP xzrxO3Mh9oiywNFQWesxAGo= =Jgar -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--