Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12076 - snd option in /etc/modules.d/alsa
Summary: snd option in /etc/modules.d/alsa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal enhancement
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-13 03:29 UTC by Steffen Lassahn
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Lassahn 2002-12-13 03:29:45 UTC
When alsa is started the alsactl started from /etc/init.d/alsasound tries to set
parameters for 8 sound cards even if there is only one in the system. That
results in modprobe error messages. Alsa works but the startup process looks dirty.

Suggestion:

Add a line to /etc/modules.d/alsa like this:

##  ALSA portion
options snd snd_cards_limit=1
alias snd-card-0 snd-intel8x0
## alias snd-card-1 snd-ens1371

I would assume that most of the systems out there have only one soundcard that
is used so 1 should be a reasonable default.
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-12-21 00:37:58 UTC
Okay, I fixed this for _rc6.  Thanks for the report.
Comment 2 Baron "Xaprb" Schwartz 2003-02-02 13:50:26 UTC
I think the documentation may be wrong.  It should not be 

options snd snd_cards_limit=1

it should be 

options snd cards_limit=1

this is also true for snd_major, it should just read

major=116