Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa won't load at boot.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
zerbet
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 79

PostPosted: Tue Sep 16, 2003 5:28 pm    Post subject: Alsa won't load at boot. Reply with quote

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
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Tue Sep 16, 2003 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lucas
n00b
n00b


Joined: 22 Dec 2002
Posts: 33
Location: Stockholm, Sweden

PostPosted: Tue Sep 16, 2003 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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