Click to See Complete Forum and Search --> : /dev/dsp problems


fmsguy06
01-02-2003, 05:07 PM
I have installed Quake one and 2 mission packs on RedHat 6.0. However, when I try to run it it says /dev/dsp doesn't exist. I went to /dev and there is a dsp in the directory so I don't know what the problem is. Any ideas? Thanks in advance.

rooty
01-02-2003, 05:55 PM
Try this as root:

chmod a+rw /dev/dsp

fmsguy06
01-02-2003, 06:10 PM
hmmm... no luck. I also tried chmod 666 /dev/dsp and mknod -m 666 /dev/dsp, this just said allready exists. None of these have worked. Any more ideas? Thanks again in advance.

rooty
01-02-2003, 06:13 PM
Are you using kernel drivers or ALSA drivers?

fmsguy06
01-02-2003, 06:15 PM
kernel

sharth
01-02-2003, 06:18 PM
sharth@debian:/dev$ ls -al dsp
crw-rw-rw- 1 root audio 14, 3 Mar 14 2002 dsp
sharth@debian:/dev$


try creating the device?

fmsguy06
01-02-2003, 06:20 PM
Yeah, I tried I used mknod -m 666 /dev/dsp c 3 14. It said allready exists.

sharth
01-02-2003, 10:23 PM
that's just odd.... double check with quake to see if it is outputing to that device...

bwkaz
01-06-2003, 01:42 PM
Is the sound driver built into your kernel, or is it a module?

If it's a module, then since RH 6 does not use devfs, the device file can still exist even if there is no kernel support for it. Load the correct sound driver (with my Yamaha PCI card, it would be /sbin/modprobe ymfpci as root, but you would change "ymfpci" to whatever your module name is), and see if that helps.

If it does, add an alias char-major-14 <whatever module you used> to /etc/modules.conf, run /sbin/depmod -a, and it should work permanently.

fmsguy06
01-07-2003, 09:27 PM
Ok, I tried that, now I am able to hear midi music, but any other sound is just a click or scratchy noise. Any ideas? Thanks.

bwkaz
01-08-2003, 01:32 PM
Hmm... that sounds vaguely familiar, but I don't know for sure why...

If your card is ISA or ISA PnP, then check to make sure the IRQ & DMA are correct. Running modinfo on the module that you use for sound will print the options it can take, and one or more of those should set the IRQ, DMA, I/O port, etc.

If the card is PCI, though, it's something else...

Maybe the clicking is a known issue with that card? Did you check G4L (www.google.com/linux) for it? I would, but I'm lazy. ;)