(gtk) "/dev/dsp: Device or resource busy"

(gtk) "/dev/dsp: Device or resource busy"

Post by seth » Tue, 15 Feb 2000 04:00:00

I am experimenting with gtk programing,
trying some examples(hello.c kind of thing).

It compiles and runs fine, but the first thing
 I get for standard output is "/dev/dsp: Device of resource busy".
 (after that it runs fine, like it should)

I am playing xmms at the time and when I am not running xmms
 I dont get the error.
my question is this: Can more than one program use /dev/dsp at once?
(more info): when I run fuser on /dev/dsp, It returns with
  more than one PID. what gives?

Thanks, Seth King

Posted via CNET Help.com


(gtk) "/dev/dsp: Device or resource busy"

Post by Eduard Blo » Wed, 16 Feb 2000 04:00:00

Am Mon, 14 Feb 2000 17:30:07 GMT schrieb/wrote/a crit

>my question is this: Can more than one program use /dev/dsp at once?

You could use Eound (esd), a sound daemon. Mana programs, ie. xmms have
plugins for esd, other apps can connect to it (instead of /dev/dsp) if
started trough the wrapper (esddsp).

>(more info): when I run fuser on /dev/dsp, It returns with
>  more than one PID. what gives?

try fuser -v



1. /dev/ttyS2 (/dev/cua2) reports "device or resource busy" on kernel 2.1.95

I have just upgraded my kernel from 2.1.77 to 2.1.95

I use isapnp tools to set the IRQ and I/O address of my modem, then
to tell the driver that /dev/ttyS2 is where it is.

This worked fine on 2.1.77 kernel but now I get the message that the
"device or resource busy", when I attempt to open it (with say, dip
or kermit). Nothing else is using the port.

What has changed between these two kernel releases that would cause

(also tried /dev/cua2 (which is being 'deprecated') to the same
works on 2.1.77 and is busy on 2.1.95)

(remove the '__' before the address when replying please)
   |\      _,,,---,,_          Michael Katzmann  ( NV3Z / VK2BEA / G4NYV
   /,`.-'`'    -.  ;-;;,_              -  Broadcast Sports Technology
  |,4-  ) )-,_. ,\ (  `'-'             -  Odenton, Maryland. U.S.A.

public key)

2. Why do we need to donwload three iso for Mandrake 8.2? NEED HELP

3. mouse -> /dev/mouse "device or resource busy"

4. 1.2.13 compile problems please help!

5. help wanted with "/dev/cua1: Device or resource busy"

6. Q: getting at the FPU status in a SIGFPE handler

7. "/dev/audio: Device or resource busy" why?

8. A New " America Online"......$19.96\month Unlimited access!!!

9. how to kill "mt" or make "/dev/rmt/..." device NOT BUSY?

10. Device or resource busy /dev/dsp?

11. /dev/dsp: Device or resource busy

12. Linksys/tulip: "Device or resource busy"

13. Unable to use serial terminal: "Device or resource busy"