[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OSS device "/dev/dsp" is already in use by another program



On Tuesday 09 August 2005 23:12, Jon D. Irish wrote:
> I just finished compiling a 2.6.12.4 kernel to support the sound card in my
> Dell Optiplex GX270; however, when I try to play audio via Music Player, I
> keep getting a "OSS device "/dev/dsp" is already in use by another program"
> error. I have verified that there are no other programs running at the
> time, so what else would be using the device?

Try using lsof (may be installed by running `apt-get install lsof`) on the 
file:
le-skrewz:/home/skrewz#  lsof /dev/dsp
COMMAND  PID USER   FD   TYPE DEVICE SIZE   NODE NAME
nasd    2682 root    4u   CHR   14,3      310544 /dev/dsp

You may then use kill to kill the process by pid.

Regards, Anders Breindahl.

Attachment: pgphGkDemXWdy.pgp
Description: PGP signature


Reply to: