LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-14-2003, 10:13 PM   #1
Daem0hn
Member
 
Registered: Jul 2003
Location: Australia
Distribution: Gentoo 1.4
Posts: 43

Rep: Reputation: 15
/dev/dsp device or resource busy


Gentoo 1.4
KDE 3.1 or Gnome 2.2.2
onboard soundcard (dont know model but its pretty cheapo one)

sometimes, seemingly randomly (i konw it isnt random due to the computer being perfectly logical and incapable of illogical or random processing) when i start something that uses sound (xmms, enemy territory, etc) they return the /dev/dsp device or resource is busy

how do i free up, 'unbusy' this device
i have done a search and found the command
fuser -k /dev/dsp

however after running that, nothing changes
"/dev/dsp device or resource busy"

i have done a
# ps -A | grep arts
#

the arts daemon is not running

my soundcard is not supported by alsa (sdly) and so that is not an option for me until i get myself a new soundcard

any ideas or do i have to keep rebooting and hoping that what ever is using the sound device disappears as randomly as it appeared :P

thanks in advance
 
Old 12-14-2003, 10:41 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Code:
lsof | grep \/dev\/dsp
Cheers,
Tink
 
Old 12-15-2003, 12:44 AM   #3
Daem0hn
Member
 
Registered: Jul 2003
Location: Australia
Distribution: Gentoo 1.4
Posts: 43

Original Poster
Rep: Reputation: 15
is that meant to be ls -of ???

what library / package does the lsof command come in?
 
Old 12-15-2003, 06:32 AM   #4
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
emerge lsof dude. it's in portage and is well cool,

I guess it stands for LiSt Open Files
 
Old 12-11-2005, 01:22 PM   #5
tr1cky
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
lsof...

I've checked that lsof was installed and then tried the command. This is what I get. I'm having the same problem as the thread starter btw.

~$ lsof | grep \/dev\/dsp
lsof: WARNING: can't stat() ext3 file system /dev/.static/dev
Output information may be incomplete.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is my /dev/dsp always busy ? mnguyen Linux - Software 1 03-22-2004 03:13 AM
"/dev/dsp: Device or resource busy" Cdzin Linux - Hardware 4 02-25-2004 07:39 AM
/dev/dsp + device busy/no audio + esd mghere Linux - Newbie 7 12-12-2003 12:51 AM
OSS API - opening /dev/dsp when device busy vasudevadas Programming 10 12-02-2003 01:11 PM
open /dev/[sound/]dsp: Device or resource busy tearinox Linux - Newbie 1 10-24-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration