LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-15-2006, 05:35 PM   #1
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Rep: Reputation: 30
Failed to open audio device (/dev/dsp): No such device


Hello! When I try to play any sound through a program like xmms, I receive the following message:

** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such device

I BELIEVE (but not sure) it is happening since I installed Dropline Gnome (I tried to install FreeRock Gnome first, but not even my firefox was working anymore because of problems in lib files, so I reinstalled my whole system and tried this one)

I tryed to use alsaconf and reconfigure my sound, but it didn't solve the problem.

I compiled my own kernel with not much knowleadge, but I could make audio working until yesterday. The main "system change" that I've made today was to install Dropline Gnome. I tried to run xmms as root, but didn't solve the problem.

Thanks to anyone who tries to help me.

Edit: Oh, btw, there IS a file in /dev/dsp linking to another file: /dev/sound/dsp. I tried to chmod 777 both of them and it also didn't work.

Last edited by stevesk; 06-15-2006 at 05:38 PM.
 
Old 06-15-2006, 05:51 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
Does sound work as root? That error message really doesn't make sense if both /dev/dsp and /dev/sound/dsp both exist.
 
Old 06-15-2006, 06:11 PM   #3
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tuxdev
Does sound work as root? That error message really doesn't make sense if both /dev/dsp and /dev/sound/dsp both exist.
No, the sound doesn't work not even using xmms as root. See for yourselves:

bash-3.00$ su
Password:
bash-3.00# cd /dev
bash-3.00# ls -al dsp
lrwxrwxrwx 1 root root 9 2006-06-15 18:25 dsp -> sound/dsp
bash-3.00# cd /dev/sound
bash-3.00# ls -al dsp
crwxrwxrwx 1 matrix audio 14, 3 2006-06-13 17:24 dsp
bash-3.00# xmms

** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such device

bash-3.00#

I think it is quite weird too.
 
Old 06-15-2006, 06:17 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Try logging in as root (hey, gotta try...)

Also, could you post
Code:
lsmod
lspci
May give us a better grasp at what is going on.

Also, have you run 'alsaconf' as root (Not su as root)?

I see the 'oss' error in your post. oss has given way to alsa now....

And what kernel are you running?

Last edited by cwwilson721; 06-15-2006 at 06:19 PM.
 
Old 06-15-2006, 06:56 PM   #5
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Original Poster
Rep: Reputation: 30
I am using 2.6.16.20 kernel...I recompiled it and it seemed to work now. Quite strange, but let's say this thread is solved for now.

I thank tuxdev and cwwilson721 for the help.
 
Old 06-15-2006, 07:01 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
You are very welcome.

It's happened to myself countless times: Compile or install the kernel, things foul up.
I know I did it right...
Reconfig, doublecheck my sound settings, Duh! Forgot to enable the chipset in alsa, and had it set for some reason in oss.....

It happens. That why this is called "Golf", not "Cooking"

oops, need to reboot my OS bef...
 
Old 01-01-2009, 06:29 AM   #7
explosions_in_the_sky
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Talking

Hi,
I had similar issue with xmms, but was intermittent. Sometimes it work sometime I get this error message. Meanwhile I could play sound using mplayer and I could listen to streaming videos and audios on the internet.
Finally I fixed it by editing the output plugin.
Options----> Preferences--->Audio I/O plugins--->Output plugin
I changed it from OSS driver to ALSA output plugin. However after the change I could not edit the volume from xmms player .
 
  


Reply



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
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
XMMS problem : ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): sureshrk19 Slackware 4 04-01-2004 09:17 PM
/dev/dsp + device busy/no audio + esd mghere Linux - Newbie 7 12-11-2003 11:51 PM
open /dev/[sound/]dsp: Device or resource busy tearinox Linux - Newbie 1 10-24-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration