You are not logged in.

#1 2014-07-12 01:43:22

vdrachtseq
Member
Registered: 2013-11-22
Posts: 22

et-sdl-sound doesn't work: "/dev/dsp: No such file or directory"

There's tons of discussion to be found on et-sdl-sound and its various known issues. I've read all of it and am still at a loss. et-sdl-sound is supposed to add ALSA (or Pulse) support to Enemy Territory. My problem is simply this:

I execute et-sdl-sound. Enemy Territory has no sound. I check the console output and it contains:

------- sound initialization -------
/dev/dsp: No such file or directory
Could not open /dev/dsp
------------------------------------

...the same as when I start ET without et-sdl-sound, which tells me it's still looking for OSS, even though my unaltered et-sdl-sound file contains:

SDL_AUDIODRIVER="alsa"

ALSA is working perfectly on my system, as far as I'm aware. I have sound, alsamixer works and detects my card, etc.

Can anyone help? Thanks.

Edit: I should mention that I have installed the appropriate SDL libraries. et-sdl-sound wouldn't execute if I hadnn't.

Last edited by vdrachtseq (2014-07-12 01:44:20)

Offline

#2 2014-07-12 10:19:06

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: et-sdl-sound doesn't work: "/dev/dsp: No such file or directory"

Load modules for oss emulation so that /dev/dsp is created:

#Alsa OSS Emulation
snd-pcm-oss
snd-mixer-oss
snd-seq-oss

Offline

#3 2014-07-12 20:43:39

vdrachtseq
Member
Registered: 2013-11-22
Posts: 22

Re: et-sdl-sound doesn't work: "/dev/dsp: No such file or directory"

I would much rather do this without OSS, and instead find out why et-sdl-sound isn't working (using ALSA) if possible.

Offline

#4 2014-07-12 21:27:26

SRookie88
Member
Registered: 2013-01-01
Posts: 4

Re: et-sdl-sound doesn't work: "/dev/dsp: No such file or directory"

I just got this working yesterday.  The OSS modules didn't work for me but following a couple of the comments in the AUR for et-sdl-sound did. 

Install et-sdl-sound from the AUR the usual way.  Then make a new package using the PKGBUILD from drelyn86 on 2013-02-10 along with the "260b-hardcode.patch" file from brenix on 2013-05-12.  Put these together and install the resulting package:

--> pacman -Ql et-sdl-sound-260b-hardcode 
et-sdl-sound-260b-hardcode /usr/
et-sdl-sound-260b-hardcode /usr/bin/
et-sdl-sound-260b-hardcode /usr/bin/et-260b.sdl

Run Enemy Territory using this new shell script and you should have sound.  Adlerweb's solution might be more elegant but I haven't tried it.

Offline

#5 2017-08-15 14:03:34

niezniszczalny
Member
Registered: 2015-12-11
Posts: 66

Re: et-sdl-sound doesn't work: "/dev/dsp: No such file or directory"

Hello, I've just read you topic on the forum.
I'm trying to use same solution as you did but I'm having some problems.

I downloaded those two files from Drelyn's comment on AUR website:
PKGBUILD: http://pastebin.com/PG9nVxMi
patch: http://pastebin.com/b4ihEJWa

So I've got those files in one directory:
- PKGBUILD
- 260b-hardcode.patch
(from Drelyn)
and
- enemy-territory.sh
- 0001-Added-various-Arch-Linux-patches.patch
- .SRCINFO
(from et-sdl-sound on AUR website)


And when I try to makepkg it shows me:

$ makepkg enemy-territory.sh 
==> ERROR: Missing package() function in /home/kujaw/wolf_et/et-sdl-sound-260b-hardcode/PKGBUILD

==> ERROR: An unknown error has occurred. Exiting...

Could you navigate me how to use this hardcoded patch to get ET finally working 100%?

Offline

#6 2017-08-15 14:53:28

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: et-sdl-sound doesn't work: "/dev/dsp: No such file or directory"

Pacman / makepkg have had some changes, the PKGBUILD needs to be adapted .

as this uses git sources, check https://wiki.archlinux.org/index.php/PKGBUILD and https://wiki.archlinux.org/index.php/VC … guidelines .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB