Compiling in sound driver in kernel
rsmith at xs4all.nl
Thu Jun 11 18:14:10 UTC 2009
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?
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090611/6270d763/attachment.pgp
More information about the freebsd-questions