Re: Alsa needs reconfiguration after every reboot
On Thu, 2006-21-12 at 19:05 +0100, Nigel Henry wrote:
> Can you post a bit of info. Which Debian version, and kernel are you using?
> For the kernel type uname -r. Which desktop? I ask because I'm using KDE.
> Does typing as user, cat /proc/asound/cards show only one soundcard as card0?
> Which soundcard do you have?
I'm using Sarge 3.1r0a updated, with a 2.6 custom kernel. My desktop is
Gnome, so much of what you've said unfortunately cannot be tried. The
sound card is a SoundBlaster Live Value edition CT4832 which uses a
> When you bootup what does alsamixer show as user on the CLI (Konsole). Are any
> controls, like master, pcm, or front down at zero? If you are using KDE,
> KDE's Kmix has a habit of messing with alsamixers settings when KDE is logged
> into. Just for info, the fix for this is. Open Kmix/Settings/Configure K Mix,
> and uncheck the "Restore volumes on login" box. Ironically I've just looked
> at this on Etch, and the box is checked, and I have no problems, but have had
> problems with this on other distro's, so it's worth a look.
I'm not using KDE as I've explained, and once I run alsaconf the card
works just fine. Usually it's just to play a CD or DVD or watch video
off the net and I don't have any probs with it. I don't use the mixer,
except at the default settings, as I have sound controls on my speakers.
> Unfortunately when you fix something, you don't always write down what fixed
> it, but try after booting up, and su'ed to root /etc/init.d/alsa-utils stop,
> then, /etc/init.d/alsa-utils start , then see if you can get any sounds.
> these commands just stop, and restart alsa
> there is another command /etc/init.d/alsa unload , which removes the alsa
> modules, followed by /etc/init.d/alsa reload, which logically reloads them,
> but if you have other alsa modules listed in /etc/modules, the reload command
> will not reload them. You will have to do that manually, as I've just found
> out, and have had to modprobe snd-usb-audio for my usb midi keyboard
> The 2 alsactl commands that are usefull are.
> alsactl store (this is run when you shutdown, and stores alsamixers settings)
> alsactl restore (this is run when you bootup, and restores alsamixers settings
> to the state that they were when you shutdown)
> It's worth trying the "alsactl restore" command as root, after booting up, and
> before messing with alsaconf.
I'll certainly try these out.
> If any of this stuff is of any use, it's given with the best of intentions.
And greatly appreciated Nigel. Many thanks.