LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to install ALSA when recompiling kernel (http://www.linuxquestions.org/questions/linux-general-1/how-to-install-alsa-when-recompiling-kernel-186754/)

ar1 05-27-2004 09:45 PM

How to install ALSA when recompiling kernel
 
I've found several variants of this question on forums, but conflicting answers which don't work.

I'm using Fedora Core 2 and want to recompile the kernel to 2.6.6. Can someone tell me how to install ALSA? Compile into the kernel or as modules?

I've tries either way, and the system doesn't detect the sound card (ATI IXP150). How do I make the sound work??

P.S. Please don't tell me to install the kernel using the rpm, I'm compiling using the source..

Thanks

kevinalm 05-27-2004 11:02 PM

You can try to run as root:

alsaconf

but I suspect that might not work.

One of the most common problems with alsa is that the drivers and the tools(alsamixer,alsaconf, alsactl) have to be compatable. When you update the kernel (alsadrivers) you need to update the rest as well. Since you're compiling anyway I would suggest:
Compile the kernel with sound support as a module and all else sound N.
Grab the latest tar.gz's of:

alsa-driver
alsa-libs
alsa-utils

Compile and install them in that order. alsa-driver is basically the alsa kernel code. README and INSTALL in each give instructions but mostly it's the traditional

./configure
make
make install

except for alsa-driver which should be something like
./configure --with-oss=yes --with-cards=<your card> --with-sequencer=yes
make
make install.

Doing it this way you use the latest driver code and keeps it all compatable. The installation order satisfies certain dependencies. Remember to run alsaconf to set up your card and alsamixer to unmute and set volumes.

ar1 05-29-2004 11:53 PM

Hi kevinalm,

I compiled the kernel with sound support as a module and all else sound N. Alsaconf detects my sound card (snd-atiixp) BUT the sound still doesn't work.

Before running alsaconf, the output of lsmod:

[root@localhost root]# lsmod
Module Size Used by
pcmcia_core 48580 -
ohci1394 29764 -
ieee1394 89204 -
microcode 4960 -

After running alsaconf:

[root@localhost root]# lsmod
Module Size Used by
snd_atiixp 16100 -
snd_ac97_codec 60612 -
snd_pcm 83880 -
snd_timer 22084 -
snd 46980 -
soundcore 6528 -
snd_page_alloc 10020 -
pcmcia_core 48580 -
ohci1394 29764 -
ieee1394 89204 -
microcode 4960 -

SO it seems as if the modules aren't being used by the system! Do you know what this means and how to fix it?

Output of dmesg after running alsaconf:

[root@localhost root]# dmesg
ixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/ac97/ac97_codec.c:1759: AC'97 2 does not respond - RESET
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/atiixp.c:455: atiixp: codec read timeout
ALSA /home/ar/downloads/alsa-driver-1.0.4/alsa-kernel/pci/ac97/ac97_codec.c:1767: AC'97 2 access is not valid [0xffffffff], removing mixer.
ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -5

As you can see, there is obviously something wrong, but I dont know what the codec timeout thing means :( Help would be great!

THanks

kevinalm 05-30-2004 12:42 AM

Ooops, he said sheepishly. :o

Forgot to mention that almost without exception the

make install

phase of compiling and installing anything from source _must_ be done as root. Usually by inserting

su
<yourrootpassword>

between make and make install then

exit

to return to your normal user account after make install. One of those things you tend to assume everyone knows. My fault, sorry about that.

I think that is what all the stuff is about in dmesg. A combination of permision and wrong install locations. Alsaconf should be finding the modules in /lib/modules/2.6.6 and its subdirectories. Also, your lsmod looks wrong, probably because the depmod command during make install of alsa-driver didn't work properly with root authority.

Try the whole thing again, reuntarring the sources.

alsa-driver
alsa-libs
alsa-utils

doing the make installs as root. Then alsaconf as root. Followed by alsamixer as root.

ar1 05-30-2004 12:55 AM

kevinalm,

you were right in assuming I would know about the root thing, I did install everything as root. Moreover, all the outputs I've posted are as root, so I dont think there are any permission problems.

Seems to be something else. Do you have any other ideas?

thanks

kevinalm 05-30-2004 01:35 AM

Ok, then the odd pathname is embedded debug and no problem. Your lsmod is strange. It should something like this:

Module Size Used by Tainted: P

snd-pcm-oss 36804 0 (autoclean)
snd-mixer-oss 12472 1 (autoclean) [snd-pcm-oss]
snd-au8830 40960 1 (autoclean)
snd-pcm 58116 0 (autoclean) [snd-pcm-oss snd-au8830]
snd-timer 13732 0 (autoclean) [snd-pcm]
snd-page-alloc 6452 0 (autoclean) [snd-pcm]
gameport 1580 0 (autoclean) [snd-au8830]
snd-mpu401-uart 3216 0 (autoclean) [snd-au8830]
snd-rawmidi 13088 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 4016 0 (autoclean) [snd-rawmidi]
snd-ac97-codec 43292 0 (autoclean) [snd-au8830]
snd 31044 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-au8830 snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 3620 6 (autoclean) [snd]

Not exactly though as I have an au8830 chip based card.

Sometimes alsaconf can be a little hit and miss. It wouldn't hurt to run it again, maybe several tries.

I presume your doing the entire alsa install process with the 2.6.6 kernel running?

The kernel compile, specifically make modules_install will overwrite (or with your kernel config in this case delete) existing alsa modules. Therefor it must be done first.

You might try

depmod -ae (as root)

What does /etc/modprobe.conf contain regarding sound?

PS you are using the new modules-init-utils, aren't you?


All times are GMT -5. The time now is 12:42 AM.