From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 22:25:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5441065733 for ; Wed, 10 Jun 2009 22:25:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D1B648FC26 for ; Wed, 10 Jun 2009 22:25:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx01.qsc.de (Postfix) with ESMTP id A6C313CB1C; Thu, 11 Jun 2009 00:25:04 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5AMOxaW002200; Thu, 11 Jun 2009 00:24:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 11 Jun 2009 00:24:59 +0200 From: Polytropon To: carmel_ny@hotmail.com, FreeBSD Question Message-Id: <20090611002459.10b4765a.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Carmel Subject: Re: Compiling in sound driver in kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 22:25:06 -0000 On Wed, 10 Jun 2009 18:11:56 -0400, 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? 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. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...