From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 18:14:10 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 32564106566B for ; Thu, 11 Jun 2009 18:14:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1878FC0C for ; Thu, 11 Jun 2009 18:14:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id n5BID8s7052670; Thu, 11 Jun 2009 20:13:08 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E476EBA8C; Thu, 11 Jun 2009 20:13:07 +0200 (CEST) Date: Thu, 11 Jun 2009 20:13:07 +0200 From: Roland Smith To: Bernt Hansson Message-ID: <20090611181307.GA38748@slackbox.xs4all.nl> References: <20090610222823.GA7364@slackbox.xs4all.nl> <4A311DD9.7040405@bah.homeip.net> <20090611162538.GA35956@slackbox.xs4all.nl> <4A314577.8000102@bah.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <4A314577.8000102@bah.homeip.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: carmel_ny@hotmail.com, freebsd-questions@freebsd.org Subject: Re: Compiling in sound driver in kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 18:14:10 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: > Roland Smith: > > On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: > >> Roland Smith: > >>> On Wed, Jun 10, 2009 at 06:11:56PM -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 loade= d. > >>>> I want to compile it directly into the kernel. I tried this: > >>>> Unfortunately, the kernel will not build. What is the proper way to > >>>> build a kernel with sound embedded into it? > >>> =20 > >>> You're missing something: > >>> =20 > >>> device sound > >>>> device snd_hda # Sound driver > >> That doesn't help me. snd_hda driver won't load either way. I always > >> have to load it manualy. > >=20 > > What is the exact error message that you get? >=20 > None. No error message. So the kernel now builds correctly with 'device sound' and 'device snd_hda'? If not, what message does the kernel build yield? > > What kind of hardware do you have? >=20 > MB: Gigabyte GA-MA790fx-DS5 Ok, the ALC889 on board is listed as supported by snd_hda(4). BTW, have a look at the BUGS section of snd_hda(4). Maybe your problem is related to this. If loading the module works, have you tried adding snd_hda_load=3D"YES" to /boot/loader.conf, as per the manual page? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoxSTMACgkQEnfvsMMhpyVivACePlaDtEA5aiWV0v9OPe5OQ2NM m98An1cHJPe60WsjS/5dXVGNeEsfeknT =CtVm -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--