Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 13:46:04 -0500
From:      "Diego F. Arias R." <dak.col@gmail.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        carmel_ny@hotmail.com, freebsd-questions@freebsd.org, Bernt Hansson <bernt@bah.homeip.net>
Subject:   Re: Compiling in sound driver in kernel
Message-ID:  <3b93bd110906111146v622be4ffxe285cb5ac0374106@mail.gmail.com>
In-Reply-To: <20090611181307.GA38748@slackbox.xs4all.nl>
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> <20090611181307.GA38748@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 11, 2009 at 1:13 PM, Roland Smith<rsmith@xs4all.nl> wrote:
> 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 a=
m
>> >>>> attempting to build.
>> >>>>
>> >>>> Using loader.conf, I have the 'snd_hda' driver presently being load=
ed.
>> >>>> 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?
>> >>>
>> >>> You're missing something:
>> >>>
>> >>> device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sound
>> >>>> device =C2=A0 snd_hda =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Sound driver
>> >> That doesn't help me. snd_hda driver won't load either way. I always
>> >> have to load it manualy.
>> >
>> > What is the exact error message that you get?
>>
>> None. No error message.
>
> So the kernel now builds correctly with 'device sound' and 'device snd_hd=
a'?
> If not, what message does the kernel build yield?
>
>> > What kind of hardware do you have?
>>
>> 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" t=
o
> /boot/loader.conf, as per the manual page?
>
> Roland
> --
> R.F.Smith =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.xs4all.n=
l/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914 =C2=A0B7CE 1277 EFB0 C321 A725 (KeyID: C321=
A725)
>

hello:

do you really need to compile it in the kernel or just allow the
module to auto-load at start-up?

--=20
mmm, interesante.....



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