View previous topic :: View next topic |
Author |
Message |
zerbet Tux's lil' helper
Joined: 25 Jul 2003 Posts: 79
|
Posted: Tue Sep 16, 2003 5:28 pm Post subject: Alsa won't load at boot. |
|
|
Hi folks,
When booting, alsa comes up with the error Quote: | ALSA sound daemon already running |
In fact, I then check in /etc/init.d :
Code: | # /etc/init.d/alsasound status
* status: started
|
So alsa must be loaded in another runlevel. So I checked:
Code: | # find /etc/runlevels/ -name alsasound
/etc/runlevels/boot/alsasound |
no luck: it appears only once. so where is it loaded the first time? I've got my own idea on that:
when looking at /etc/init.d/alsasound:
Code: | start() {
# Start driver if it isn't already up.
if [ -d /proc/asound ]
then
eerror "ALSA driver is already running."
return 1
fi
|
ah: so it fails because it finds the directory /proc/asound. In fact, this directory is preventing alsasound from running, thus loading the mixer settings. I nevertheless followed everything said in the alsa howto on www.gentoo.org, especially about compiling things in the kernel or as modules, so everything should be right at the moment. But it isn't ;(
Have you got any ideas what I'm doing wrong?
Thanks guys
Zerbet |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Tue Sep 16, 2003 5:52 pm Post subject: |
|
|
What version of alsa-utils are you using. I saw this problem go away. It
wasn't really a problem, in that everything loaded, but it did load my
cards in the wrong order. My quick fix was to restart alsasound in rc.local.
Again, this seemed to be fixed when I upgraded alsa-lib and friends to 0.96
which requires "~x86". HTH. |
|
Back to top |
|
|
Lucas n00b
Joined: 22 Dec 2002 Posts: 33 Location: Stockholm, Sweden
|
Posted: Tue Sep 16, 2003 6:05 pm Post subject: |
|
|
If you have a dev kernel and have alsa compiled into the kernel you will get this message. Then you don't have to run alsasond at startup, but if you want your mixer setting restored on boot you can make a script in /etc/init.d/ that does just this for you.
"alsactl store" and "alsactl restore"
That's how I've solved it, I can post my script if you like.
Lucas |
|
Back to top |
|
|
|
|
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
|
|