Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Sound card drivers must be modules?
Date: Wed, 04 Nov 2009 22:44:33
Message-Id: 200911042244.27774.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Re: Sound card drivers must be modules? by "Canek Peláez Valdés"
1 On Wednesday 04 November 2009 20:02:03 Canek Peláez Valdés wrote:
2 > On Wed, Nov 4, 2009 at 11:30 AM, Grant <emailgrant@×××××.com> wrote:
3 > >>> But I get the warning about "Module snd_hda_intel not found" which is
4 > >>> the built-in chip.
5 > >>
6 > >> That's because you don't have that module, it's built into the kernel.
7 > >> This also means the the options lines in alsa.conf will not do anything.
8 > >
9 > > OK, so I need to build them as modules, or I need to change those
10 > > lines in alsa.conf? If I can avoid building them as modules I'd like
11 > > to. How can those lines be written when the drivers are built into
12 > > the kernel?
13 >
14 > You pass the parameters in the kernel boot line. For examen, in my
15 > grub.conf I have:
16 >
17 > title Gentoo Linux (linux-2.6.31.5)
18 > root (hd0,3)
19 > kernel /boot/kernel-2.6.31.5 root=/dev/sda4 quiet udev
20 > splash=silent,fadein,theme:natural_gentoo CONSOLE=/dev/tty1
21 > iwlagn.swcrypto=1 snd-hda-intel.model=basic
22 > initrd /boot/initrd-2.6.31.5
23 >
24 > I have two parameters for my built-in modules: for the iwlagn module,
25 > the parameter swcrypto=1, and for the snd-hda-intel the parameter
26 > model= basic. In general, for a built-in module called "module", you
27 > pass the parameter "parm" with value "val" this way:
28 >
29 > module.parm=val
30 >
31 > As of now, in my laptop I have *all* my modules built-in. In other
32 > machines, I have modules where there is no other option (like nvidia
33 > drivers, LIRC, ndiswrapper, stuff like that).
34
35 I used to have my alsa drivers which are different to the OP, built in the
36 kernel. For years on end. Then alsasound stop working - something like 5
37 kernels back, can't recall exactly. I had to build alsa separately as
38 modules. Haven't tried to go back to building them in the kernel again.
39
40 YMMV.
41 --
42 Regards,
43 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature