Compiling in sound driver in kernel

Polytropon freebsd at
Wed Jun 10 22:25:06 UTC 2009

On Wed, 10 Jun 2009 18:11:56 -0400, Carmel <Carmel_NY at> 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?

I have this:

	# Sound
	device          sound
	device          snd_cmi

As far as I know, both "sound" and "snd_*" for your particular hardware
is needed in the kernel configuration file. I'm not sure if only "device
sound" is sufficient and / or will load snd_* required automatically.

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list