Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Re: Sound card drivers must be modules? Dale <rdalek1967@×××××.com>