Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15762 - alsasound initscript make mad alsactl call (for me)
Summary: alsasound initscript make mad alsactl call (for me)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-15 20:15 UTC by Thomas Weidner
Modified: 2003-03-04 19:24 UTC (History)
0 users

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


Attachments
patch for /etc/init.d/alsasound (alsasound.diff,695 bytes, patch)
2003-02-15 20:17 UTC, Thomas Weidner
Details | Diff
patch for /etc/init.d/alsasound (alsasound.diff,695 bytes, patch)
2003-02-15 20:17 UTC, Thomas Weidner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Weidner 2003-02-15 20:15:53 UTC
Hi,
every boot,and only at boot time, i get a lot of error messages like:
modprobe: can't locate module /dev/snd/controlC01
modprobe: can't locate module /dev/aloadC01
after playing around for a while with the /etc/init.d/alsasound script i found
the problem:$alsactl -f $asoundcfg restore,wants not only to set the settings
for card 0,which exists,but for all cards,no matter if they exist or not.i wrote
a patch for the initscript which works for me.

Reproducible: Always
Steps to Reproduce:
Comment 1 Thomas Weidner 2003-02-15 20:17:09 UTC
Created attachment 8315 [details, diff]
patch for /etc/init.d/alsasound
Comment 2 Thomas Weidner 2003-02-15 20:17:18 UTC
Created attachment 8316 [details, diff]
patch for /etc/init.d/alsasound
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2003-02-16 13:58:54 UTC
I may be missing something, but I think that the below line, added to modules.conf (via /etc/modules.d/alsa) should rid you of the startup warnings.

   options snd cards_limit=1
Comment 4 Thomas Weidner 2003-02-16 14:46:59 UTC
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options snd cards_limit=1
# Miscellaneous file and directory names

from my modprobe -c output. i had this line and got such errors.
Comment 5 Arcady Genkin (RETIRED) gentoo-dev 2003-03-04 19:24:25 UTC
Thomas, I cannot reproduce the problem, reported by you.  However, your patch
makes sense, so I applied it to the startup script.

Thanks for the report!