F7: What or who is changing my PCM volume?
Antonio Olivares
olivares14031 at yahoo.com
Thu Aug 2 01:54:10 UTC 2007
> ----- Original Message ----
> From: Vivek J. Patankar <list307 at gmail.com>
> To: For users of Fedora <fedora-list at redhat.com>
> Sent: Wednesday, August 1, 2007 6:55:24 PM
> Subject: Re: F7: What or who is changing my PCM volume?
>
> Tom Horsley wrote:
> >> Surprisingly this hasn't been discussed on the list as often as certain
> >> other issues. This makes me wonder if this happens with only a few users
> >> and not everyone.
> > Well, considering many of the other linux surprises, I
> > just assumed this was something that someone thought was a feature
> > rather than a bug, so I didn't bother to ask about it :-).
>
> Heh heh! I wonder how many other made the same assumption.
>
>
> > login scripts, but having seen this thread, I've just added
> > /sbin/salsa -l (an earlier message said -r, but it is -l on
> > my system) to rc.local and I'll see how it goes.
>
> It's `salsa -l` on everybody's system. The `-r` reference was my mistake.
>
> --
> Regards,
> विवेक ज. पाटणकर (Vivek J. Patankar)
>
> Registered Linux User #374218
> Fedora release 7 (Moonshine)
> Linux 2.6.22.1-33.fc7 x86_64
> My USB drives automount! :p
>
Vivek,
Thanks again for the comments and corrections that you have supplied. I will correct rc.local from
[root at localhost ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# martian configuration
/sbin/modprobe martian_dev
/sbin/alsactl restore
[root at localhost ~]#
to
[root at localhost ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# martian configuration
/sbin/modprobe martian_dev
/sbin/salsa -l
[root at localhost ~]#
[olivares at localhost ~]$ salsa --help
bash: salsa: command not found
[olivares at localhost ~]$ su -
Password:
[root at localhost ~]# salsa --help
ALSA volume settings handler, Copyright 2007 Red Hat, Inc.
This software may be freely redistributed under
the terms of the GNU public license.
Usage: salsa [options] [card number]
Options:
-l - Load volume settings
-s - Save volume settings
Card number:
## - An affected card. If it isn't specified,
configure all installed sound cards.
The old alsactl still works but may become deprecated.
[root at localhost ~]# alsactl --help
Usage: alsactl <options> command
Available options:
-h,--help this help
-f,--file # configuration file (default /etc/asound.state or /etc/asound.names)
-F,--force try to restore the matching controls as much as possible
-d,--debug debug mode
-v,--version print version of this program
Available commands:
store <card #> save current driver setup for one or each soundcards
to configuration file
restore<card #> load current driver setup for one or each soundcards
from configuration file
[root at localhost ~]#
Regards,
Antonio
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
More information about the users
mailing list