LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/dsp + device busy/no audio + esd (https://www.linuxquestions.org/questions/linux-newbie-8/dev-dsp-device-busy-no-audio-esd-125083/)

mghere 12-11-2003 08:32 PM

/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!)

Tinkster 12-11-2003 08:52 PM

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



Cheers,
Tink

mghere 12-11-2003 09:34 PM

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)


Demonbane 12-11-2003 09:47 PM

"fuser -k /dev/dsp" should kill whatever process thats using /dev/dsp

mghere 12-11-2003 10:13 PM

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.

?

Demonbane 12-11-2003 10:18 PM

try
/sbin/fuser -k /dev/dsp

mghere 12-11-2003 10:23 PM

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

mghere 12-11-2003 11:51 PM

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...


All times are GMT -5. The time now is 05:15 AM.