You are not logged in.

#1 2004-12-13 03:42:03

gzaector
Member
From: WV
Registered: 2004-11-14
Posts: 10
Website

alsamixer startupscript is not finding soundcard

Hello,
     I am having this little problem on my desktop machine. When I boot up, and it attempts to load the "alsamixer" script from the ALSA wiki, I get this error

:: Restoring ALSA Mixer Volumes                                          [BUSY] alsactl: load_state:1134: No soundcards found...                               [FAIL]

Once the machine boots up, then I can log in as root and run /etc/rc.d/alsamixer start.... and everything loads like it should.

I do have the appropriate modules and daemons in rc.conf and I do have hotplug disabled.

MODULES=(!usbserial !ide-scsi tulip uhci-hcd usblp lp parport 
        parport_pc nvidia snd-emu10k1 snd-pcm-oss)
DAEMONS=(syslog-ng !hotplug !pcmcia network !netfs crond gpm cups alsamixer)

I have alsa up and running fine on my laptop, so I am not sure what could be causing this.

Thanks!

-gz


yes | /dev/mem

Offline

#2 2004-12-13 07:55:30

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 714

Re: alsamixer startupscript is not finding soundcard

Do you have something like
alias snd-card-0 snd-emu10k1
at your modprobe.conf ?
It might be needed for proper initialization of some soundcards (I have something like that generated by alsaconf, but commented it out as it was not needed).


Microshaft delenda est

Offline

#3 2004-12-13 15:23:12

Win
Member
Registered: 2004-03-04
Posts: 155

Re: alsamixer startupscript is not finding soundcard

Hi gzaector.

I had a similar experience recently. I went throught the following steps:

(a) make sure that the ALSA sound module was properly identified and would work if installed by hand (i.e., 'modprobe <alsa-sound-module-name>' as root)
(b) make certain that all relevant ALSA packages were installed (in particular, alsa-utils which contains alsamixer and alsactl)
(c) run 'alsamixer' as root
(d) run 'alsactl store' as root

After that, ALSA initialized properly using the /etc/rc.d/alsamixer script.

Regards,

Win

Offline

#4 2004-12-15 06:49:25

gzaector
Member
From: WV
Registered: 2004-11-14
Posts: 10
Website

Re: alsamixer startupscript is not finding soundcard

Thanks for the replies guys!


I added the following to modprobe.conf

options snd device_mode=0666
alias snd-card-o snd-emu10k1
alias snd-slot-0 snd-emu10k1

And still get the no soundcards found error... any other ideas about what could be wrong.

-gz


yes | /dev/mem

Offline

#5 2004-12-15 22:50:11

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: alsamixer startupscript is not finding soundcard

Is the alsamixer daemon only applicable to 2.4 kernels?

Offline

#6 2004-12-18 11:26:12

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 714

Re: alsamixer startupscript is not finding soundcard

One idea could be moving the card to another PCI slot, and anyway it would be nice for us to know which soundcard model you use (Soundblaster-what?)


Microshaft delenda est

Offline

#7 2005-03-14 23:43:17

schmoemi
Member
From: Gersthofen, BY, Germany
Registered: 2004-10-17
Posts: 51
Website

Re: alsamixer startupscript is not finding soundcard

I've got the same problem with my TERRATEC 512i Sound Card.


The time when Microsoft starts making something that doesn't suck will be when they start making vacuum cleaners.

Offline

#8 2005-03-14 23:54:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: alsamixer startupscript is not finding soundcard

is your module in the MODULES array in rc.conf?

Offline

#9 2005-03-15 00:22:42

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: alsamixer startupscript is not finding soundcard

Try adding "alsactl restore" in rc.local instead of using alsamixer.

No problems here, snd-emu10k1 in MODULES, "alsactl restore" in rc.local.


·¬»· i am shadowhand, powered by webfaction

Offline

#10 2005-03-15 03:22:04

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: alsamixer startupscript is not finding soundcard

yes, the main problem from this is that inorder to restore, you have to store on shutdown...

Offline

#11 2005-03-15 05:42:55

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: alsamixer startupscript is not finding soundcard

You only have to store once, unless you change your volume a lot. tongue


·¬»· i am shadowhand, powered by webfaction

Offline

Board footer

Powered by FluxBB