LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-22-2004, 12:44 AM   #1
Battousai
LQ Newbie
 
Registered: Jun 2004
Location: Deux-Montagnes
Distribution: Gentoo 1.4/Slackware 10 RC2
Posts: 19

Rep: Reputation: 0
Alsamixer errors sn_ctl_open error(Gentoo)


I run Gentoo 2004.1 fluxbox i have a soundblaster audigy when i lsmod i get this:
Module Size Used by
fglrx 203940 0
snd_pcm_oss 51492 0
snd_mixer_oss 19072 1 snd_pcm_oss
snd_emu10k1 96516 0
snd_rawmidi 22688 1 snd_emu10k1
snd_pcm 91680 2 snd_pcm_oss,snd_emu10k1
snd_timer 24836 1 snd_pcm
snd_seq_device 7944 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 63364 1 snd_emu10k1
snd_page_alloc 10244 2 snd_emu10k1,snd_pcm
snd_util_mem 4608 1 snd_emu10k1
snd_hwdep 8864 1 snd_emu10k1
snd 51428 10 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,sn d_util_mem,snd_hwdep
soundcore 8800 1 snd
forcedeth 14976 0
agpgart 29868 0

my sound drivers are there... when i run alsaconf it says it cannot find my soundcard
when i un alsamier i get this error:
alsamixer: function snd_ctl_open failed for default: No such file or directory

does anyone have any clue what this means and how to get my sound working., i'm lost

thank you
 
Old 07-22-2004, 01:28 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
I've run into that with my vortex2 based soundcard. Usually it's a sign of a buggy soundcard driver. You might try running alsaconf several times. It only has to succeed once and then the soundcard should work from then on. At least that has been my experience. Another thing to try is to download the lastest alsa-driver tarball from the alsa site and compiling the driver from source. The driver code included in the kernel tends to lag due to lead times for inclusion. The alsa site drivers are usually newer. It's best to install alsa-libs and alsa-utils also from the alsa site. And for some cards you should get alsa-oss. You need to be running the kernel for which you are compiling the driver. Then install in the order:

alsa-driver
alsa-lib
alsa-utils

The alsa site has detailed instructions for most cards.
 
Old 07-22-2004, 12:34 PM   #3
Battousai
LQ Newbie
 
Registered: Jun 2004
Location: Deux-Montagnes
Distribution: Gentoo 1.4/Slackware 10 RC2
Posts: 19

Original Poster
Rep: Reputation: 0
i went onto the ALSA site and installed the drivers you said and the right order but i still get the same error when i run alsamixer... so i think it can't finds that driver somewhere.. but i have no clue how to really check

emerge emu10k1 didn't help
 
Old 07-22-2004, 12:44 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Are you using the 2.6 kernel? If so, alsa support is now included directly into the kernel. Go back and check your kernel config to make sure you compiled all the necessary alsa stuff.
 
Old 07-22-2004, 12:46 PM   #5
Battousai
LQ Newbie
 
Registered: Jun 2004
Location: Deux-Montagnes
Distribution: Gentoo 1.4/Slackware 10 RC2
Posts: 19

Original Poster
Rep: Reputation: 0
yes i'm using a 2.6 kernel and yes its configured properly just doesn't seem to find snd_ctl_open thats whats stopping me from launching alsamixer
 
Old 07-22-2004, 03:18 PM   #6
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Actually, the error message means that the alsa (lib?) function snd_ctl_open fails to find a default device (soundcard). In this context it means that no card has been successfully configured. I don't know what causes this but I have seen it solved by changing/updatiing the driver and even simply by running alsaconf repeatedly until it succeeds. It has nothing to do with the /dev/snd files by the way, in spite of the alsa faq that suggests it might. It seems to happen mostly with emu101k1, i810 and au88x0 chip based soundcards. And 2.6.x kernels. I know that when this happens the card doesn't appear in /proc/asound even when the modules load without complaint. Afaik, that should _not_ happen. I for one would like to know why this error occurs. The only theory I've come up with is buggy drivers, probably due to the changeover to 2.6 kernels.

Last edited by kevinalm; 07-22-2004 at 03:20 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
Gentoo 2005.0 and 2 errors kurrupt Linux - Software 1 05-26-2005 04:00 PM
Gentoo GRUB errors stabile007 Linux - Newbie 1 05-03-2005 02:41 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
alsamixer error tombaaaaa Linux - Newbie 1 07-23-2004 07:54 PM
weird modprobe errors with gentoo doralsoral Linux - Software 0 05-11-2004 12:03 PM


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