When the old process is still arround try finding and killing it via
'fuser /dev/dsp'
No, that's not the problem. I double checked that, e.g.:
~$ fuser /dev/dsp
~$ cat /dev/dsp
cat: /dev/dsp: No such device or address
That is expected since dmasound doesn't support recording. You'll have
to wait for 2.6 with alsa - see some older threat here.
~$ cat .bashrc > /dev/dsp
-bash: /dev/dsp: Device or resource busy
That should work and produce some noise :/. Never had this problem.
When I have soundproblems I just reload the modules via a
skeleton-drived script: "/etc/init.d/sound restart".
-----
# set -e #don't quite on the first error
[...]
start)
echo -n "Loading $NAME"
modprobe dmasound_pmac
modprobe dmasound_core
modprobe soundcore
echo "."
;;
stop)
echo -n "Unloading $NAME"
rmmod dmasound_pmac
rmmod dmasound_core
rmmod soundcore
echo "."
;;
restart)
N=/etc/init.d/$NAME
eval $N stop
eval $N start
;;
[...]
-----
-Thomas