Audio works in gnome, but not shell
Posted: Mon Nov 06, 2006 1:50 am
[PROBLEM]
When trying to run any application that tries to directly output sound, I got this errormessage:
echo "xxx" > /dev/dsp returned this error:
[SOLUTION]
While this command:
- esddsp is doing exactly this rerouting. voila!
When trying to run any application that tries to directly output sound, I got this errormessage:
although sound was working properly for all graphical applications (I'm running Ubuntu 6.06 / gnome)Linux: can't open /dev/dsp
echo "xxx" > /dev/dsp returned this error:
although I had the correct access rights set (e.g.: my user was in group audio).bash: /dev/dsp: Device or resource busy
[SOLUTION]
While this command:
didn't work and resulted in the above errors, using "esddsp" did the job:echo "hello world" | festival --tts --pipe
The problem was that the "esd" (EsounD - The Enlightened Sound Daemon) was blocking direct access to the soundcard, so programs must either go through alsa or esd (if I understood correctly).echo "hello world" | esddsp festival --tts --pipe
- esddsp is doing exactly this rerouting. voila!