Compiling in sound driver in kernel

Manolis Kiagias sonicy at otenet.gr
Wed Jun 10 22:22:30 UTC 2009


Carmel wrote:
> This is my first attempt to compile in a driver in a new kernel I am
> attempting to build.
>
> Using loader.conf, I have the 'snd_hda' driver presently being loaded.
> I want to compile it directly into the kernel. I tried this:
>
> device	snd_hda		# Sound driver
>
> Unfortunately, the kernel will not build. What is the proper way to
> build a kernel with sound embedded into it?
>
> Thanks!
>
>   
Well, just add the following line too:

device sound

(This is automatically loaded too when the module is used)


More information about the freebsd-questions mailing list