LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Return to Castle Wolfenstein and sound (https://www.linuxquestions.org/questions/linux-general-1/return-to-castle-wolfenstein-and-sound-78697/)

walterw 08-03-2003 07:29 PM

Return to Castle Wolfenstein and sound
 
I have been trying to get sound working in RTCW in RedHat 9.0. I can play audio with xmms, cannonsmash, foobillard, ... but not in RTCW. What can I do to fix this?

the error:

------- sound initialization -------
/dev/dsp: Device or resource busy
Could not open /dev/dsp
------------------------------------

I tried chmoding the file to 666 to make sure it could read and write to it, but that did not seem to work either. My /etc/modules.conf looks like this:

alias eth0 sis900
alias eth1 usbvnetr
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias char-major-81 bttv
alias char-major-195 nvidia
post-install usbvnetr /bin/fastvnet.sh

Another problem that I have that may be related is when logging into my machine and starting x, I randomly get that same error:

/dev/dsp cannot be contacted, sound will continue using null output or something. Simply logging out and in fixes this, but I am not sure why I would get that error in the first place and it does not seem related to anything in particular.


Thanks,
Walter

DrOzz 08-03-2003 07:31 PM

did you type it like this?
chmod 666 /dev/dsp* /dev/mixer*

walterw 08-04-2003 09:35 AM

RTCW no sound
 
I tried that, but it is still a no go. It gives me the same error:

/dev/dsp device or resource busy...


Walter

walterw 08-08-2003 07:40 AM

nVidia graphics driver and sound
 
Well, it is verified that after installing the nVidia graphics drivers that the sound is kaput. I performed a fresh automated reinstall and tested sound before and after the graphics driver installation and it worked prior to the installation. I verified this in several apps (BillardGL, RTCW, and FooBillard). What gets me is, how does mplayer and xmms play sound if the apps that use opengl can't? Don't they essentially have to contact the same sound server or something?


I hope this can be fixed somehow, and I will continue reading on the Internet for possible solutions.


Thanks,
Walter

sk8guitar 08-08-2003 01:17 PM

just noting something that i readi n another thread and that is that chmoding 666 your /dev/dsp is a BAD idea. i can't tell you why, the poster didn't give a detailed explanation, but he just stressed that it wasn't kosher. just wanted to le tyou know


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