Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Sound card drivers must be modules?
Date: Thu, 05 Nov 2009 16:13:38
Message-Id: 4AF2F9AA.2080405@gmail.com
In Reply to: Re: [gentoo-user] Re: Sound card drivers must be modules? by "Canek Peláez Valdés"
1 Canek Peláez Valdés wrote:
2 > On Thu, Nov 5, 2009 at 9:25 AM, Grant <emailgrant@×××××.com> wrote:
3 >
4 >>>>>> But I get the warning about "Module snd_hda_intel not found" which is
5 >>>>>> the built-in chip.
6 >>>>>>
7 >>>>> That's because you don't have that module, it's built into the kernel.
8 >>>>> This also means the the options lines in alsa.conf will not do anything.
9 >>>>>
10 >>>> OK, so I need to build them as modules, or I need to change those
11 >>>> lines in alsa.conf? If I can avoid building them as modules I'd like
12 >>>> to. How can those lines be written when the drivers are built into
13 >>>> the kernel?
14 >>>>
15 >>> This is from /etc/conf.d/alsasound:
16 >>>
17 >>> # LOAD_ON_START:
18 >>> # Do you want to load sound modules when alsasound starts?
19 >>> # Note: The Gentoo ALSA developers encourage you to build your sound
20 >>> # drivers into the kernel unless the device is hotpluggable or
21 >>> # you need to supply specific options (such as model= to HD-Audio).
22 >>> # no - Do not load modules
23 >>> # yes - Load modules
24 >>> LOAD_ON_START="yes"
25 >>>
26 >>> I've never had a hot-pluggable sound card, so I can only guess whether
27 >>> hald would somehow load that sound module for you.
28 >>>
29 >>> So say LOAD_ON_START="no", compile the on-board sound driver into the
30 >>> kernel and do the other one as a module -- and let us know if it works
31 >>> when you plug it in :o)
32 >>>
33 >> Thanks, I will try that right away. Is it necessary for me to keep
34 >> the USB sound driver as a module since it could be plugged in or not?
35 >> I can't build that one in too?
36 >>
37 >
38 > Of course you can. If the module is not being used (i.e., the USB card
39 > is not connected), it barely uses resources. In my desktop I have the
40 > gspca webcam module built-in, even if my webcam is not connected all
41 > the time. The same thing with things like USB gamepads.
42 >
43 > Regards.
44 >
45
46 I agree. I have USB stuff and I don't use any modules except the nvidia
47 driver. Modules are I think a handy when you need to switch things on
48 and off but I have never used a module except to test a driver to see
49 which driver I need. Even then I go back and compile it in.
50
51 Dale
52
53 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Re: Sound card drivers must be modules? Paul Hartman <paul.hartman+gentoo@×××××.com>