LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-11-2003, 08:32 PM   #1
mghere
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
/dev/dsp + device busy/no audio + esd


ok, so i am new to linux and know even less about audio.

I am using rh7.3 because i need those libs to run a scripting app i am working on....
I can't get the sound server connected to that app to run
the sound card is not one that is recognized by rh7.3 -- is by rh9....(analog devices AD1816A)
so tho sound is a bit tinny, it is audible...


message when running it is:

[@localhost local]$ /usr/local/yg/bin.linux/snerd
snerd (bergen sound server) - Version 0.4,1evl - Compiled Mar 20 2003
Failed to open audio port for writing
/dev/dsp: Device or resource busy

Note, i don't know if the Esd shutdown was connected, but after trying to run snerd, and fooling around trying to find out about what Esd and dsp were and logging out, Esd needed to be re-started after logging back in ;P

Short story:
I am not sure how to kill whatever process is using the audio resource -- don't know what is using it -- haven't run any sound app at all since installing rh7.3 but snerd! (I tried killall artsd, tho not sure what artsd is...no process was killed, anyway). I have seen many notes on this type problem...but no solutions...

Again, my knowledge of the audio on linux is primitive (on rh9/KDE i could find the volume control and change its properties...i haven't been able to do even that on rh7.3/Gnome). The sound daemon and Esd wrapper i have been reading about, but have not found any concrete enough leads to attack this problem...

I am perhaps leaving out vital info -- but will check out and forward what is needed as can/per request.

any commands to use, or info about this would be appreciated

thanks in advance

(hope this the right place to post this question!)

Last edited by mghere; 12-11-2003 at 09:33 PM.
 
Old 12-11-2003, 08:52 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Are you, by any chance, using KDE? In this
case the arts daemon would be the culprit.



Cheers,
Tink
 
Old 12-11-2003, 09:34 PM   #3
mghere
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for response...good to know where artds comes from/is affiliated

but, no -- am using Gnome...its Esound (in Gnome), yes?

don't know how to free up device (don't even know if it truly *busy*, or what it is doing - i can't access any audio properties as on rh9 and should i say it, windows... ;P)


Last edited by mghere; 12-11-2003 at 09:38 PM.
 
Old 12-11-2003, 09:47 PM   #4
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
"fuser -k /dev/dsp" should kill whatever process thats using /dev/dsp
 
Old 12-11-2003, 10:13 PM   #5
mghere
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
well i actually have run that command (or another similar one, hard to remember -- think mebbe this was why had to resttart esd tho)

Then as just now got this result:

[root@localhost]# fuser -k /dev/dsp
bash: fuser: command not found

i don't know why -- doing a man on fuser, i see it should run...and was su'd as root.

?
 
Old 12-11-2003, 10:18 PM   #6
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try
/sbin/fuser -k /dev/dsp
 
Old 12-11-2003, 10:23 PM   #7
mghere
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
of course :P

this time no argument -- but snerd still not running...
Failed to open audio port for writing
/dev/dsp: Device or resource busy

hmmmm
 
Old 12-11-2003, 11:51 PM   #8
mghere
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
so i know that one doesn't really reply to one's own posts...

but I was wondering if after running /sbin/dev/fuser -k /dev/dsp (correctly this time) the app I was using still complain there was no free audio port, could there be something else running? As noted previously, i am using Gnome in rh7.3; does anyone have any idea of what might be running?

mebbe i am fishing in the wind?


Someone has suggested i re-install everything...can that really be necessary?

thanks all for previous replies...
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/dsp device or resource busy Daem0hn Linux - General 4 12-11-2005 12:22 PM
/dev/dsp busy, killall esd itsjustme Ubuntu 6 06-15-2005 04:15 PM
"/dev/dsp: Device or resource busy" Cdzin Linux - Hardware 4 02-25-2004 06:39 AM
OSS API - opening /dev/dsp when device busy vasudevadas Programming 10 12-02-2003 12:11 PM
open /dev/[sound/]dsp: Device or resource busy tearinox Linux - Newbie 1 10-24-2003 06:47 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration