Re: Alsa mixer settings do not appear to be initialized.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
> 
> -- 
> Cheers, Gene


This is what is put into my modprobe.conf when kudzu configures my sound
card.  I did a clean install of FC2, and it did this by itself so sound
just works for me.

Did you do an upgrade or an install?

alias snd-card-0 snd-via82xx
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

NOTE: lines are wrapped by the mailer.  3 lines above beginning with
alias, install, and remove.

The segment of the install line that says "/usr/sbin/alsactl restore" is
probably what you are missing.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux