Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa on boot problems [Solved]
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
wizard69
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 178
Location: Berlin

PostPosted: Tue Dec 06, 2005 4:28 pm    Post subject: alsa on boot problems [Solved] Reply with quote

every time i fire up my gentoo box i get the error

/usr/sbin/alsactl: load_state:1250: Cannot find soundcard '0'...

i have alsa in the kernel (gentoo-sources) i also have udevstart in /etc/conf.d/local but for some reason the card is there but it is muted, once i run alsaconf everything is fine. Untill the next reboot i would be grateful for any help because running alsaconf on every start cannot be a solution.


Last edited by wizard69 on Thu Dec 08, 2005 1:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Dec 06, 2005 4:41 pm    Post subject: Reply with quote

I suppose you've built alsa driver as a module and you get the error when starting /etc/init.d/alsasound, am I correct?
Do you have coldplug? Does it work if you modprobe the sound card module instead of running alsaconf? If answers are no and yes you've to put the module in /etc/modules.autoload.d/kernel-2.6.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
d3ff
n00b
n00b


Joined: 01 Sep 2005
Posts: 4

PostPosted: Tue Dec 06, 2005 5:33 pm    Post subject: Reply with quote

The following is from the Gentoo Linux ALSA Guide
Quote:
Next, just check the /etc/conf.d/alsasound file and ensure that SAVE_ON_STOP variable is set to yes. This saves your sound settings when you shutdown your system.

Is it possible that you don't have the SAVE_ON_STOP variable set to yes? I don't know how that might affect the soundcard but I expect it would help with the volume/mute settings?
_________________
1101 0011 1111 1111
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Dec 06, 2005 5:45 pm    Post subject: Reply with quote

d3ff wrote:
Is it possible that you don't have the SAVE_ON_STOP variable set to yes? I don't know how that might affect the soundcard but I expect it would help with the volume/mute settings?

Correct, that affects the mixer settings, but can't make device disappear at next boot.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
wizard69
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 178
Location: Berlin

PostPosted: Tue Dec 06, 2005 6:07 pm    Post subject: Reply with quote

my modules.autoload

nvidia
fuse
snd_intel8x0 #my sound card
rt2570

and save on stop is set to yes
Back to top
View user's profile Send private message
urban
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2003
Posts: 81

PostPosted: Thu Dec 08, 2005 11:13 am    Post subject: Reply with quote

Hi,

same problem here.

sound modul
intel8x0

and save on stop is set to yes.

regards,
urban
Back to top
View user's profile Send private message
wizard69
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 178
Location: Berlin

PostPosted: Thu Dec 08, 2005 1:29 pm    Post subject: Reply with quote

i solved the problem with:

equery -i list alsa

unmerge all alsa packages

emerge --unmerge --ask alsa-lib alsa-oss alsa-utils alsa-headers gst-plugins-alsa-0.8.11

and reinstall alsa

emerge alsa-lib alsa-oss alsa-utils -av

then i ran alsaconf

rebooted and everything seems to work fine
Back to top
View user's profile Send private message
calr0x
Apprentice
Apprentice


Joined: 16 Aug 2004
Posts: 244

PostPosted: Thu Dec 08, 2005 5:52 pm    Post subject: Reply with quote

Also check if "udevstart" creates the devices in /dev/sound..

There was a udev update 077-r1 that seems to have broken sound for me. Link to the thread here.

Long story short, see if running "udevstart" fixes your problem. Remember to restart arts (killall artsd) afterwords also...
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