Free beer for a sound advice that helps! (Was: Sound config)
Michele Ravani
michele.ravani at gmx.ch
Sun Apr 3 22:06:21 UTC 2005
Hi
I found a good soul somewhere on the net who solved the problem
1. copy the below and save to /etc/init.d/sound
------------------------------------
#!/bin/sh
#soundscript
case $1 in
start)
echo "Start sound ..."
/sbin/modprobe ad1848
/sbin/modprobe uart401
/sbin/modprobe cs4232
;;
stop)
echo "Stop sound ..."
rmmod cs4232
rmmod uart401
rmmod ad1848
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
exit 0
------------------------------------------
2. copy the below and copy to /etc/modutils/sound
------------------------------
alias sound-slot-0 cs4232
alias sound-service-0-3 cs4232
alias sound-service-0-0 cs4232
options sound dmabuf=1
options cs4232 io=0x530 irq=5 dma=1 dma2=0 isapnp=0 \
mpuio=0x330 mpuirq=5 \
synthio=0x338 synthirq=9
options opl3 io=0x388
options wavefront io=0x338 irq=9
------------------------------------------
3. delete from /etc/modutils all sndconfig, alsa-base, etc
4. run updates-modules
5. softlink /etc/init.d/sound to S79sound in all /etc/rc[2-5].d
directories. I have also delete all the S20alsa links.
Sound works, but I still have problems in controlling the volume with
the mixer. Stragely enough it works ok with xmms (esd output), but not
with mplayer. At least it is a step forward ...
Let me know if it did help
Michele
More information about the ubuntu-users
mailing list