I wanted to archive the procedure that I had to take to get my ALSA driver working correctly with libranet on my TP600. The problem seems to be that the module needs to be loaded after X initializes. To do this, there is a script that I found and added to my rcS.d. This solved everything.
I first added the snd-cs4236 module to my /etc/modules using vi.
Second, I made the below script and placed it in /erc/init.d/
I then made links in all rc.X start runlevels.(rc2.d rc3.d rc4.d rc5.d rcS.d)
Make sure to update-rc.d cs4236 defaults
Reboot and things should be working.
:::This needs to be altered just a little bit. There was a syntax error which has been solved now:::
# !/bin/bash
# chkconfig: 345 84 16
# description: Starts/stops the CS4236 driver at boot time and shutdown
HOME=/etc
case "$1" in
start)
echo "Starting CS4236 driver"
rmmod snd-cs4236
modprobe snd-cs4236
;;
stop)
echo "Stopping CS4236 driver"
rmmod snd-cs4236
;;
restart)
$0 stop
$0 start
;;
status)
echo "Status (NO-OP)"
;;
*)
echo "Usage: snd-cs4236 {start|stop|status|restart}"
exit 1
esac
exit 0
:::I am going to have to play with the alsamixer settings to get them to reload on every reboot, which they are not doing now:::
