public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Sound card drivers must be modules?
@ 2009-11-04 16:48 Grant
  2009-11-04 17:03 ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 17+ messages in thread
From: Grant @ 2009-11-04 16:48 UTC (permalink / raw
  To: Gentoo mailing list

I'm trying to configure my laptop's internal sound card and external
USB sound card.  I have /etc/modprobe.d/alsa.conf:

alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0

alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

and restarting alsasound I get:

WARNING: Module snd_hda_intel not found.
WARNING: Module snd_usb_audio not found.

Do I have to compile both drivers as modules in order to use them both?

- Grant



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Sound card drivers must be modules?
  2009-11-04 16:48 [gentoo-user] Sound card drivers must be modules? Grant
@ 2009-11-04 17:03 ` Nikos Chantziaras
  2009-11-04 17:25   ` Grant
  0 siblings, 1 reply; 17+ messages in thread
From: Nikos Chantziaras @ 2009-11-04 17:03 UTC (permalink / raw
  To: gentoo-user

On 11/04/2009 06:48 PM, Grant wrote:
> I'm trying to configure my laptop's internal sound card and external
> USB sound card.  I have /etc/modprobe.d/alsa.conf:
>
> alias snd-card-0 snd-hda-intel
> options snd-hda-intel index=0
>
> alias snd-card-1 snd-usb-audio
> options snd-usb-audio index=1
>
> and restarting alsasound I get:
>
> WARNING: Module snd_hda_intel not found.
> WARNING: Module snd_usb_audio not found.
>
> Do I have to compile both drivers as modules in order to use them both?

For the built-in chip, no.

For the USB card, not if you have it plugged in at boot time.  But 
better build this one as a module since USB devices can be plugged in 
and out at random.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 17:03 ` [gentoo-user] " Nikos Chantziaras
@ 2009-11-04 17:25   ` Grant
  2009-11-04 17:27     ` Neil Bothwick
  0 siblings, 1 reply; 17+ messages in thread
From: Grant @ 2009-11-04 17:25 UTC (permalink / raw
  To: gentoo-user

>> I'm trying to configure my laptop's internal sound card and external
>> USB sound card.  I have /etc/modprobe.d/alsa.conf:
>>
>> alias snd-card-0 snd-hda-intel
>> options snd-hda-intel index=0
>>
>> alias snd-card-1 snd-usb-audio
>> options snd-usb-audio index=1
>>
>> and restarting alsasound I get:
>>
>> WARNING: Module snd_hda_intel not found.
>> WARNING: Module snd_usb_audio not found.
>>
>> Do I have to compile both drivers as modules in order to use them both?
>
> For the built-in chip, no.

But I get the warning about "Module snd_hda_intel not found" which is
the built-in chip.

- Grant


> For the USB card, not if you have it plugged in at boot time.  But better
> build this one as a module since USB devices can be plugged in and out at
> random.



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 17:25   ` Grant
@ 2009-11-04 17:27     ` Neil Bothwick
  2009-11-04 17:30       ` Grant
  0 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2009-11-04 17:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

On Wed, 4 Nov 2009 09:25:21 -0800, Grant wrote:

> But I get the warning about "Module snd_hda_intel not found" which is
> the built-in chip.

That's because you don't have that module, it's built into the kernel.
This also means the the options lines in alsa.conf will not do anything.


-- 
Neil Bothwick

Light travels faster than sound. This is why some people appear bright
until you hear them speak.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 17:27     ` Neil Bothwick
@ 2009-11-04 17:30       ` Grant
  2009-11-04 18:19         ` walt
  2009-11-04 20:02         ` Canek Peláez Valdés
  0 siblings, 2 replies; 17+ messages in thread
From: Grant @ 2009-11-04 17:30 UTC (permalink / raw
  To: gentoo-user

>> But I get the warning about "Module snd_hda_intel not found" which is
>> the built-in chip.
>
> That's because you don't have that module, it's built into the kernel.
> This also means the the options lines in alsa.conf will not do anything.

OK, so I need to build them as modules, or I need to change those
lines in alsa.conf?  If I can avoid building them as modules I'd like
to.  How can those lines be written when the drivers are built into
the kernel?

- Grant



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Sound card drivers must be modules?
  2009-11-04 17:30       ` Grant
@ 2009-11-04 18:19         ` walt
  2009-11-05 15:25           ` Grant
  2009-11-04 20:02         ` Canek Peláez Valdés
  1 sibling, 1 reply; 17+ messages in thread
From: walt @ 2009-11-04 18:19 UTC (permalink / raw
  To: gentoo-user

On 11/04/2009 09:30 AM, Grant wrote:
>>> But I get the warning about "Module snd_hda_intel not found" which is
>>> the built-in chip.
>>
>> That's because you don't have that module, it's built into the kernel.
>> This also means the the options lines in alsa.conf will not do anything.
> 
> OK, so I need to build them as modules, or I need to change those
> lines in alsa.conf?  If I can avoid building them as modules I'd like
> to.  How can those lines be written when the drivers are built into
> the kernel?

This is from /etc/conf.d/alsasound:

# LOAD_ON_START:
# Do you want to load sound modules when alsasound starts?
# Note: The Gentoo ALSA developers encourage you to build your sound
#       drivers into the kernel unless the device is hotpluggable or
#       you need to supply specific options (such as model= to HD-Audio).
# no - Do not load modules
# yes - Load modules
LOAD_ON_START="yes"

I've never had a hot-pluggable sound card, so I can only guess whether
hald would somehow load that sound module for you.

So say LOAD_ON_START="no", compile the on-board sound driver into the
kernel and do the other one as a module -- and let us know if it works
when you plug it in :o)





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 17:30       ` Grant
  2009-11-04 18:19         ` walt
@ 2009-11-04 20:02         ` Canek Peláez Valdés
  2009-11-04 22:44           ` Mick
  2009-11-05 15:53           ` Valmor de Almeida
  1 sibling, 2 replies; 17+ messages in thread
From: Canek Peláez Valdés @ 2009-11-04 20:02 UTC (permalink / raw
  To: gentoo-user

On Wed, Nov 4, 2009 at 11:30 AM, Grant <emailgrant@gmail.com> wrote:
>>> But I get the warning about "Module snd_hda_intel not found" which is
>>> the built-in chip.
>>
>> That's because you don't have that module, it's built into the kernel.
>> This also means the the options lines in alsa.conf will not do anything.
>
> OK, so I need to build them as modules, or I need to change those
> lines in alsa.conf?  If I can avoid building them as modules I'd like
> to.  How can those lines be written when the drivers are built into
> the kernel?

You pass the parameters in the kernel boot line. For examen, in my
grub.conf I have:

title Gentoo Linux (linux-2.6.31.5)
root (hd0,3)
kernel /boot/kernel-2.6.31.5 root=/dev/sda4 quiet udev
splash=silent,fadein,theme:natural_gentoo CONSOLE=/dev/tty1
iwlagn.swcrypto=1 snd-hda-intel.model=basic
initrd /boot/initrd-2.6.31.5

I have two parameters for my built-in modules: for the iwlagn module,
the parameter swcrypto=1, and for the snd-hda-intel the parameter
model= basic. In general, for a built-in module called "module", you
pass the parameter "parm" with value "val" this way:

module.parm=val

As of now, in my laptop I have *all* my modules built-in. In other
machines, I have modules where there is no other option (like nvidia
drivers, LIRC, ndiswrapper, stuff like that).

Good luck.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 20:02         ` Canek Peláez Valdés
@ 2009-11-04 22:44           ` Mick
  2009-11-05 15:53           ` Valmor de Almeida
  1 sibling, 0 replies; 17+ messages in thread
From: Mick @ 2009-11-04 22:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1826 bytes --]

On Wednesday 04 November 2009 20:02:03 Canek Peláez Valdés wrote:
> On Wed, Nov 4, 2009 at 11:30 AM, Grant <emailgrant@gmail.com> wrote:
> >>> But I get the warning about "Module snd_hda_intel not found" which is
> >>> the built-in chip.
> >>
> >> That's because you don't have that module, it's built into the kernel.
> >> This also means the the options lines in alsa.conf will not do anything.
> >
> > OK, so I need to build them as modules, or I need to change those
> > lines in alsa.conf?  If I can avoid building them as modules I'd like
> > to.  How can those lines be written when the drivers are built into
> > the kernel?
> 
> You pass the parameters in the kernel boot line. For examen, in my
> grub.conf I have:
> 
> title Gentoo Linux (linux-2.6.31.5)
> root (hd0,3)
> kernel /boot/kernel-2.6.31.5 root=/dev/sda4 quiet udev
> splash=silent,fadein,theme:natural_gentoo CONSOLE=/dev/tty1
> iwlagn.swcrypto=1 snd-hda-intel.model=basic
> initrd /boot/initrd-2.6.31.5
> 
> I have two parameters for my built-in modules: for the iwlagn module,
> the parameter swcrypto=1, and for the snd-hda-intel the parameter
> model= basic. In general, for a built-in module called "module", you
> pass the parameter "parm" with value "val" this way:
> 
> module.parm=val
> 
> As of now, in my laptop I have *all* my modules built-in. In other
> machines, I have modules where there is no other option (like nvidia
> drivers, LIRC, ndiswrapper, stuff like that).

I used to have my alsa drivers which are different to the OP, built in the 
kernel.  For years on end.  Then alsasound stop working - something like 5 
kernels back, can't recall exactly.  I had to build alsa separately as 
modules.  Haven't tried to go back to building them in the kernel again.

YMMV.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 18:19         ` walt
@ 2009-11-05 15:25           ` Grant
  2009-11-05 15:51             ` Canek Peláez Valdés
  0 siblings, 1 reply; 17+ messages in thread
From: Grant @ 2009-11-05 15:25 UTC (permalink / raw
  To: gentoo-user

>>>> But I get the warning about "Module snd_hda_intel not found" which is
>>>> the built-in chip.
>>>
>>> That's because you don't have that module, it's built into the kernel.
>>> This also means the the options lines in alsa.conf will not do anything.
>>
>> OK, so I need to build them as modules, or I need to change those
>> lines in alsa.conf?  If I can avoid building them as modules I'd like
>> to.  How can those lines be written when the drivers are built into
>> the kernel?
>
> This is from /etc/conf.d/alsasound:
>
> # LOAD_ON_START:
> # Do you want to load sound modules when alsasound starts?
> # Note: The Gentoo ALSA developers encourage you to build your sound
> #       drivers into the kernel unless the device is hotpluggable or
> #       you need to supply specific options (such as model= to HD-Audio).
> # no - Do not load modules
> # yes - Load modules
> LOAD_ON_START="yes"
>
> I've never had a hot-pluggable sound card, so I can only guess whether
> hald would somehow load that sound module for you.
>
> So say LOAD_ON_START="no", compile the on-board sound driver into the
> kernel and do the other one as a module -- and let us know if it works
> when you plug it in :o)

Thanks, I will try that right away.  Is it necessary for me to keep
the USB sound driver as a module since it could be plugged in or not?
I can't build that one in too?

- Grant



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 15:53           ` Valmor de Almeida
@ 2009-11-05 15:47             ` Canek Peláez Valdés
  2009-11-05 16:06               ` Helmut Jarausch
  0 siblings, 1 reply; 17+ messages in thread
From: Canek Peláez Valdés @ 2009-11-05 15:47 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 5, 2009 at 9:53 AM, Valmor de Almeida <val.gentoo@gmail.com> wrote:
> Canek Peláez Valdés wrote:
>> On Wed, Nov 4, 2009 at 11:30 AM, Grant <emailgrant@gmail.com> wrote:
> ...[snip]...
>>
>> As of now, in my laptop I have *all* my modules built-in. In other
>> machines, I have modules where there is no other option (like nvidia
>> drivers, LIRC, ndiswrapper, stuff like that).
>>
>> Good luck.
>
> Just curious. Are you able to play an adobe flash video with audio using
>  a flash firefox plugin? (if you have it installed by any chance).

Indeed I am able. Not only that; I also have PulseAudio running (and
loving it) in all my machines. Flash, MPlayer and all the GStreamer
applications work without a hitch.

Also, in my laptop (amd64 with Intel Core2 Duo) I don't have any
emul-linux-* package; both Firefox and the Flash plugin (I use
www-plugins/adobe-flash) are the 64bit versions.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 15:25           ` Grant
@ 2009-11-05 15:51             ` Canek Peláez Valdés
  2009-11-05 16:13               ` Dale
  0 siblings, 1 reply; 17+ messages in thread
From: Canek Peláez Valdés @ 2009-11-05 15:51 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 5, 2009 at 9:25 AM, Grant <emailgrant@gmail.com> wrote:
>>>>> But I get the warning about "Module snd_hda_intel not found" which is
>>>>> the built-in chip.
>>>>
>>>> That's because you don't have that module, it's built into the kernel.
>>>> This also means the the options lines in alsa.conf will not do anything.
>>>
>>> OK, so I need to build them as modules, or I need to change those
>>> lines in alsa.conf?  If I can avoid building them as modules I'd like
>>> to.  How can those lines be written when the drivers are built into
>>> the kernel?
>>
>> This is from /etc/conf.d/alsasound:
>>
>> # LOAD_ON_START:
>> # Do you want to load sound modules when alsasound starts?
>> # Note: The Gentoo ALSA developers encourage you to build your sound
>> #       drivers into the kernel unless the device is hotpluggable or
>> #       you need to supply specific options (such as model= to HD-Audio).
>> # no - Do not load modules
>> # yes - Load modules
>> LOAD_ON_START="yes"
>>
>> I've never had a hot-pluggable sound card, so I can only guess whether
>> hald would somehow load that sound module for you.
>>
>> So say LOAD_ON_START="no", compile the on-board sound driver into the
>> kernel and do the other one as a module -- and let us know if it works
>> when you plug it in :o)
>
> Thanks, I will try that right away.  Is it necessary for me to keep
> the USB sound driver as a module since it could be plugged in or not?
> I can't build that one in too?

Of course you can. If the module is not being used (i.e., the USB card
is not connected), it barely uses resources. In my desktop I have the
gspca webcam module built-in, even if my webcam is not connected all
the time. The same thing with things like USB gamepads.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-04 20:02         ` Canek Peláez Valdés
  2009-11-04 22:44           ` Mick
@ 2009-11-05 15:53           ` Valmor de Almeida
  2009-11-05 15:47             ` Canek Peláez Valdés
  1 sibling, 1 reply; 17+ messages in thread
From: Valmor de Almeida @ 2009-11-05 15:53 UTC (permalink / raw
  To: gentoo-user

Canek Peláez Valdés wrote:
> On Wed, Nov 4, 2009 at 11:30 AM, Grant <emailgrant@gmail.com> wrote:
...[snip]...
> 
> As of now, in my laptop I have *all* my modules built-in. In other
> machines, I have modules where there is no other option (like nvidia
> drivers, LIRC, ndiswrapper, stuff like that).
> 
> Good luck.

Just curious. Are you able to play an adobe flash video with audio using
 a flash firefox plugin? (if you have it installed by any chance).

Thanks,

--
Valmor



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 15:47             ` Canek Peláez Valdés
@ 2009-11-05 16:06               ` Helmut Jarausch
  2009-11-05 20:02                 ` Canek Peláez Valdés
  0 siblings, 1 reply; 17+ messages in thread
From: Helmut Jarausch @ 2009-11-05 16:06 UTC (permalink / raw
  To: gentoo-user

On  5 Nov, Canek Peláez Valdés wrote:
...
> Also, in my laptop (amd64 with Intel Core2 Duo) I don't have any
> emul-linux-* package; both Firefox and the Flash plugin (I use
> www-plugins/adobe-flash) are the 64bit versions.

Then you have built firefox from source?  Or is there a 64 bit version
of mozilla-firefox-bin around?

Thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 15:51             ` Canek Peláez Valdés
@ 2009-11-05 16:13               ` Dale
  2009-11-05 16:21                 ` Paul Hartman
  0 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2009-11-05 16:13 UTC (permalink / raw
  To: gentoo-user

Canek Peláez Valdés wrote:
> On Thu, Nov 5, 2009 at 9:25 AM, Grant <emailgrant@gmail.com> wrote:
>   
>>>>>> But I get the warning about "Module snd_hda_intel not found" which is
>>>>>> the built-in chip.
>>>>>>             
>>>>> That's because you don't have that module, it's built into the kernel.
>>>>> This also means the the options lines in alsa.conf will not do anything.
>>>>>           
>>>> OK, so I need to build them as modules, or I need to change those
>>>> lines in alsa.conf?  If I can avoid building them as modules I'd like
>>>> to.  How can those lines be written when the drivers are built into
>>>> the kernel?
>>>>         
>>> This is from /etc/conf.d/alsasound:
>>>
>>> # LOAD_ON_START:
>>> # Do you want to load sound modules when alsasound starts?
>>> # Note: The Gentoo ALSA developers encourage you to build your sound
>>> #       drivers into the kernel unless the device is hotpluggable or
>>> #       you need to supply specific options (such as model= to HD-Audio).
>>> # no - Do not load modules
>>> # yes - Load modules
>>> LOAD_ON_START="yes"
>>>
>>> I've never had a hot-pluggable sound card, so I can only guess whether
>>> hald would somehow load that sound module for you.
>>>
>>> So say LOAD_ON_START="no", compile the on-board sound driver into the
>>> kernel and do the other one as a module -- and let us know if it works
>>> when you plug it in :o)
>>>       
>> Thanks, I will try that right away.  Is it necessary for me to keep
>> the USB sound driver as a module since it could be plugged in or not?
>> I can't build that one in too?
>>     
>
> Of course you can. If the module is not being used (i.e., the USB card
> is not connected), it barely uses resources. In my desktop I have the
> gspca webcam module built-in, even if my webcam is not connected all
> the time. The same thing with things like USB gamepads.
>
> Regards.
>   

I agree.  I have USB stuff and I don't use any modules except the nvidia
driver.  Modules are I think a handy when you need to switch things on
and off but I have never used a module except to test a driver to see
which driver I need.  Even then I go back and compile it in.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 16:13               ` Dale
@ 2009-11-05 16:21                 ` Paul Hartman
  2009-11-05 16:42                   ` Dale
  0 siblings, 1 reply; 17+ messages in thread
From: Paul Hartman @ 2009-11-05 16:21 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 5, 2009 at 10:13 AM, Dale <rdalek1967@gmail.com> wrote:
> Canek Peláez Valdés wrote:
>> On Thu, Nov 5, 2009 at 9:25 AM, Grant <emailgrant@gmail.com> wrote:
>>
>>>>>>> But I get the warning about "Module snd_hda_intel not found" which is
>>>>>>> the built-in chip.
>>>>>>>
>>>>>> That's because you don't have that module, it's built into the kernel.
>>>>>> This also means the the options lines in alsa.conf will not do anything.
>>>>>>
>>>>> OK, so I need to build them as modules, or I need to change those
>>>>> lines in alsa.conf?  If I can avoid building them as modules I'd like
>>>>> to.  How can those lines be written when the drivers are built into
>>>>> the kernel?
>>>>>
>>>> This is from /etc/conf.d/alsasound:
>>>>
>>>> # LOAD_ON_START:
>>>> # Do you want to load sound modules when alsasound starts?
>>>> # Note: The Gentoo ALSA developers encourage you to build your sound
>>>> #       drivers into the kernel unless the device is hotpluggable or
>>>> #       you need to supply specific options (such as model= to HD-Audio).
>>>> # no - Do not load modules
>>>> # yes - Load modules
>>>> LOAD_ON_START="yes"
>>>>
>>>> I've never had a hot-pluggable sound card, so I can only guess whether
>>>> hald would somehow load that sound module for you.
>>>>
>>>> So say LOAD_ON_START="no", compile the on-board sound driver into the
>>>> kernel and do the other one as a module -- and let us know if it works
>>>> when you plug it in :o)
>>>>
>>> Thanks, I will try that right away.  Is it necessary for me to keep
>>> the USB sound driver as a module since it could be plugged in or not?
>>> I can't build that one in too?
>>>
>>
>> Of course you can. If the module is not being used (i.e., the USB card
>> is not connected), it barely uses resources. In my desktop I have the
>> gspca webcam module built-in, even if my webcam is not connected all
>> the time. The same thing with things like USB gamepads.
>>
>> Regards.
>>
>
> I agree.  I have USB stuff and I don't use any modules except the nvidia
> driver.  Modules are I think a handy when you need to switch things on
> and off but I have never used a module except to test a driver to see
> which driver I need.  Even then I go back and compile it in.

I'm the opposite, I prefer to do everything as a module when possible
(except for a few core drivers required to be built-in for booting).
Trying different models for alsa hda-intel module would have been no
fun if i had to reboot every time. rmmod and modprobe is so much
faster. :)



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 16:21                 ` Paul Hartman
@ 2009-11-05 16:42                   ` Dale
  0 siblings, 0 replies; 17+ messages in thread
From: Dale @ 2009-11-05 16:42 UTC (permalink / raw
  To: gentoo-user

Paul Hartman wrote:
> On Thu, Nov 5, 2009 at 10:13 AM, Dale <rdalek1967@gmail.com> wrote:
>   
>> Canek Peláez Valdés wrote:
>>     
>>> On Thu, Nov 5, 2009 at 9:25 AM, Grant <emailgrant@gmail.com> wrote:
>>>
>>>       
>>>>>>>> But I get the warning about "Module snd_hda_intel not found" which is
>>>>>>>> the built-in chip.
>>>>>>>>
>>>>>>>>                 
>>>>>>> That's because you don't have that module, it's built into the kernel.
>>>>>>> This also means the the options lines in alsa.conf will not do anything.
>>>>>>>
>>>>>>>               
>>>>>> OK, so I need to build them as modules, or I need to change those
>>>>>> lines in alsa.conf?  If I can avoid building them as modules I'd like
>>>>>> to.  How can those lines be written when the drivers are built into
>>>>>> the kernel?
>>>>>>
>>>>>>             
>>>>> This is from /etc/conf.d/alsasound:
>>>>>
>>>>> # LOAD_ON_START:
>>>>> # Do you want to load sound modules when alsasound starts?
>>>>> # Note: The Gentoo ALSA developers encourage you to build your sound
>>>>> #       drivers into the kernel unless the device is hotpluggable or
>>>>> #       you need to supply specific options (such as model= to HD-Audio).
>>>>> # no - Do not load modules
>>>>> # yes - Load modules
>>>>> LOAD_ON_START="yes"
>>>>>
>>>>> I've never had a hot-pluggable sound card, so I can only guess whether
>>>>> hald would somehow load that sound module for you.
>>>>>
>>>>> So say LOAD_ON_START="no", compile the on-board sound driver into the
>>>>> kernel and do the other one as a module -- and let us know if it works
>>>>> when you plug it in :o)
>>>>>
>>>>>           
>>>> Thanks, I will try that right away.  Is it necessary for me to keep
>>>> the USB sound driver as a module since it could be plugged in or not?
>>>> I can't build that one in too?
>>>>
>>>>         
>>> Of course you can. If the module is not being used (i.e., the USB card
>>> is not connected), it barely uses resources. In my desktop I have the
>>> gspca webcam module built-in, even if my webcam is not connected all
>>> the time. The same thing with things like USB gamepads.
>>>
>>> Regards.
>>>
>>>       
>> I agree.  I have USB stuff and I don't use any modules except the nvidia
>> driver.  Modules are I think a handy when you need to switch things on
>> and off but I have never used a module except to test a driver to see
>> which driver I need.  Even then I go back and compile it in.
>>     
>
> I'm the opposite, I prefer to do everything as a module when possible
> (except for a few core drivers required to be built-in for booting).
> Trying different models for alsa hda-intel module would have been no
> fun if i had to reboot every time. rmmod and modprobe is so much
> faster. :)
>
>   

That is why I said I have used them to test a driver to see if it works
or not.  It is easier to test them that way but once you find the right
one, you don't need it to be a module unless you have some reason to
change them from time to time and don't want to reboot.

Either way works tho.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: Sound card drivers must be modules?
  2009-11-05 16:06               ` Helmut Jarausch
@ 2009-11-05 20:02                 ` Canek Peláez Valdés
  0 siblings, 0 replies; 17+ messages in thread
From: Canek Peláez Valdés @ 2009-11-05 20:02 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 5, 2009 at 10:06 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> On  5 Nov, Canek Peláez Valdés wrote:
> ...
>> Also, in my laptop (amd64 with Intel Core2 Duo) I don't have any
>> emul-linux-* package; both Firefox and the Flash plugin (I use
>> www-plugins/adobe-flash) are the 64bit versions.
>
> Then you have built firefox from source?  Or is there a 64 bit version
> of mozilla-firefox-bin around?

I compile firefox. And OpenOffice ;)

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-11-05 20:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 16:48 [gentoo-user] Sound card drivers must be modules? Grant
2009-11-04 17:03 ` [gentoo-user] " Nikos Chantziaras
2009-11-04 17:25   ` Grant
2009-11-04 17:27     ` Neil Bothwick
2009-11-04 17:30       ` Grant
2009-11-04 18:19         ` walt
2009-11-05 15:25           ` Grant
2009-11-05 15:51             ` Canek Peláez Valdés
2009-11-05 16:13               ` Dale
2009-11-05 16:21                 ` Paul Hartman
2009-11-05 16:42                   ` Dale
2009-11-04 20:02         ` Canek Peláez Valdés
2009-11-04 22:44           ` Mick
2009-11-05 15:53           ` Valmor de Almeida
2009-11-05 15:47             ` Canek Peláez Valdés
2009-11-05 16:06               ` Helmut Jarausch
2009-11-05 20:02                 ` Canek Peláez Valdés

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox