Re: problem with alsamixer/alsactl

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

 



On 04/25/2009 11:27:52 AM, Nigel Henry wrote:
> On Saturday 25 April 2009 18:36, Geoffrey Leach wrote:
> > On 04/25/2009 07:53:26 AM, Dominique Michel wrote:
> > > Le Wed, 22 Apr 2009 20:59:39 -0700,
> > >
> > > Geoffrey Leach <geoff@xxxxxxxxxx> a écrit :
> > > > It's my understanding that alsactl store is supposed to save 
> the
> > > > current settings defined by alsamixer. Is this correct?
> > > >
> > > > If it is, then I have a bug (v 1.0.19) The (default?) settings
> for
> > >
> > > IEC
> > >
> > > > 958, IEC 958 D and IEC 958 1 are [off, on, off] respectively. 
> So
> I
> > >
> > > set
> > >
> > > > them to [on, on, on] in alsamixer and exit with ESC. Alsactl
> store
> > > > creates an /etc/asound.state that is unchanged from the
> original.
> > >
> > > Must be /var/lib/alsa/asound.state
> > > But maybe that your distro do use another location.
> > >
> > > If you want that the changes survive a reboot, you must issue
> > >
> > > alsactl store
> > >
> > > before rebooting. Most distro do that into their init scripts.
> > >
> > > Cheers,
> > > Dominique
> > >
> > > > Am I doing something wrong here?
> >
> > And cheers to you, Dominique.  Fedora 10 puts asound.state in /etc.
> I
> > did do an "alsactl store" It didn't change asound.state.  That's my
> > problem.
> >
> Pre Fedora 10 you had run alsactl as /usr/sbin/alsactl. this does not
> appear 
> to be necessary now, and just running it as alsactl store/restore
> works, but 
> you still have to run it as root. Are you su'ing to root before
> running the 
> alsactl command?
> 
> Something else that comes to mind is if you are running KDE desktop.
> Kmix is 
> notorious for messing with alsamixers settings when you login. 
> 
> You boot up, and alsamixer is setup via alsactl restore, using your
> stored 
> settings, then when you login, Kmix changes the alsamixer settings to 
> whatever were the default settings for Kmix when you installed F10,
> with KDE.
> 
> If you are using KDE, have a look in Kmix's Settings > Configure 
> KMix,
> and if 
> there is a box there named Restore volumes on login, and it is
> checked, try 
> unchecking it, then see if your changes you made in alsamixer are
> restored 
> correctly when you next reboot, and login.
> 
> The above is just a thought, but worth a look if you are using KDE.

Thanks Nigel.

I am running alsactl as root. The environment is gnome, not kde.




------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux