Hi,
Muthu Mohan.T typed:
> Thanks shanu. :-) I copied your code into /etc/conf.modules. It is
> working fine now. But default it is in mute state. How to change
> this to unmute state? And my /var/log/messages file contain the
> following things.
Use some mixer (amixer / aumix if you've enabled OSS support) to
change your mixer settings to whatever you want. Then save it using
the command "alsactl store". It writes a file /etc/asound.conf. Then
you can restore your mixer setting using "alsactl restore". So if you
want your mixer settings to load automatically at boot time, add it in
/etc/rc.d/rc.sysinit, or some similar place. I added this:
action "Loading mixer settings" /usr/sbin/alsactl restore
If your alsa sound modules get loaded dynamically, then you'll have
problems with mixer settings. If the driver gets unloaded and then
loads again, then mixer settings will get muted. What I do to avoid
this problem is load the module in /etc/rc.d/rc.sysinit, then it never
gets unloaded. If you really want to load and unload dynamically, add
a line similar to this in /etc/conf.modules:
post-install snd-card-sb16 alsactl restore
This ensures that the command "alsactl restore" is run every time the
module is loaded.
> Jun 9 16:20:41 www aumix-minimal: video set to 0, 0, P
> Jun 9 16:20:41 www rc.sysinit: Loading mixer settings succeeded
I suggest you remove the aumix-minimal commands from
/etc/rc.d/rc.sysinit and /etc/rc.d/init.d/halt, and use alsactl
instead.
> Jun 9 16:50:21 www modprobe: modprobe: Can't locate module snd-card-1
> Jun 9 16:50:21 www modprobe: modprobe: Can't locate module snd-card-2
> Jun 9 16:50:21 www modprobe: modprobe: Can't locate module snd-card-3
> What is this? (I think while running kmix it was logged)
That's ok because it's just trying to load modules for the other sound
cards - 1, 2 and 3. And if you have only one soundcard - it's
snd-card-0.
--
Mrinal Kalakrishnan <[EMAIL PROTECTED]> http://mrinal.dhs.org/
Linux 2.2.16 || PGP:B1E86F5B || Mutt 1.3.2i (2000-05-23) || VIM 5.6
--
Intel engineering seem to have misheard Intel marketing strategy. The phrase
was "Divide and conquer" not "Divide and cock up"
(By [EMAIL PROTECTED], Alan Cox)
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/