LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 07-26-2004, 07:42 AM   #1
AGilley007
Member
 
Registered: Jun 2004
Location: Eden, NC
Distribution: Various
Posts: 267

Rep: Reputation: 30
wolfenstein no sound


I am using mandrake 10 and when I try to play it I have no sound and when I run it in the terminal I get this,

/dev/dsp: Input/Output error
Could not mmap /dev/dsp
 
Old 07-26-2004, 10:49 AM   #2
AGilley007
Member
 
Registered: Jun 2004
Location: Eden, NC
Distribution: Various
Posts: 267

Original Poster
Rep: Reputation: 30
anybody?
 
Old 07-26-2004, 11:14 AM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Mandrake is still using devfs so the sound devices are not in the normal place. You just need to make a symlink to the real dsp0 device.
/dev/dsp -> /dev/audio/dsp0

I think that's where it's at but it might be:
/dev/dsp -> /dev/sound/dsp0
 
Old 07-26-2004, 11:31 AM   #4
AGilley007
Member
 
Registered: Jun 2004
Location: Eden, NC
Distribution: Various
Posts: 267

Original Poster
Rep: Reputation: 30
How do I cange it to do that?
 
Old 07-26-2004, 11:40 AM   #5
AGilley007
Member
 
Registered: Jun 2004
Location: Eden, NC
Distribution: Various
Posts: 267

Original Poster
Rep: Reputation: 30
I tried entering it in the terminal and I got this,

[alan@dhcppc1 alan]$ su
Password:
[root@dhcppc1 alan]# /dev/dsp -> /dev/sound/dsp0
bash: /dev/sound/dsp0: Permission denied
 
Old 07-26-2004, 12:25 PM   #6
AGilley007
Member
 
Registered: Jun 2004
Location: Eden, NC
Distribution: Various
Posts: 267

Original Poster
Rep: Reputation: 30
[alan@dhcppc1 alan]$ su
Password:
[root@dhcppc1 alan]# /dev/dsp -> /dev/audio/dsp0
bash: /dev/audio/dsp0: Not a directory
 
Old 07-26-2004, 12:46 PM   #7
Phorem
Member
 
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374

Rep: Reputation: 30
Top make a symlink, try (actually, don't try, this is how you make a symlink):

root#> ln -sf /dev/sound/dsp0 /dev/dsp

Then change permissions so it can be used as a normal user:

root#> chmod 777 /dev/dsp

Had this same problem with Enemy Territory.
 
Old 07-26-2004, 12:59 PM   #8
AGilley007
Member
 
Registered: Jun 2004
Location: Eden, NC
Distribution: Various
Posts: 267

Original Poster
Rep: Reputation: 30
I did that now I get this /dev/dsp: No such file or directory
Could not open /dev/dsp
 
Old 07-26-2004, 01:11 PM   #9
Phorem
Member
 
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374

Rep: Reputation: 30
Ok, let's try this again.

1. Does /dev/sound/dsp0 exist?

2. I don't think the original problem had anything to do with symlinks. I think it was permissions (thus the chmod 777 part).

3. If /dev/sound/dsp0 does exist and you have made a symbolic link as root to /dev/dsp and changed permissions then i don't know what is wrong. Sorry.

Another note - which is a little off topic - is the chmod 777 might have to go into your rc.local (or equiv. for Mandrake to start up commands at boot i.e. adsl-start ). Every time the system reboots it will go back to root ownership and will not work until you chmod 777 /dev/dsp.

All i got.

Edit** - While i have been typing /dev/sound it might also be /dev/audio (as /bin/bash had mentioned). Just look for dsp0 and make a symlink to it as /dev/dsp.

Last edited by Phorem; 07-26-2004 at 01:14 PM.
 
Old 07-27-2004, 05:16 PM   #10
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
Okay guys I had the same problem and Im still working on it, but here is the reason why it doesnt work. Wolfenstein, and Wolfenstein Enemy Territory, use OSS sound, NOT ALSA. Most of the time linux distros just install ALSA right out the box. I guess you need to install some kinda OSS/ALSA emulation. Im still not sure, but there is a text file with the Wolfenstein ET install for linux
 
Old 07-28-2004, 04:24 PM   #11
PhaseSpace
LQ Newbie
 
Registered: Dec 2003
Posts: 29

Rep: Reputation: 15
I have OSS sound driver and the enemy territory game sound does not work. Anyone have this and have to do any modifications to make it work?
 
Old 07-28-2004, 04:50 PM   #12
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
hi, firstly could you search for the location of the REAL (not a link to) dsp device and then post it.
also "ln -sf /dev/blabla /dev/dsp" doesn't replace existing links, you need to "rm /dev/dsp" first (making sure you are not deleting the REAL device).
 
Old 07-28-2004, 05:14 PM   #13
PhaseSpace
LQ Newbie
 
Registered: Dec 2003
Posts: 29

Rep: Reputation: 15
I list a command: 'ls /dev/dsp*' gives: There is a link from dsp to dps0, i remove this link, but there is still no sound in the program.

crw------- 1 root root 14, 3 Jul 28 12:56 /dev/dsp0
lrwxrwxrwx 1 root root 9 Jul 28 12:56 /dev/dsp -> /dev/dsp0
 
Old 07-28-2004, 05:37 PM   #14
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I see. can you browse /dev and find /dev/sound or /dev/audio? if so, can you print the output of:

ls -l /dev/sound or
ls -l /dev/audio

please.

edit: try permissions first though!

ie:

chmod 666 /dev/dsp0

Last edited by Tuttle; 07-28-2004 at 05:41 PM.
 
Old 07-28-2004, 05:55 PM   #15
PhaseSpace
LQ Newbie
 
Registered: Dec 2003
Posts: 29

Rep: Reputation: 15
Changing user permissions does not work.
'ls -l /dev/sound/' gives nothing.

'ls -l /dev/audio' gives a link to dsp:
lrwxrwxrwx 1 root root 8 Jul 27 16:41 /dev/audio -> /dev/dsp

hmm.
 
  


Reply



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
How to change Sound Driver for Wolfenstein ET?? flamesrock Linux - Games 5 09-23-2006 10:51 AM
Wolfenstein: no Sound as User olias Linux - Games 9 11-10-2003 04:41 PM
Wolfenstein PIayer Linux - Software 2 09-27-2003 03:37 PM
Return to Castle Wolfenstein and sound walterw Linux - General 4 08-08-2003 01:17 PM
Wolfenstein bax Linux - Software 6 02-14-2003 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 08:57 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
Open Source Consulting | Domain Registration