Setting sound level on startup

Michael Schwendt ms-nospam-0306 at arcor.de
Thu Mar 25 16:29:30 UTC 2004


On Thu, 25 Mar 2004 10:26:07 -0600, Harry Putnam wrote:

> > alsamixer runs on the command line, but I agree it should not need to be
> > run to unmute and increase the volume. Sane defaults should be set
> > (maybe 40%) during firstboot, then let the customer adjust it.
> 
> I was wondering if you posters have something in /etc/modprobe.conf
> similar to what I have:
>   alias sound-slot-0 snd-intel8x0
>   install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 &&
>   /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> 
> I'm not sure what this is supposed to do, but it appears it might
> reset aumix to 0 on reboot.

ALSA drivers default to "mute" when loaded. aumix is for OSS drivers,
e.g. the ALSA OSS compatibility portion. For native ALSA you need to run
"alsactl store" once (preferably the shutdown script does that like it
does with aumix) and run "alsactl restore" via modprobe.conf.

-- 





More information about the test mailing list