View previous topic :: View next topic |
Author |
Message |
Pig Monkey n00b
Joined: 02 Jul 2003 Posts: 16 Location: Seattle, Washington
|
Posted: Fri Jan 28, 2005 9:22 pm Post subject: ALSA and nforce2 |
|
|
I'm trying to setup alsa using the guide (http://www.gentoo.org/doc/en/alsa-guide.xml), but it's not working.
I get to the step to start ALSA (/etc/init.d/alsasound start) and get the following error:
Code: | * Loading ALSA modules...
* Loading: snd-card-0...
/lib/modules/2.4.26-gentoo-r14/kernel/sound/pci/snd-intel8x0.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.26-gentoo-r14/kernel/sound/pci/snd-intel8x0.o: insmod /lib/modules/2.4.26-gentoo-r14/kernel/sound/pci/snd-intel8x0.o failed
/lib/modules/2.4.26-gentoo-r14/kernel/sound/pci/snd-intel8x0.o: insmod snd-card-0 failed [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels...
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ]
|
My sound card is intergrated into my nforce2 motherboard (Asus A8N8X deluxe).
lspci | grep -i audio:
Code: | 0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMediaaudio [Via VT82C686B] (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1) |
According to this, I should be using intel8x0, which I'm trying to do (by adding "ALSA_CARDS=intel8x0" to /etc/modules.conf).
I've edited /etc/modules.d/alsa like the guide told me to:
Code: | # Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
|
I'm using a 2.4 kernel compiled by genkernel. |
|
Back to top |
|
|
Pig Monkey n00b
Joined: 02 Jul 2003 Posts: 16 Location: Seattle, Washington
|
Posted: Fri Jan 28, 2005 9:37 pm Post subject: |
|
|
I changed /etc/modules.d/alsa
from
Code: | alias snd-card-0 snd-intel8x0 |
to
Code: | alias snd-card-0 intel8x0 |
and now /etc/init.d/alsasound start returns:
Code: | * Loading ALSA modules...
* Loading: snd-card-0...
modprobe: Can't locate module snd-card-0 [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels...
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ] |
|
|
Back to top |
|
|
Phonics3k Tux's lil' helper
Joined: 18 Dec 2004 Posts: 111 Location: Wales, UK
|
Posted: Sat Jan 29, 2005 1:09 am Post subject: |
|
|
you are using kernel 2.4 are you?
Have you emerged alsa-drivers?
I am not sure if this is true for 2.4 but for the 2.6 version kernel you need to build module support under ALSA for the type of card you will be using...
In your case intel8x0..
Also I believe you can just emerge nforce-audio ( Thats the easy way if I believe right)
Try it... _________________ http://www.phonics3k.com | http://www.phonics3k.co.uk
## Epox EP-8RDA | Athlon 2800 XP | 2 X DDR400 512MB RAM | Radeon 9600 256MB ##
Need to contact me? ICQ: 213027578 |
|
Back to top |
|
|
Pig Monkey n00b
Joined: 02 Jul 2003 Posts: 16 Location: Seattle, Washington
|
Posted: Sat Jan 29, 2005 2:58 am Post subject: |
|
|
Yes, 2.4
I have emerged alsa-drivers.
Like I said, I used genkernel, so pretty much everything is compiled as a module. The problem is, if I go to /usr/src/linux and make menuconfig, I don't see any intel8x0 option. The only Intel entry in Sound is "Intel ICH (i8xx), SiS 7012, NVidia nForce Audio of AMD 768/811x".
modprobe intel8x0 returns:
Code: | modprobe: Can't locate module intel8x0 |
I've heard bad things about nvidia-audio and alsa, which is why I want to get intel8x0 working. |
|
Back to top |
|
|
VValdo Guru
Joined: 08 Jan 2005 Posts: 395
|
Posted: Sat Jan 29, 2005 3:39 am Post subject: |
|
|
Pig Monkey wrote: | Yes, 2.4
I have emerged alsa-drivers.
Like I said, I used genkernel, so pretty much everything is compiled as a module. The problem is, if I go to /usr/src/linux and make menuconfig, I don't see any intel8x0 option. The only Intel entry in Sound is "Intel ICH (i8xx), SiS 7012, NVidia nForce Audio of AMD 768/811x".
modprobe intel8x0 returns:
Code: | modprobe: Can't locate module intel8x0 |
I've heard bad things about nvidia-audio and alsa, which is why I want to get intel8x0 working. |
I have nForce Ultra 3, and intel8x0 as well. FWIW, if you were using 2.6 it would be here:
Device Drivers --->
Sound --->
Advanced Linux Sound Architecture --->
PCI devices --->
<M> Intel/SiS/nVidia/AMD/ALi AC97 Controller
Here's what help had to say...
Code: | CONFIG_SND_INTEL8X0: │
│ │
│ Say Y here to include support for the integrated AC97 sound │
│ device on motherboards with Intel/SiS/nVidia/AMD chipsets, or │
│ ALi chipsets using the M5455 Audio Controller. (There is a │
│ separate driver for ALi M5451 Audio Controllers.) │
│ │
│ To compile this driver as a module, choose M here: the module │
│ will be called snd-intel8x0. │ |
W |
|
Back to top |
|
|
VValdo Guru
Joined: 08 Jan 2005 Posts: 395
|
Posted: Sat Jan 29, 2005 3:42 am Post subject: |
|
|
Pig Monkey wrote: |
modprobe intel8x0 returns:
Code: | modprobe: Can't locate module intel8x0 | . |
Re-reading my post above, did you try modprobe snd_intel8x0?
W |
|
Back to top |
|
|
Pig Monkey n00b
Joined: 02 Jul 2003 Posts: 16 Location: Seattle, Washington
|
Posted: Sat Jan 29, 2005 5:29 am Post subject: |
|
|
Code: | modprobe: Can't locate module snd_intel8x0 |
|
|
Back to top |
|
|
Phonics3k Tux's lil' helper
Joined: 18 Dec 2004 Posts: 111 Location: Wales, UK
|
Posted: Sat Jan 29, 2005 9:50 am Post subject: |
|
|
Have you tried emerging nforce-audio, that should give you the nforce drivers for your card.. _________________ http://www.phonics3k.com | http://www.phonics3k.co.uk
## Epox EP-8RDA | Athlon 2800 XP | 2 X DDR400 512MB RAM | Radeon 9600 256MB ##
Need to contact me? ICQ: 213027578 |
|
Back to top |
|
|
Pig Monkey n00b
Joined: 02 Jul 2003 Posts: 16 Location: Seattle, Washington
|
Posted: Sat Jan 29, 2005 5:09 pm Post subject: |
|
|
If I emerge nforce-audio and then run modprobe nvaudio, I get:
Code: | /lib/modules/2.4.26-gentoo-r14/kernel/drivers/sound/nvaudio.o: init_module: Nosuch 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.26-gentoo-r14/kernel/drivers/sound/nvaudio.o: insmod /lib/modules/2.4.26-gentoo-r14/kernel/drivers/sound/nvaudio.o failed
/lib/modules/2.4.26-gentoo-r14/kernel/drivers/sound/nvaudio.o: insmod nvaudio failed |
|
|
Back to top |
|
|
Pig Monkey n00b
Joined: 02 Jul 2003 Posts: 16 Location: Seattle, Washington
|
Posted: Sat Jan 29, 2005 7:06 pm Post subject: |
|
|
I upgraded to 2.6 and now everything works. Joy.
Now if only I could get 4.1 speakers working.... |
|
Back to top |
|
|
MrGutis n00b
Joined: 28 Jan 2005 Posts: 56
|
Posted: Fri Feb 04, 2005 11:24 am Post subject: |
|
|
I have similar problems. My Leadtek motherboard K7NCR18 PRO2 with nforce2 chipse. I have installed kernel 2.6. All works for me excep sound. If I try emerge nforce-audio it drops errors about some unsigned irqs (i'm at work so cannot be more specific). And in kernel I didn't marked that as M but as * (integrated). Can it be the matter? _________________ Help me identify my destiny |
|
Back to top |
|
|
|