Re: snd_sb8 sound blaster PRO

Peter Pentchev <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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	[email protected]    [email protected]    [email protected]
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.
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCGxEU7Ri2jRYZRVMRAoHTAJ9Yzno2H4U6iZ881U35Fi5G0lnhswCeP+bP
xzrxO3Mh9oiywNFQWesxAGo=
=Jgar
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.