LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   device /dev/dsp can't be opened (No such device) (https://www.linuxquestions.org/questions/linux-distributions-5/device-dev-dsp-cant-be-opened-no-such-device-36425/)

brilvan 11-25-2002 11:32 AM

device /dev/dsp can't be opened (No such device)
 
I have been strugling to get my sound card working in Redhat 8. It is a Avance AC'97 for VIA.

I have installed the ALSA drivers and can see them in the lsmod:

snd-via82xx 11628 0 (unused)
snd-pcm 82144 0 [snd-via82xx]
snd-timer 15368 0 [snd-pcm]
snd-mpu401-uart 4716 0 [snd-via82xx]
snd-rawmidi 18336 0 [snd-mpu401-uart]
snd-seq-device 6144 0 [snd-rawmidi]
snd-ac97-codec 35940 0 [snd-via82xx]
snd 39820 0 [snd-via82xx snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 6500 0 (autoclean) [snd]

I am not sure if I have the modules.conf entry right:

alias char-major-116 snd

When I login on KDE i get the message "device /dev/dsp can't be opened (No such device)"

Any Ideas would be appreciated.
--Brilvan

vladkrack 11-25-2002 02:10 PM

Hi,

It's possible that something (like arts) could be using your device but you can check if your device is still there with:

# ll /dev/dsp

If don't you can recreate it with:

# mknod /dev/dsp c 14 3

If the device exists, try to check who is using it with:

# ps aux | grep `fuser /dev/dsp`

Hope that helps...

brilvan 11-25-2002 02:24 PM

1. /dev/dsp exists
2. fuser /dev/dsp returns null

NomadX 09-22-2006 03:53 AM

Exists as what?
 
ls -al /dev/dsp ... is it a symlink to something (such as to /dev/sound/dsp , etc) that doesnt exist?

I would go ahead and delete it and recreate it. The previous post was correct in how.

Megi 02-10-2007 08:26 PM

I have SB Live! sound card and pinnacle PCTV tuner and also
get message " Device /dev/dsp can't be opened'.


when I type:

root@darkstar:/home/user# mknod /dev/dsp c 14 3
mknod: `/dev/dsp': File exists

root@darkstar:/home/user# ps aux | grep 'fuser /dev/dsp'
root 909 0.0 0.1 1672 604 pts/1 R+ 03:17 0:00 grep fuser /dev/dsp

and:
user@darkstar:/dev$ ls -l dsp
lrwxrwxrwx 1 root root 4 2006-11-18 13:50 dsp -> dsp0

bash-3.00# ls -l dsp0
crwxrwxrwx 1 root audio 14, 3 2003-08-29 07:47 dsp0


I don't have sound.
How to fix that?

( I have Slack 10.2 )


All times are GMT -5. The time now is 01:41 AM.