Comment 28 for bug 76876

Revision history for this message
asdfghjklasdfghjkl (asdfghjklasdfghjkl-deactivatedaccount-deactivatedaccount) wrote : Re: /dev/dsp busy, but no program using it

Using 7.10 gutsy gibbon with newest updates, and i can confirm the same problem.

However, did the following right after a clean install, dist-upgrade and login (to be sure there's no weird processes blocking /dev/dsp):

$ cat /dev/urandom > /dev/dsp
bash: /dev/dsp: Device or resource busy
$ ps ax | grep esd
15858 ? SL 0:00 /usr/bin/esd -nobeeps
$ kill 15858
$ cat /dev/urandom > /dev/dsp
[add some white noise here] - ctrl+c
$

So should be an ESD problem, not FF or Java or something.
And the "ESD problem" is caused by ubuntu running ESD on the background with the option -nobeeps.
Killing the ESD process frees the sound card and vóila, sounds working again!

Don't know really which package this affects, hopefully someone will take a look at this.