/dev/dsp -- how do I set it up? (no sound RTCW issue)
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/dev/dsp -- how do I set it up? (no sound RTCW issue)
Distro: Debian Sarge.
kernel: uname -r =2.6.8-2-k7
desktop: KDE 3.3.2
symptoms:
1) some sound apps work. I can play an mp3 from my cdrw dev/hdc aka /media/cdrom0 with Noatun, Kabodle, Totem movie player (all by right clicking the .mp3 and selecting the app).
2)
a. some sound apps don't work. XMMS complains:
Couldn't open audio Please check that: Your soundcard is configured properly You have the correct output plugin selected No other program is blocking the soundcard"
b. Rythmbox Music Player also can't play and complains:
1st error box -- "could not pause playback"
2nd error box -- "Device "/dev/dsp" does not exist"
3) Return to Castle Wolfenstein graphics load but not the sound: "Could not open /dev/dsp". I opened a root terminal and browsed to /dev but didn't see 'dsp' anywhere.
4) ps aux output lists several items including aRts which I know is associated to sound:
beebleq 4750 0.3 0.8 21884 8328 ? S 07:48 2:01 /usr/bin/artsd -F 10 -S 4096 -d -m artsmessage -c drkonqi -l 3 -f
Mmmkay. How do I configure my sound properly? It's onboard nforce sound on Abit NF7-S ver.2 (Nforce2 ultra).
MEPIS didn't give me any problems with sound -- anyone know how to parrot on Debian what MEPIS does by default?
There may be a chance that the permissions on /dev/dsp are set too strictly. I've had that problem before but with slackware. If the user is unable to access /dev/dsp, then you will get those kind of errors. Changing the permissions may do the trick.
but Noatun, Kabodle, Totem works, so i don't think it's permissions. also look to make sure that /dev/dsp is your sound card and not /dev/snd or something similar
bosewicht: I think before I start changing settings in there I'd better get more specific feedback. I actually did try switching between Alsa, esound output plugin and OSS, but nothing changed (still get error). I don't think it's XMMS because at least two other apps also don't work.
Maestro485: nothing can be hidden from root and that's how I browsed to see no /dev/dsp. So I don't think it's a permission issue (not permissions with root). I do have these devices(?) under dev/snd:
debian:/dev/snd# ls -la
total 0
drwxr-xr-x 2 root root 160 2006-01-24 21:15 .
drwxr-xr-x 12 root root 3920 2006-01-24 21:16 ..
crw-rw---- 1 root audio 116, 0 2006-01-24 21:15 controlC0
crw-rw---- 1 root audio 116, 24 2006-01-24 21:15 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2006-01-24 21:15 pcmC0D0p
crw-rw---- 1 root audio 116, 25 2006-01-24 21:15 pcmC0D1c
crw-rw---- 1 root audio 116, 18 2006-01-24 21:15 pcmC0D2p
crw-rw---- 1 root audio 116, 33 2006-01-24 21:15 timer
ok, so in xmms change the dev from /dev/dsp to /dev/snd the apps are defaulting to /dev/dsp and there is none, hence the errors. You have sound, it works, those apps are looking at the wrong device.
No. We're getting no joy here. It's more than one solitary application(XMMS). What's the connecting master application that affects XMMS, Rhythmbox, OSS based games like RTCW? Anyone?
this may be a udev thing, so there may be a udev way to fix it, but do you have /dev/dsp0, /dev/dsp1, etc.? if so, did you try linking /dev/dsp to /dev/dsp0:
maybe this has already been addressed but have you checked in `alsamixer`, i know there are many settings available on my nforce2 board..
also did you install the nvidia nforce drivers? IIRC, I leave all sound options blank except for AC97 in the kernel config and then install the nforce drivers, otherwise there were some weird conflicts.. i cant remember though for sure.. havent recompiled in a couple months..
i would check `alsamixer` atleast youll see what card is being detected by alsa..
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
Anyone having sound problems in Wolfenstein Enemy territory or other games can try the suggestions here. https://help.ubuntu.com/community/EnemyTerritory I am running Debian Etch, not Ubuntu, but the suggestions work for most distros. If not, change the commands a little bit to fit your distro. Let me know if this helps.
you guys are awesome I never actually got it fixed, and I think it was because I hadn't installed the drivers. thx for keeping it alive -- just installed Xandros a few days ago and plan on getting it to work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.