. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Restoring Alsa mixer volumes"
alsactl restore
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon alsasound
stat_done
fi
;;
stop)
stat_busy "Storing Alsa mixer volumes"
alsactl store
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon alsasound
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage $0 {start|stop|restart}"
;;
esac
The only minor problem is, everytime i reboot the machine, and login, the KMix is dead, and i have to manually "on" it...is there anyway to automate the process?
it's like when you logout and login again, the previous volume setting remains the same. that's no longer the case though.
]]>when you mention permission, what do you mean by it? i did remember few mths ago, i upgraded module-init-tools, and the entry along with permission are different from the original, and lucky for me, i had a backup, and everything was fine. this only relates to running certain applications however.
the other thing is udev. i'm quite a newbie, so i don't understand what this udev thing is.
i do however run this find / -name "start_udev*", and it doesn't return anything, so i'm pretty sure i'm not using udev.
now since this jack package runs as daemon, do i need to add certain entry in my rc.conf (the daemons part)? and when i tried to run it, it returns error however.
i suppose it tries to open up ALSA, and it looks for this path "/dev/snd/seq", which i don't have.
anyway, back to the topic, any idea to go about this sound issue?
Thanks
]]>I didn't make any changes, and the entries on my "lsmod", and "rc.conf" still remain the same, meaning the sound module should be loaded automatically everytime the machine restarts.
one thing that confuses me is when i run "artsd", this output came out
artsd: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory
I'll give you my lsmod entry
Module Size Used by
nvidia 4816660 10
snd_pcm_oss 57384 0
snd_mixer_oss 20992 1 snd_pcm_oss
snd_maestro3 26664 2
snd_ac97_codec 71684 1 snd_maestro3
snd_pcm 104708 2 snd_pcm_oss,snd_maestro3
snd_page_alloc 12168 1 snd_pcm
snd_timer 28164 1 snd_pcm
snd 60260 10 snd_pcm_oss,snd_mixer_oss,snd_maestro3,snd_ac97_codec,snd_pcm,snd_timer
soundcore 11104 1 snd
eepro100 31756 0
mii 5888 1 eepro100
ide_scsi 18180 0
usbserial 30312 0
rtc 14408 0
tsdev 7808 0
joydev 10560 0
evdev 10112 0
and here's my rc.conf modules
MODULES=(usbserial ide-scsi eepro100 snd-maestro3 snd_pcm_oss nvidia)
DAEMONS=(!syslog-ng !syslogd !klogd !hotplug !pcmcia network netfs crond)
As you can see I'm using "ESS Technology ES1983S Maestro-3i PCI Audio Accelerator" as my audio card.
Is this aRTS bug related? or i miss some crucial settings for audio...
Pls help me as I'm starting to pull my hair out here.......
Much Thanks ahead!
]]>