Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 09:16:35 -0800 (PST)
From:      "Freddie Cash" <fcash-ml@sd73.bc.ca>
To:        "Jorn Argelo" <jorn@wcborstel.nl>
Cc:        stable@freebsd.org
Subject:   Re: Standard sbc and pcm support in GENERIC kernel?
Message-ID:  <49180.192.168.0.185.1078334195.squirrel@mailtest.sd73.bc.ca>
In-Reply-To: <20040303160340.700C5170D4@www.wcborstel.nl>
References:  <20040303160340.700C5170D4@www.wcborstel.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> I've been on the question list for some time, and I have noticed that
> many people do not know how to get sound support up and
> running in FreeBSD 5.X. I know that re-compiling the kernel is easy
> enough, but there are still people not willing to do so, as I have
> noticed on the list. Therefor I thought it might be an idea to put
> sound support in the GENERIC kernel configuration, so that
> newbies will no longer find themselves stuck with that.

Something that has always stumped me about FreeBSD, especially about
people moving from Linux to FreeBSD, is the belief that one *must*
recompile the kernel for sound support.  Why??  There are kernel
modules already compiled for sound support, just sitting there on your
harddrive.  Why not use them??

Getting sound to work is as easy as:
	- kldload snd_driver
	- cat /dev/sndstat
	- kldunload snd_driver
	- kldload snd_pcm
	- and sometimes, kldload snd_<driver from sndstat>
	- edit /boot/loader.conf to autoload the correct driver

No kernel recompile required.

> I hope to hear other people's opinion about this.

I'd prefer to see sound left out of the GENERIC kernel.  Not all
soundcards are supported by pcm, or by sbc, or by csa, or by gus, and
putting all of those into the kernel will add quite a bit of bloat. 
GENERIC should support the most common hardware, not everything under
the sun.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49180.192.168.0.185.1078334195.squirrel>