LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2003, 03:50 PM   #1
TallAmericano
LQ Newbie
 
Registered: Sep 2003
Location: Edmonton, AB, Canada
Distribution: SuSE Linux Prof. 9.3
Posts: 25

Rep: Reputation: 15
Question I have no sound today...yesterday i did.


I'm using Mandrake 9.1. This is the message I get while in the KDE Sound System Control Module (using default settings and pressing Test):
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue using the null output device.

If I try to open the Alsa Mixer gui, I get this:
alsamixer: function snd_ctl_open failed for default: No such device.

What do I need to do so I can restore my sound? Do I need Alsa...if so, how can I get the service started (it's stopped and I can't get it to start).
If you need more info please ask.
Thanks.

 
Old 10-14-2003, 05:07 PM   #2
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
What kind of sound card do you have? Have you tried opening up Alsa by the command line "alsamixer"? You could also try Kmix. Maybe you need to install the alsa drivers for your card, try www.alsa-project.org for the drivers.

rberry88
 
Old 10-14-2003, 06:45 PM   #3
TallAmericano
LQ Newbie
 
Registered: Sep 2003
Location: Edmonton, AB, Canada
Distribution: SuSE Linux Prof. 9.3
Posts: 25

Original Poster
Rep: Reputation: 15
my soundcard is Avance Logic ALS4000. I tried the command line for alsamixer and get the same message.
I'm looking at the Alsa web link you provided.... getting the right drivers makes sense...but being a newbie i'm not too sure how to proceed.
Should i go ahead with the quick install option? see link:
http://www.alsa-project.org/alsa-doc...module=als4000
Also, note that when I go into Mandrake control center, it lists my soundcard as a: VIA Technologies VT82C686 [Apollo Super AC97/Audio]. Module: snd-via82xx. Media class: MULTIMEDIA_AUDIO.
Why? My soundcard is an ALS4000...

 
Old 10-15-2003, 01:07 AM   #4
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
I would go ahead and build the modules as outlined on the alsa-project link you have there. Just follow the directions exactly as they have them and you should be fine. I don't have much experience with recompiling kernels as I have only done it twice and wouldn't know how to walk you through it and feel comfortable at the same time.

rberry88
 
Old 10-16-2003, 10:02 AM   #5
TallAmericano
LQ Newbie
 
Registered: Sep 2003
Location: Edmonton, AB, Canada
Distribution: SuSE Linux Prof. 9.3
Posts: 25

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks rberry88,
I just didn't feel comfortable enough to go through all that code...I just backed up my files and did a re-install of Mandrake and that fixed my problem. All in less than 30 minutes.

 
Old 08-06-2006, 09:47 AM   #6
pascal_END
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Thumbs up snd_ctl_open failed & device: default can't be opened for playback (no such device)

You have received such error messages:
with alsamixergui: "snd_ctl_open failed" and at the start of KDE: "device: default can't be opened for playback (no such device)"
I use Debian Sarge testing.

The problem was that the sound card was not installed or badly installed. If you try in a terminal: ...:~$ cat /proc/asound/cards and receive --- no soundcards --- then your sound card is not or badly configured.
I found the solution simply running alsaconf as root. You answer the 2 or 3 questions and its done.

Kinds to all.


Quote:
Originally Posted by TallAmericano
I'm using Mandrake 9.1. This is the message I get while in the KDE Sound System Control Module (using default settings and pressing Test):
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue using the null output device.

If I try to open the Alsa Mixer gui, I get this:
alsamixer: function snd_ctl_open failed for default: No such device.

What do I need to do so I can restore my sound? Do I need Alsa...if so, how can I get the service started (it's stopped and I can't get it to start).
If you need more info please ask.
Thanks.

 
Old 08-06-2006, 10:12 AM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Yeah, try running alsaconf and see if it correctly sets up the card again. If you had sound at one point you obviously had the correct modules already, so something may have happened to the alsa configuration. alsaconf should correct it.
 
  


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
DOOM3 worked yesterday, doesn't today NetRAVEN5000 Linux - Games 9 10-22-2005 07:25 PM
startx -- :1.0 worked yesterday but today.. slackist Linux - General 3 05-12-2005 11:35 AM
Yesterday I had audio, today I don't. mimsmall Linspire/Freespire 1 08-09-2004 05:43 PM
windows yesterday linux today eggeman Linux - Software 10 10-06-2003 11:21 PM
Today-Yesterday Axo LQ Suggestions & Feedback 6 07-15-2003 10:39 AM


All times are GMT -5. The time now is 02:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration