alsamixer = big problem
I upgraded my kernel to 2.6.11.2 on my slackware 10.1 .
But my sound don't work. I have a ac97 , and i run the alsaconf . It sees my ac97 .. and install it .. But every time i try to run alsamixer i get this error: $ alsamixer alsamixer: function snd_ctl_open failed for default: No such file or directory Any suggestions? |
What is your "lsmod" output? Looks like you have no modules loaded. And also, I don't think AC'97 is the actual soundchip. Do you have the previous kernel, or was it the default Slack kernel? If so, you could also post the output of "/sbin/lspci" to show the audio controller.
|
# lspci | grep audio
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50) # lsmod Module Size Used by ppp_synctty 8352 - ppp_async 9376 - crc_ccitt 1568 - ppp_generic 25236 - slhc 6560 - snd_pcm_oss 47808 - snd_pcm 82212 - snd_timer 20740 - snd_page_alloc 7364 - snd_mixer_oss 17120 - via_rhine 20228 - And yes, i have the previous kernel(2.4.26) working. Including the sound. What could i be doing wrong? |
Welcome to LQ!
sorry I forgot before... Looks like you don't have the proper modules loaded for that via soundchip. I don't even see snd-via82xx in your output. One of our comps has that chipset, and this is his "lsmod" Code:
mingdao@peter:~$ lsmod the soundcore module in your kernel SOUND_CONFIG=m then all you need to do probably is modprobe the modules from that page on the ALSA website. Give it a try, and post back. |
# lsmod
Module Size Used by snd_seq_oss 31936 - snd_seq_midi_event 6080 - snd_seq 50608 - snd_via82xx 22624 - snd_ac97_codec 73784 - snd_mpu401_uart 6176 - snd_rawmidi 19872 - snd_seq_device 6764 - ppp_synctty 8352 - ppp_async 9376 - crc_ccitt 1568 - ppp_generic 25236 - slhc 6560 - snd_pcm_oss 47808 - snd_pcm 82212 - snd_timer 20740 - snd_page_alloc 7364 - snd_mixer_oss 17120 - via_rhine 20228 - # alsamixer alsamixer: function snd_ctl_open failed for default: No such file or directory Still the same error. |
You're still missing the soundcore module
Code:
soundcore 3844 4 [snd] Quote:
Code:
mingdao@james:~$ /sbin/modinfo soundcore |
# modinfo soundcore
modinfo: could not find module soundcore So it means that i have to recompile the kernel right? But the kernel is already recompiled to 2.6.11.2 ... maybe i did something wrong.. In the SOUND i have this: <*> Sound card support In the ADVANCED LINUX SOUND ARCHITETURE: <*> Advanced Linux Sound Architecture <*> Sequencer support < > Sequencer dummy client <*> OSS Mixer API <*> OSS PCM (digital audio) API [*] OSS Sequencer API [ ] Verbose printk [ ] Debug And my ac97 in PCI DEVICES: <M> VIA 82C686A/B, 8233/8235 AC97 Controller Do i need to change anything? Is this enought? What should i do? |
Quote:
some hack, but I always just follow the instructions. Quote:
Sound card support from a check mark to a dot -- the check means Y for built in, and the dot means M for module. And if you only change something else to modules, this is what I believe -- but check this and make sure it's true. I have never tried it, but with the 2.6.x kernels if you just change something to modules, I think you can issue $ make modules # make modules_install and then reboot and you will be okay. Here is the sound portion of my 2.6.7 kernel's .config if it would help you to look and compare to yours. You will need the VIA82XX instead of the EMU10K1 I have for my Audigy. Code:
# |
i did waht u told me and heres my config:
# Sound # CONFIG_SOUND=m # # Advanced Linux Sound Architecture # CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m # CONFIG_SND_SEQ_DUMMY is not set CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_SEQUENCER_OSS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set # # PCI devices # CONFIG_SND_AC97_CODEC=m # CONFIG_SND_ALI5451 is not set # CONFIG_SND_ATIIXP is not set # CONFIG_SND_ATIIXP_MODEM is not set # CONFIG_SND_AU8810 is not set # CONFIG_SND_AU8820 is not set # CONFIG_SND_AU8830 is not set # CONFIG_SND_AZT3328 is not set # CONFIG_SND_BT87X is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_EMU10K1 is not set # CONFIG_SND_EMU10K1X is not set # CONFIG_SND_CA0106 is not set # CONFIG_SND_KORG1212 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set # CONFIG_SND_HDSP is not set # CONFIG_SND_TRIDENT is not set # CONFIG_SND_YMFPCI is not set # CONFIG_SND_ALS4000 is not set # CONFIG_SND_CMIPCI is not set # CONFIG_SND_ENS1370 is not set # CONFIG_SND_ENS1371 is not set # CONFIG_SND_ES1938 is not set # CONFIG_SND_ES1968 is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_FM801 is not set # CONFIG_SND_ICE1712 is not set # CONFIG_SND_ICE1724 is not set # CONFIG_SND_INTEL8X0 is not set # CONFIG_SND_INTEL8X0M is not set # CONFIG_SND_SONICVIBES is not set CONFIG_SND_VIA82XX=m # CONFIG_SND_VIA82XX_MODEM is not set # CONFIG_SND_VX222 is not set then: # make bzImage # make modules # make modules_install $ lsmod Module Size Used by snd_pcm_oss 47808 - snd_mixer_oss 17120 - snd_via82xx 22624 - snd_ac97_codec 73784 - snd_pcm 82212 - snd_timer 20740 - snd_page_alloc 7364 - snd_mpu401_uart 6176 - snd_rawmidi 19872 - snd_seq_device 6764 - snd 46980 - soundcore 6944 - via_rhine 20228 - But i still got the same error ... maybe is the alsa. what u think? |
All times are GMT -5. The time now is 12:25 PM. |