Alsa mixer settings do not appear to be initialized.

Jeff Vian jvian10 at charter.net
Sun Jul 25 02:34:54 UTC 2004


On Sat, 2004-07-24 at 11:02, Gene Heskett wrote:
> On Saturday 24 July 2004 11:49, Sam Varshavchik wrote:
> >Alexander Dalloz writes:
> >> Am Sa, den 24.07.2004 schrieb Sam Varshavchik um 17:13:
> >>> I see that /etc/init.d/halt runs alsactl store to save the
> >>> current mixer settings.
> >>
> >> That is correct.
> >>
> >>> I cannot find anywhere in initscript which restores the saved
> >>> mixer settings when booting.  Looks like a bug.
> >>
> >> Not a bug. Have you looked at the /etc/modprobe.conf and faced
> >> what happens when the soundcard module(s) are loaded?
> >
> >Yeah:
> >
> >install sound-slot-0 /sbin/modprobe pcspkr && /sbin/modprobe
> > --first-time --ignore-install sound-slot-0 && { /bin/aumix-minimal
> > -f /etc/.aumixrc -L
> >
> >>/dev/null 2>&1 || :; }
> >
> >/etc/.aumixrc is _not_ where alsactl saves the mixer settings.
> 
> Same problem I had, and the alsa docs are non-existant on that 
> subject.
> 
> If thats the case, has anyone got a *working* modprobe.conf entry and 
> could paste it here?

These are the 2 lines from modprobe.conf that work for me
---------------

install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-via82xx

-------------

Hope this helps.
The only thing that should change for you would be the module being
loaded.






More information about the users mailing list