Chris Egolf wrote:
>
> Do you know if the modules are actually loading? (/sbin/lsmod) If so,
> the Alsa drivers load w/ the mixer volume settings set to zero. You'll
> have to adjust the volume after rebooting. Alsa provides a utility that
> you could put in a script to automatically adjust the volume to the
> levels you want when you boot up, but I can't remember the name of it at
> the moment. I haven't tried it since I rarely reboot :).
>
Alright, I messed around w/ this a little more. The utility you need is
amixer. It's included w/ the alsa-utils package, so if you didn't
download that and compile it, you'll need to do that first. You can set
volume levels and unmute certain devices with it. I created a
/etc/rc.d/rc.amixer file that I call from /etc/rc.d/rc.local that loads
the additional modules and sets the devices to the levels I want.
Here's the file I created:
[cegolf@maul rc.d]$ cat rc.amixer
# These modules are needed for using OSS compatible mixers
/sbin/modprobe snd-pcm-oss
/sbin/modprobe snd-mixer-oss
# Set the volume levels
/usr/bin/amixer set Master 85% unmute
/usr/bin/amixer set PCM 85% unmute
/usr/bin/amixer set CD 85% unmute
Of course, you may have different devices you want to set. It's pretty
self explanatory how to use it. I referred to the Alsa documentation on
their site.
Hope this helps.
--
============================================================================
Chris Egolf
http://www.ugholf.net ">cegolf@ugholf.net
============================================================================
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.