Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why build modules for in kernel alsa cards?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
warrens
Apprentice
Apprentice


Joined: 04 Jan 2005
Posts: 239
Location: Don't Tread On Me!

PostPosted: Tue Sep 01, 2009 3:34 am    Post subject: Why build modules for in kernel alsa cards? Reply with quote

Why does the alsa guide tell you to build your in kernal sound as modules? I think that it is better to have my sound card built into the kernel rather than inserting it at boot. The only reason I see for modules is if you use the alsa-driver package.
_________________
The BIGGER the GOVERNMENT, the smaller the citizen.

DON'T TREAD ON ME!!!

My Bias #1
The best government is the government that governs least.
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Tue Sep 01, 2009 9:27 am    Post subject: Reply with quote

I have also thought: why not built the sound into the kernel instead of having modules - I'll load them anyway.
But I have had problems when I did this - this was a long time ago.
Since then I always use modules.
If it is any help - the guide mentions this:
Quote:
Please note that for ease of use, all examples show ALSA built as modules. It is advisable to follow the same as it then allows the use of alsaconf which is a boon when you want to configure your card.

and for me the valid reason is: this approach works, while the "build it in" approach causes problems.
_________________
Cheers
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Sep 01, 2009 12:40 pm    Post subject: Reply with quote

You can pass parameters to modules while loading.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Tue Sep 01, 2009 3:41 pm    Post subject: Re: Why build modules for in kernel alsa cards? Reply with quote

warrens wrote:
Why does the alsa guide tell you to build your in kernal sound as modules? I think that it is better to have my sound card built into the kernel rather than inserting it at boot. The only reason I see for modules is if you use the alsa-driver package.


The reason is because it makes it easier to detect the card. The alsa-driver package has nothing to do with anything. The only reason you would use that if you didn't want to use the kernel's drivers at all.

So, three ways to install:

1) In kernel, compiled in
2) In kernel, as modules
3) nothing in kernel, external modules (alsa-driver package).

#2 is the recommended use. #3 is unsupported.
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum