LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-12-2005, 08:51 AM   #1
nozey
LQ Newbie
 
Registered: Mar 2005
Location: Brazil
Posts: 10

Rep: Reputation: 0
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?
 
Old 03-12-2005, 09:00 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 03-12-2005, 09:19 AM   #3
nozey
LQ Newbie
 
Registered: Mar 2005
Location: Brazil
Posts: 10

Original Poster
Rep: Reputation: 0
# 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?
 
Old 03-12-2005, 09:32 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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
Module                  Size  Used by    Tainted: P  
snd-pcm-oss            37956   0 (autoclean)
snd-mixer-oss          13296   0 (autoclean) [snd-pcm-oss]
nvidia               1628032  11 (autoclean)
snd-via82xx            13504   0 
snd-pcm                60928   0 [snd-pcm-oss snd-via82xx]
snd-timer              14916   0 [snd-pcm]
snd-ac97-codec         47468   0 [snd-via82xx]
snd-page-alloc          6484   0 [snd-via82xx snd-pcm]
snd-mpu401-uart         3440   0 [snd-via82xx]
snd-rawmidi            14144   0 [snd-mpu401-uart]
snd-seq-device          4336   0 [snd-rawmidi]
snd                    32644   0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3844   4 [snd]
All the VIA chipsets use the same instructions for ALSA. If you have
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.

Last edited by Bruce Hill; 03-12-2005 at 09:34 AM.
 
Old 03-12-2005, 09:37 AM   #5
nozey
LQ Newbie
 
Registered: Mar 2005
Location: Brazil
Posts: 10

Original Poster
Rep: Reputation: 0
# 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.
 
Old 03-12-2005, 09:51 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You're still missing the soundcore module
Code:
soundcore               3844   4 [snd]
Have you read those ALSA instructions?
Quote:
Most modern distros come with soundcore compiled as a module. You can check this in numerous ways. The easiest way is to type.

modinfo soundcore

If this command returns that you have this module, then you don't need to recompile your kernel.
In Slack you'll have to issue
Code:
mingdao@james:~$ /sbin/modinfo soundcore
filename:       /lib/modules/2.6.7/kernel/sound/soundcore.ko
description:    Core sound module
author:         Alan Cox
license:        GPL
alias:          char-major-14-*
vermagic:       2.6.7 preempt K7 4KSTACKS gcc-3.3
depends:        
mingdao@james:~$

Last edited by Bruce Hill; 03-12-2005 at 09:53 AM.
 
Old 03-12-2005, 09:59 AM   #7
nozey
LQ Newbie
 
Registered: Mar 2005
Location: Brazil
Posts: 10

Original Poster
Rep: Reputation: 0
# 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?
 
Old 03-12-2005, 05:44 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by nozey
# modinfo soundcore
modinfo: could not find module soundcore

So it means that i have to recompile the kernel right?
That is what the ALSA instructions say. Someone else may have
some hack, but I always just follow the instructions.

Quote:
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?
I believe you can issue "make xconfig" and just change the line
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:
#
# Sound
#
CONFIG_SOUND=m   <- you need this, ALSA says as a module - YMMV 

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=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

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m   <- you will need this codec 
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP 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=m   <- you do not need -- this is my SoundBlaster Audigy ES 
# 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 is not set  <- you will need this for VIA 
# CONFIG_SND_VX222 is not set
Hope this helps --
 
Old 03-12-2005, 06:22 PM   #9
nozey
LQ Newbie
 
Registered: Mar 2005
Location: Brazil
Posts: 10

Original Poster
Rep: Reputation: 0
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?

Last edited by nozey; 03-12-2005 at 06:27 PM.
 
  


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
Alsamixer configuration problem cford Linux - Software 1 11-10-2005 06:45 PM
Help!!!!! : alsamixer Problem .. har5ha Linux - Software 4 07-26-2004 08:08 AM
Big, big Problem on vsftpd rhonneil Linux - Newbie 1 10-01-2003 02:18 PM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM
alsamixer problem kvikki Linux - Hardware 1 07-13-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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