Re: alsamixer does not save settings

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

 



Geoffrey Leach wrote:
>
> FWIW, it appears that this (1.0.19) is the problem:
>
> function stop() {
>   #
>   # store driver settings
>   #
>   if [ -x $alsactl ]; then
>     $alsactl -f $asoundcfg store
>
> The file as installed from the source distribution, does not have 
> executable permissions. Or perhaps the '-x' was not intended?
>
>   
On my system (Fedora 10) /usr/sbin/alsactl is a symbolic link to 
/sbin/alsactl and that is executable.

Are you saying that whatever $alsactl refers to is not executable?   
That's clearly where the mistake is then -- it should be.  Just typing 
"/sbin/alsactl" (or /usr/sbin/alsactl) should say something like 
"alsactl: Specify command..." and not "bash: /sbin/alsactl: Permission 
denied".

If you change the test to, say, -f, then you'll just get a failing script.

jch

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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