Problem with 6.5rc1
Lars Bjørndal
lars.bjorndal at broadpark.no
Wed Nov 28 15:36:01 CET 2007
Thank you, all!
At last I was able to start SD as a SD user. spd-say works. However,
logging in as lrs, and doing mplayer url, still gives:
[AO_ALSA] alsa-lib: pcm_dmix.c:831:(snd_pcm_dmix_open) unable to
create IPC semaphore
[AO_ALSA] Playback open error: Permission denied
Output of ls -al /dev/audio, no gives
crw-rw-rw-+ 1 root audio 14, 4 2007-11-28 11:11 /dev/audio
I don't want to run mplayer with sudo...
BTW: I get an error message when starting the script:
Starting speech-dispatcher: Couldnt get a file descriptor referring to
the console. The startup script now looks like:
#!/bin/bash
#
. /etc/init.d/functions
test -x /usr/bin/speech-dispatcher || exit 0
RETVAL=0
prog="speech-dispatcher"
start() {
echo -n $"Starting $prog: "
daemon --user speech-dispatcher --pidfile /var/run/speech-dispatcher/sd.pid /usr/bin/speech-dispatcher -P /var/run/speech-dispatcher/spd.pid
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/speech-dispatcher
echo
}
...
Lars
More information about the Speechd
mailing list