Date: Thu, 11 Jun 2009 20:13:07 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Bernt Hansson <bernt@bah.homeip.net> Cc: carmel_ny@hotmail.com, freebsd-questions@freebsd.org Subject: Re: Compiling in sound driver in kernel Message-ID: <20090611181307.GA38748@slackbox.xs4all.nl> In-Reply-To: <4A314577.8000102@bah.homeip.net> References: <BLU0-SMTP462B5A385FA31495A8FBC993450@phx.gbl> <20090610222823.GA7364@slackbox.xs4all.nl> <4A311DD9.7040405@bah.homeip.net> <20090611162538.GA35956@slackbox.xs4all.nl> <4A314577.8000102@bah.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090611181307.GA38748>