[NTLUG:Discuss] Fedora Audio CLI Options
Ed Coates
edcoates at nighthawk.dyndns.org
Tue Nov 30 05:08:23 CST 2004
On Tue, 30 Nov 2004, Paul Ingendorf wrote:
> The alsamix program looks to be exactly what I was looking for. I don't
> have a direct script for alsa, or any sound scripts for that mater, although
> I'm sure it is buried in something else. I checked out /etc/asound.state as
> well and that looks like that would fix the after reboot problem but the
> reason I was looking for a cli option was to ensure I don't have to do this
> again after another update. The script I run should setup the sound card
> appropriately just in case I've messed with sounds settings and forgot to
> set them back. I thought I have this licked using aumix but that didn't
> enable the capture option. I can now do this using amixer which I had never
> used before and appears to be a much better way of handling it as even
> alsamixer would have enabled at least turning on capture while aumix did
> not.
>
> Thanks for the help.
>
Paul,
Here's a little trick for you. Alsa has a little program called alsactl.
You can save the settings when the system is rebooted, and reload them
once it starts up. Here's the syntax:
alsactl store this saves the settings
alsactl restore this restores the previously save settings
Check to make sure that alsasound is started/stopped automatically on
boot/shutdown and this should work for you.
Ed
More information about the Discuss
mailing list