Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2018 13:58:06 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Alexander Sieg <alex@xanderio.de>, FreeBSD Current <current@freebsd.org>
Subject:   Re: Building kernel with no sound
Message-ID:  <1516049886.11182.24.camel@freebsd.org>
In-Reply-To: <86tvvn2dlq.fsf@xanderio.de>
References:  <86tvvn2dlq.fsf@xanderio.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2018-01-15 at 19:14 +0100, Alexander Sieg wrote:
> Hey,
> i´m trying to build a custom kernel with no sound support build in.
> 
> This is my make.conf:
> MALLOC_PRODUCTION=true
> KERNCONF=MYKERNEL #GENERIC-NODEBUG
> DEVELOPER=yes
> 
> and this is my kernel configuration:
> include GENERIC-NODEBUG
> 
> ident   MYKERNEL
> 
> nodevice	sound 		# Generic sound driver (required)
> nodevice	snd_es137x	# Ensoniq AUdioPCI ES137x
> nodevice	snd_hda		# Intel High Definition Audio
> nodevice	snd_ich		# Intel, Nvidia and other ICH AC'97 audio
> nodevice	snd_uaudio	# USB Audio
> nodevice	snd_via8233	# VIA VT823x Audio
> 
> 
> The problem is when i try to compile it with "make buildkernel" the
> build process starts, but it stop with the error that it can´t find the
> header file "channel_if.h".
> 
> /usr/src/sys/dev/sound/pcm/channel.h:256:10: fatal error: 'channel_if.h' file not found
> #include "channel_if.h"
>          ^~~~~~~~~~~~~~
> 
> The intention behind the custom kernel is to try 'oss' form the
> ports tree.

I think your nodevice list isn't quite complete.  Grepping for snd_ in
i386 and amd64 GENERIC, I come up with this list:

 snd_cmi      # CMedia CMI8338/CMI8738
 snd_csa      # Crystal Semiconductor CS461x/428x
 snd_emu10kx  # Creative SoundBlaster Live! and Audigy
 snd_es137x   # Ensoniq AudioPCI ES137x
 snd_hda      # Intel High Definition Audio
 snd_ich      # Intel, NVidia and other ICH AC'97 Audio
 snd_via8233  # VIA VT8233x Audio

-- Ian



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