[ltp] Sound on 770x

Mendel Cooper linux-thinkpad@linux-thinkpad.org
Wed, 6 Dec 2006 10:43:47 -0700 (MST)


On Wed, 6 Dec 2006 rcmayfld@memphis.edu wrote:

> do i need to download /dev/dsp for sound?
> i cant find this file on the HD......
>
> has anyone gotten the sound to run on the TP770x FC4

The following worked for a TP770Z:

/etc/modules.conf
-----------------------------------------
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
alias sound-slot-0 cs4232
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 | | :
options sound dmabuf=1
alias synth0 opl3
options opl3 io=0x388
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5
-----------------------------------------


Add, at the end of /etc/rc.d/rc.local:

# Reinitialize sound card.
rmmod cs4232
modprobe cs4232