LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 11-25-2002, 11:32 AM   #1
brilvan
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 11-25-2002, 02:10 PM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
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...
 
Old 11-25-2002, 02:24 PM   #3
brilvan
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Original Poster
Rep: Reputation: 0
1. /dev/dsp exists
2. fuser /dev/dsp returns null
 
Old 09-22-2006, 03:53 AM   #4
NomadX
Member
 
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78

Rep: Reputation: 15
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.
 
Old 02-10-2007, 08:26 PM   #5
Megi
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
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 )

Last edited by Megi; 02-10-2007 at 08:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
device /dev/dsp can't be opened (No such device) bigbossandy Slackware 4 06-17-2005 02:14 PM
another "device /dev/dsp can't be opened (device does not exist)" in DEBIAN, woody Kroppus Linux - Hardware 12 11-13-2003 12:23 PM
device /dev/dsp can't be opened kalif Linux - Software 26 08-31-2003 06:38 PM
device /dev/dsp can't be opened (no such device) ex0r Linux - Newbie 3 06-27-2003 09:41 AM
Device /dev/dsp can't be opened... MatMan5959 Linux - Hardware 4 06-20-2002 11:13 AM


All times are GMT -5. The time now is 05:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration