Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-25-2003, 03:44 PM   #1
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37

Rep: Reputation: 15
Heroes of Might & Magic 3 (Loki) - ESD Problem

I have just found a copy of Heroes Of Might And Magic 3 for Linux.

I've Mandrake 9.1, and whenever I start the game it says that my /dev/dsp is busy. I tried to stop artsd (with a kill based on the listing of ps -A), but it wasn't that to keep my resource busy.

I've to start esd (the daemon) in order to get this thing working. Please tell me a good way to:
a) understand what's keeping my dsp busy
b) kill it brutally
c) start the game

Old 09-26-2003, 08:57 PM   #2
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
To kill the process that uses /dev/dsp automatically, just do:

fuser -k /dev/dsp

fuser --help
Will give you more info on it, also check out the man/info pages. It can also list what's using the file, and it does a lotmore.
So.. you could just make a shell script:


fuser -k /dev/dsp
<Inser whatever you use to start the program with it's full path, use 'which "program name" ' to fine out the path to it>
Make a file of that, (remember not to include the <>), chmod that +x and save it in /usr/bin
Then run the file. Should work just fine

Happy gaming!
Old 09-27-2003, 06:26 AM   #3
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37

Original Poster
Rep: Reputation: 15

Thank you very much!!! You saved my day...

It's just:


su - root "-c fuser -k /dev/dsp;esdmon &"

Uh, I also tried with "/etc/rc5.d/S17sound stop" and "S18alsa stop". It didn't worked the first time, but the second it did (?!?!?). Boh. Your way is much more clean, anyway...



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
No sound in Heroes of Might and Magic 3 PeterWelzien Linux - Games 0 09-25-2004 06:23 AM
Heroes of Might and Magic III avatar3000 Linux - Games 0 09-07-2004 02:54 AM
Heroes of Might and Magic 3 v1.3.1a patch TXM Linux - Games 0 07-31-2004 01:31 PM
Running Heroes of MAM 3 (Loki) addisono Linux - Games 0 01-19-2004 12:09 AM
Heroes of Might and Magic?? KaktusKnight Linux - Software 2 01-23-2003 10:56 AM > Forums > Linux Forums > Linux - Software

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

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