[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-10-03 Thread Eetu Kinnunen
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.

** Summary changed:

- /dev/dsp busy, but no program using it
+ /dev/dsp busy, weird ESD process using it

** Description changed:

  Previously discussed at http://ubuntuforums.org/showthread.php?t=313755,
  this bug presents itself to Edgy Eft users, perhaps only ones who
  upgraded from Dapper.
  
  These commands pretty much tell the story:
  
  $ sudo fuser /dev/dsp
  $ sudo lsof /dev/dsp
  $ sudo cat /dev/urandom  /dev/dsp
  bash: /dev/dsp: Device or resource busy
  $
  
  The result is that any program dependent on sound is unable to speak
  with the sound card. After a period of time it will reset itself and
  sound is restored until it next freezes up. It affects systems using OSS
  and ALSA.
  
  If the user logs out and back in, sound is restored for a time.
  
  The only thing I see related to sound in 'ps ax' when the /dev/dsp is busy is 
a couple esd lines:
  $ ps ax|grep esd
   6322 ?Ss 0:00 /bin/sh -c /usr/bin/esd -terminate -nobeeps -as 1 
-spawnfd 19
   6323 ?SL 0:06 /usr/bin/esd -terminate -nobeeps -as 1 -spawnfd 19
+ 
+ I'm adding some info from Gutsy:
+ 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.

-- 
/dev/dsp busy, weird ESD process using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-09-19 Thread Andrew Canis
I ran:
$ sudo lsof |grep /dev/snd/
Turned out gnumeric was using:
/dev/snd/timer
/dev/snd/pcmC0D0p
/dev/snd/controlC0
After killing it my sound came right back. Hope this helps.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-07-30 Thread Kristopher K. Kruger
I had something similar until I stumbled across this bug, the top of
which there is mention of esd.

$ ps ax|grep esd
 8774 ?S  0:00 /usr/NX/bin/nxesd -tcp -nobeeps -port 6000 -bind 
127.0.0.1
 9482 pts/1R+ 0:00 grep esd


And sure enough, in my case nxesd (of the Nomachine program) was occupying the 
sound.
(I had the 'enable multimedia support' enabled for nx client connections to 
foreign servers.)

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-07-08 Thread joudy
Hi, I had the same problem with this error message Device or resource
busy. Command lsof /dev/dsp or /dev/audio gave me no output. But lsof |
grep /dev/snd/ showed me some process using files in this directory
which is used by ALSA. Killing these process solved my problem.

However it is still interesting why some programs can made ALSA busy.

Dundee

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-06-01 Thread Juraj
Well, if it is a bug, it's been unresolved a long time, and everybody
who tried juggling with games knows about such trouble with OSS.

Your solution is to kill processes which haven't ended properly. Or run
them with aoss :-)

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-31 Thread Juraj
Yes, this can be SO annoying! Fuser displays nothing, yet /dev/dsp is
busy.

I'm running feisty and am still experiencing this sometimes.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-31 Thread Juraj
Just to mention, my original distro was dapper. I've upgraded it to edgy
and now to feisty. Bug is still present.

** Tags added: feisty

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-31 Thread Ron Hoogwater
Juraj: did you use sudo? When you did, your problem is a different one
from mine and some others in this discussion.

For me, it is clear my /dev/dsp is used by firefox and openoffice, and
the question is why these programs use /dev/dsp exclusively. Maybe it
should be reported as a bug in these programs?

But if it is, everyone should have this error, doesn't it?

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-31 Thread Juraj
It made no difference whether I used sudo or not. This bug is called
/dev/dsp busy, but no program using it

Exclusive usage of /dev/dsp IS NOT a bug. It's a hardware limitation of
your sound card, which doesn't support hardware mixing. The Open Sound
System (OSS) architecture does NOT support software mixing - therefore,
you can't have two or more OSS apps at the same time if your sound card
doesn't support hardware mixing. You can recognize OSS by use of
/dev/dsp as the audio device.

The solutions are few. You can buy a better sound card; you can
configure these programs to use Advanced Linux Sound Architecture (ALSA)
which supports software mixing; or, you can use the alsa-oss (aoss)
wrapper to run OSS programs through ALSA.

This what you experience is NOT a bug. It's a limitation of OSS.

A bug is when /dev/dsp is busy when no programs are using it.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-31 Thread Ron Hoogwater
True,  the title should be clear enough.

But there are 2 discussions going on here; for example bcdeck,
flickerfly and Georges  seem to have the same problem as me.

By the way, I think it IS a bug. In a distribution, sound should be working, no 
matter which program I use. That's what you and George said: these programs 
need an update on its sound management.
It would be a bad idea to buy a new sound-card, alsa works fine; as you said 
too.

Anyway, this discussion shouldn't be hold here, since this is another
bug, probably of these programs self.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-23 Thread Ron Hoogwater
I have the same problem, but found that firefox and openoffice use
/dev/dsp exclusively sometimes. Could it be related to java?

Easy way to check which program is using /dev/dsp:

$ fuser /dev/dsp

Then find the PID with top.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-14 Thread Cortland Klein
7.04 no longer has this issue on Apple PowerBook G4 12 1.5 GHz

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-14 Thread Georges
upgrading to the latest flash plugin solved most of the issues, so it was the 
plugin's fault.
I still see problems when I have sound in java applets. So that's another 
plugin needing an update on it's sound management.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-12 Thread molcrin
I'm not an Ubuntu user, I use Sidux and came accross this page by
accident, but as they are both Debian and the symptoms are the same this
might work for a temporary fix:

sudo lsof | grep /dev/snd

This should just list artsd. Kill it and run your sound app straight
after.

Once your program has exited artsd is restarted and your program won't
have sound again.


I know this isn't the answer but, if it does on Ubuntu what it does for my 
Sidux then, maybe somebody with a bit more knowledge can do something with it.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-05-08 Thread mattsteven
Another program that will mysteriously hog alsa is the softmodem sl-
modem-daemon.

I believe the hardware is capable of running both the modem and the
sound card at once but the software is not.

-- 
/dev/dsp busy, but no program using it
https://bugs.launchpad.net/bugs/76876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-03-18 Thread Georges
it is flash related and has been also on all previous versions of linux, 
indifferent of distribution.
It may work better with the latest flash plugin (version 9) but I still suspect 
the java plugin to also mess around with sound in the same way.

But the real bug is: how do we find out which program is responsible of
blocking /dev/dsp. For the moment I just do a random kill here and there
until I get my sound back.

Georges

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 76876] Re: /dev/dsp busy, but no program using it

2007-03-18 Thread Ben Collins
On Sun, 2007-03-18 at 21:53 +, Georges wrote:

 But the real bug is: how do we find out which program is responsible of
 blocking /dev/dsp. For the moment I just do a random kill here and there
 until I get my sound back.


sudo lsof | grep /dev/dsp

-- 
Ubuntu:http://www.ubuntu.com/
Linux1394: http://www.linux1394.org/

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-02-22 Thread flickerfly
I'm still having this problem on Edgy. I have an update though. I'm
working some more on digging up dirt.

I've tried killing off certain things that are suggested to be related
and then run 'ps ax|grep esd' and I'm finding that I don't have any esd
related things in the list so that would seem to be unrelated.

I went for nearly a month without a problem, but it has re-cropped up.
Might be some change of my own habits, but I'm not sure.

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-12 Thread Cortland Klein
I'm getting a similar issue on my Apple 12 PowerBook G4 rev.A. My
profile URL is
http://hwdb.ubuntu.com/?xml=b3248bb23e46628798fb6a167e0e7390 ; not sure
if that helps or not.

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-10 Thread bcdeck
OK, I've found a bit more out. I get the above error when I'm running a
Java-based game called Lux (http://sillysoft.net/lux/). With Lux
running, I get the previously mentioned error message. Without, sound
plays fine. Also, Firefox does not cause me an issue.

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-03 Thread Paulo Miguel Marques
google brought me here, but it may or may not be related. I found that
it was not dsp that was occupied, but that firefox (very likely the
flash plugin) was blocking /dev/sound/pcm[something].

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-03 Thread bcdeck
I'm running Edgy (clean install on a reformatted drive) on an nforce2
chipset. I get a similar issue -- audio apps produce no sound on an
intermittent basis, and they give no error messages.

The app gui indicates the app is playing the media or stream happily. If
I go to the sound prefs tab and try to test a sound, I get this error
message:

audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample !
gconfaudiosink: Resource busy or not available.

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-03 Thread mars
I have a similar issue.

However there is a difference of ALSA behaviour between the super user (
the account created during installation) and a subsequent one.

As the first user,

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

As a subsequent user,

$ aplay -l
aplay: device_list:222: no soundcards found...

Infact during the same X login as the second user, I sudo to the first
user account and can play the sound. Looks like some ALSA configuration
issue.

There is no difference in lspci -vv between the two accounts.

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-03 Thread Motin
Same experience as Paolo: Google brought me here via Ubuntu forums.

Had firefox running with a youtube movie on pause. Shutdown the youtube
site and then the device was not busy any more.

Can the OP confirm that FF was not running at the time of finding the
bug? Then I can file a new bug - one for the fact that none of the
commands used by OP doesn't list Firefox / Flash as the application
hogging /dev/dsp...

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2007-01-03 Thread flickerfly
It is entirely possible that I was using YouTube or GoogleVideo in
coorespondence. I know that it happened at least once when that was the
case. It may coorespond. I'll try to replicate it.

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2006-12-22 Thread flickerfly
** Tags added: alsa busy dev dsp edgy resource sound

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2006-12-22 Thread cfi
Can confirm. For me it happens on Dapper, upgraded from an initial install of 
Breezy. Haven't tried Edgy and won't in the near future.
Relogin of user solved the problem. Today (22Dec06) is the first time this 
ocurred.
Have only one real soundcard (chipset on Nvidia based motherboard), but also 
one TV card (Pinnacle 300i) that identifies itself as soundcard (saa7134)

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 76876] Re: /dev/dsp busy, but no program using it

2006-12-22 Thread flickerfly
Thanks for the confirm cfi. I have an Intel based chipset.

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: ICH6 [Intel ICH6], device 4: Intel ICH - IEC958 [Intel ICH6 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-- 
/dev/dsp busy, but no program using it
https://launchpad.net/bugs/76876

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs