[linux-audio-user] Volume settings aren't saved on Gentoo system
Robert Persson
ireneshusband at yahoo.co.uk
Tue Mar 8 03:17:24 EST 2005
On March 7, 2005 11:11 pm, quoth Michael Wagner:
> Quoting Robert Persson <ireneshusband at yahoo.co.uk>:
> > 1. I can't make my changes to the mixer settings stick and so I have to
> > change them manually every time I boot up. This is despite having the
> > line 'SAVE_ON_STOP="yes"' as the only uncommented line in
> > /etc/conf.d/alsasound.
> >
> >From what I understand, you have two soundcards, right? I had the same
> > problem
>
> once, because 'alsactl store' and 'alsactl restore' only worked on one
> card, although it said, that if it's called without a card specified, it
> should save/restore the settings of both cards...
> You could probably solve it by editing your Alsa-Startup-Script (probably
> /etc/init.d/alsasound) and replace the 'alsactl store' with 'alsactl -c 0
> store; alsactl -c 1 store' and the same with the restore part.
>
> Well... before doing that, I'd take a look at the help-output of alsactl,
> I'm not sure if the above syntax is right, and I can't check it right now,
> because I'm writing this mail on a...nother OS...
>
> -Michael
Thanks very much, Michael. I think you put me on the right track, although it
looks like "alsactl store" ought to work for 2 cards without passing extra
parameters. I ran it from a command line and it produced
an /etc/asound.state as it's supposed to.
I have now discovered that alsasound was not in my default runlevel. I
presume that this was the problem, although I won't believe it until I have
rebooted and found that everything does what it should.
Robert
--
Robert Persson
"No matter how much ye shake yer peg
The last wee drap rins doon yer leg."
More information about the Linux-audio-user
mailing list