Re: alsamixer settings

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

 



On Sat Nov 02 2002 at 10:04, Richard Mulvena wrote:

> 
> Hi,
> now i'll probably get burned for posting this here but frankly you guys
> know more than most!
> Simple question i'm sure many of the readers use alsa for there sound.
> how do i store the mixer settings? After weeks of no sound due to the

See:

	http://freshrpms.net/docs/alsa/

Especially where it says:

   The alsactl init script (from the alsa-utils package) takes care
   of saving your mixer settings upon shutdown and reboot, but in
   order to have them restored at startup, you need to add this to
   /etc/modules.conf :

   post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
   pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :

It works as advertised.

> via82xx issue in redhat 8 i loaded alsa and now have sound. GREAT.
> however i read the man pages on alsamixer and alsactl but can't get it
> to unmute the mixer settings on startup. each time i boot i have to go
> into the terminal and type alsactl restore. i'm a lazy sod so anyone
> know how to unmute these automatically.

Question answered :)

> Another question somewhat related but possibly usefull is there a
> similar setting in redhat to windows98 etc run conmmand from the
> registry or winstartup.bat where you can put command like options to
> start while the OS is starting. I presume it's a script but where would
> it be called from.

First, read up on what happens when linux boots up.  In essence:

- kernel boots, taking note of any command line options given
  to it
- if there is an initrd, mount that and run /linuxrc
- look for /sbin/init on the root partition and pass control to that
- /sbin/init reads /etc/inittab and runs the system initialisation
  scripts.  Convention has these scripts in /etc/rc.d/*.

Check the man pages for init and inittab.  There are different
runlevels and you can control what runs at what runlevel with tools
like chkconfig.

For doing your own things at bootup (and depending on what you want
done), /etc/rc.d/rc.local is usually the place to do your
customisations.

Perhaps you should post another message about what you want to do.

> Richard

Cheers
Tony



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux