sndconfig, how to store settings?


Forum: Multimedia
Topic: sndconfig, how to store settings?
started by: Uta

Posted by Uta on Aug. 25 2006,01:30
I have a hard drive install of DSL 3.0.1 and the sound works after I run (as root) sndconfig, it finds my sound card Sound Blaster Pro and everything is fine until I reboot, and I have to again run sndconfig. The error message I get on boot after Autoconfiguring devices runs is:
"Preparing modules for alsa...
Building card database..
/etc/init.d/alsa-autoconfig: line 80: /var/tmp/alsaconf.cards: No such file or directory
/etc/init.d/alsa-autoconfig: line 312: /var/tmp/alsaconf.cards: No such file or directory
----------------------------------
modprode: Can't locate module sound-slot-0
modprode: Can't locate module sound-service-0-0
failed.
How do I configure this once and for all.

Thanks!

Posted by fozner on Sep. 03 2006,00:34
I have no experience with this at all so maybe somebody else can help.  What I would do is set up the soundcard again then search the hard drive for alsaconf.cards or various paterns similar to it; I would see if it was created at all.  Then I would put it somewhere safe, like in /etc.  Finally, I would edit /etc/init.d/alsa-autoconfig lines 80 and 312 and put in the new location of the file.  Try that anyway. :p

Wait a sec. I'll bet you just need to run alsaconf from the debian alsa-tools if you have alsa. Or just remove alsa packages entirely and then sndconfig will be able to set up OSS correctly.  I had ot create an empty file in /etc/modules/modules.dep to make it work.

I just had another idea. Do a lsmod > soundgood.txt after successfully configuring the sound. Reboot and do lsmod > soundbad.txt followed by diff soundbad.txt soundgood.txt. That will tell you if it forgot to load any modules. Try adding the forgotten modules to your modprobe.conf

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.