alsamixer: function snd_ctl_open failed for default: No such file or directory
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had a similar problem using udev.... try starting the alsasound script after your system has booted, then run alsa mixer and see if you still get the error..... also make sure that /dev/dsp, /dev/mixer exist before you run alsamixer, if they don't then something is wrong... you could also try deleting /etc/asound.state... a new one will be created once you restart alsa again.
Seems my soundcard is not recognized at all. Getting really confused now. Please help
I thought I had followed all instructions at the ALSA side.
At boot, some of the boot-messages state:
insmod : soundcore already exists ....
So after that I think my sound card is not recognized at all.
That I entered alsaconf (after pressing some OK buttons), the text below is displayed:
Loading driver...
Starting sound driver: snd-emu10k1 /lib/modules/2.4.20-30.9/kernel/sound/pci/emu10k1/snd-emu10k1.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-30.9/kernel/sound/pci/emu10k1/snd-emu10k1.o: insmod /lib/modules/2.4.20-30.9/kernel/sound/pci/emu10k1/snd-emu10k1.o failed
/lib/modules/2.4.20-30.9/kernel/sound/pci/emu10k1/snd-emu10k1.o: insmod snd-emu10k1 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
Please can someone explain exactly what my next step should be.
Any luck with this issue. I'm having the same problem on Fedora Core 1. The only way I can get sound to work is to reconfigure ALSA (/usr/sbin/alsaconf) each time I boot, then it plays well. However, on the next re-boot there is no sound.
It seems like some setting or permission is being re-set?
(root@eatbabies:adam)# strace -eopen alsamixer
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libncurses.so.5", O_RDONLY) = 3
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
open("/lib/libm.so.6", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC0", O_RDWR) = -1 ENODEV (No such device)
open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC0", O_RDWR) = -1 ENODEV (No such device)
alsamixer: function snd_ctl_open failed for default: No such device
this is my trace results.. kind of confusing but ive compiled alsa as a Module in my 2.6.4 kernel, and setup my modprobe.conf file per the alsa website
I don't know if this will help, I really haven't looked up the command to see what's going on, but I re-compiled the driver with this suggested command and it now works.
i had the same problem when i installed alsa after installing alsa driver i had to do ./snddevices even though it says it for the older drivers and that fixed my alsamixer
alsamixer item Audigy Analog/Digital output Jack On/OFF
Hi,
Still trying to get my Audigy soundcard working.
When I run alsamixer and put all items max. + I put my boxes at max I hear a noise from the mic but no sound at all.
The strangest thing is though when I unmute the item alsamixer item Audigy Analog/Digital output Jack On/OFF the mic noise stops. Then there is only silence. When I leave this item muted I get the mic noise.
As soon as I heard the mic noise I tried some sound applications on (cd - wav, midi) no sound at all.
I am getting very frustrated.
Can someone explain the behaviour of this alsamixer item Audigy Analog/Digital output Jack On/OFF.
I'm having similar issues. I've got an Audigy2 zs and have compiled the alsa driver which installed ok and I have decent sound. However I get the same error message "alsamixer: function snd_ctl_open failed for default: No such file or directory." It also states no sound card detected even though running alsaconf successfully set up the card as emu10k1. I checked for /dev/dsp and /dev/mixer and have neither of them. I've actually run into this while trying for sometime to get more advanced control of the audigy2 features. I can get digital sound out the spdif -out connector of the live-drive for mp3's but am unable to get the ac3 encoded audio out unprocessed to input into a Promedia DDigital Decoder to be processed there. The display always indicates PCM. I wonder if either the dvd software programs are decoding it or the card's dolby digital decoder is doing so. I tried the ./snddevices to no avail and don't have a /etc/asound.state file to work with. I would appreciate any suggestions.
I ran into a similar problem when I tried up update my Fedora kernel to 2.6. I was finally able to ALSA to work, but I would have to unmute my speakers after each reboot, even with the appriate altctl code in my modprobe.
Here's a link I posted in the Fedora forum regarding my experience. Definately try the snddevices script as it seems to fix a lot of my problems.
Hi,
I did everything mentioned here but I'm experiencing some difficulties. They are probably due to the fact that I'm not very experienced in kernel/modules matters.
I downloaded alsa sources. Then run ./configure with option --with-cards setted to match my cards driver: intel8x0. Then "make", "make install" and finally "./snddevices".
The problem is that modprobe can't find the modules when trying to insert them to the kernel:
I get things like:
"FATAL: Module snd_intel8x0 not found."
But I can see some of them in directories like "/lib/modules/2.6.25-2-386/kernel/sound/pci"
They even appear as autofill options when pressing TAB after writing modprobe command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.