Compiling in sound driver in kernel
Diego F. Arias R.
dak.col at gmail.com
Thu Jun 11 18:46:06 UTC 2009
On Thu, Jun 11, 2009 at 1:13 PM, Roland Smith<rsmith at 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 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:
>> >>>> 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 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.
>> >
>> > 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_hda'?
> 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="YES" to
> /boot/loader.conf, as per the manual page?
>
> Roland
> --
> 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)
>
hello:
do you really need to compile it in the kernel or just allow the
module to auto-load at start-up?
--
mmm, interesante.....
More information about the freebsd-questions
mailing list