LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 11-13-2005, 01:05 AM   #1
bhomass
Member
 
Registered: Nov 2005
Posts: 69

Rep: Reputation: 15
Could not open device "/dev/dsp" for writing


I am running Debian Sarge, kernel 2.6.8.

I started Music Player, and tried to play a radio station. an error message
Could not open device "/dev/dsp" for writing
pops up.

this is a brand new installation. I am trying sound for the 1st time. what should I do at this point?
lsmod gets
Module Size Used by
reiserfs 250992 1
ipv6 264740 17
ds 18756 2
analog 11968 0
parport_pc 36900 0
parport 41800 1 parport_pc
floppy 61200 0
pcspkr 3592 0
rtc 12760 0
snd_via82xx 29540 0
snd_ac97_codec 69988 1 snd_via82xx
gameport 4704 2 analog,snd_via82xx
snd_mpu401_uart 7968 1 snd_via82xx
snd_rawmidi 25124 1 snd_mpu401_uart
snd_seq_device 8200 1 snd_rawmidi
snd_bt87x 14280 0
snd_pcm 98728 2 snd_via82xx,snd_bt87x
snd_timer 25732 1 snd_pcm
snd 57156 8 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_bt87x,snd_pcm,snd_timer
snd_page_alloc 11752 3 snd_via82xx,snd_bt87x,snd_pcm
btaudio 17424 0
bt878 11668 0
tuner 20144 0
tvaudio 22476 0
msp3400 24084 0
bttv 155244 1 bt878
video_buf 22180 1 bttv
i2c_algo_bit 9832 1 bttv
v4l2_common 6144 1 bttv
btcx_risc 4808 1 bttv
i2c_core 24176 5 tuner,tvaudio,msp3400,bttv,i2c_algo_bit
videodev 10016 1 bttv
pci_hotplug 34640 0
via_agp 9056 1
agpgart 34664 1 via_agp
uhci_hcd 33136 0
usbcore 119012 3 uhci_hcd
via82cxxx_audio 30760 1
uart401 11716 1 via82cxxx_audio
sound 84300 2 via82cxxx_audio,uart401
soundcore 10336 6 snd,btaudio,bttv,via82cxxx_audio,sound
ac97_codec 18956 1 via82cxxx_audio
tulip 47168 0
via_ircc 26416 0
irda 197120 1 via_ircc
crc_ccitt 2144 1 irda
yenta_socket 21728 0
pcmcia_core 70868 2 ds,yenta_socket
tsdev 7392 0
mousedev 10476 1
evdev 9600 0
capability 4520 0
commoncap 7232 1 capability
psmouse 20360 0
ide_cd 42656 0
cdrom 40732 1 ide_cd
ext3 127240 2
jbd 62616 1 ext3
mbcache 9348 1 ext3
ide_generic 1408 0
via82cxxx 14332 1
ide_disk 19296 6
ide_core 139940 4 ide_cd,ide_generic,via82cxxx,ide_disk
sd_mod 21728 0
ata_piix 8132 0
libata 41700 1 ata_piix
scsi_mod 125228 2 sd_mod,libata
unix 28756 498
font 8320 0
vesafb 6656 0
cfbcopyarea 3872 1 vesafb
cfbimgblt 3040 1 vesafb
cfbfillrect 3776 1 vesafb
 
Old 11-13-2005, 01:44 AM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
do you have sound working in other places?(KDE warnings, etc.)
 
Old 11-15-2005, 04:35 PM   #3
bhomass
Member
 
Registered: Nov 2005
Posts: 69

Original Poster
Rep: Reputation: 15
yes, the simple sound files work!
 
Old 11-15-2005, 05:44 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
can you explain in more depth what you were trying to do? do you have aRts installed(it's spelled arts, I'm not sure about the whole capitalization thing). Also, make sure there is a /dev/dsp, if it's not there, that would make sense that it can't open it. How familliar are you with the command line?
try this
Code:
$ cd /dev<enter>
$ls -l dsp<enter>
Then post the output here.
 
Old 11-15-2005, 06:26 PM   #5
bhomass
Member
 
Registered: Nov 2005
Posts: 69

Original Poster
Rep: Reputation: 15
ls -l /dev/dsp gets
crw-rw---- 1 root audio 14, 3 2005-11-21 07:03 /dev/dsp

I just want sound when I play these multimedia apps like "Music Player", and xawtv.
 
Old 11-15-2005, 06:55 PM   #6
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
do you have arts installed? That is the sound system(no speakers necesarilly, kind of like a daemon I guess, I don't fully understand what arts does). I'm assuming you're running KDE(correct me if I'm wrong, because you may not need it then).
 
Old 11-16-2005, 02:55 PM   #7
bhomass
Member
 
Registered: Nov 2005
Posts: 69

Original Poster
Rep: Reputation: 15
I am actually running Gnome. and yes, arts is installed. I don't how to use any of it though.

so, what should I try now?
 
Old 11-16-2005, 04:04 PM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
uuummmm.....I'm not sure. When I had this problem I needed arts. Otherwise I'm not sure
 
  


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
"/dev/dsp not found" error on KDE, GNOME sound also doesn't work KneeLess Linux - Software 3 09-04-2007 04:41 PM
problem in giving sound input through "/dev/dsp" b0nd Linux - Newbie 1 03-14-2005 11:16 PM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 06:44 AM
"/dev/dsp: Device or resource busy" Cdzin Linux - Hardware 4 02-25-2004 07:39 AM
another "device /dev/dsp can't be opened (device does not exist)" in DEBIAN, woody Kroppus Linux - Hardware 12 11-13-2003 01:23 PM


All times are GMT -5. The time now is 11:47 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