I am in the process of upgrading the kernel from 2.4.20 to 2.4.22, and I
ran into a strange problem.  ALSA has always configured and installed
properly (I started with 0.9.2 I think), but I couldn't get it to work
in 2.4.22.  I'll work on that and come back with more details if I need
help, but here's the weird thing... alsaconf can't find my sound card.

I have an onboard SIS 7018, which is to say a trident equivalent, and it
comes up fine in lspci.  Kernel is configured for PnP.  And up through
2.4.20, the drivers installed OK and I can play through the card just
fine.  But I had to recopy an old modules.conf that had the alsaconf
additions in it... which tells me that at some point years ago when I
first installed alsa, alsaconf was able to find the sound card.

No matter what options I run, whether I'm on kernel 2.4.20 or 2.4.22,
alsaconf says "no supported PnP or PCI card found".

I see that it probes PCI cards through
/lib/modules/{kernel-ver}/modules.pcimap, and when I view that file I
see the trident drivers plain as day.  When alsaconf creates a cards
database in /var/tmp, it contains the trident.o information and the PCI
lines including the one with 7018 as the ID.  But the awk script that
follows building the cards database comes up empty... why?  awk scans
for the phrase "snd-", which is there.  It scans for the text "PCI",
which is there.  I'm totally lost.

Moving right along, there's another mystery in the drivers configure
script during the build process.  It probes to see if I have pnp enabled
in the kernel, which I do.  But the configure script fails to see that,
because it looks at /usr/src/linux/include/linux for the file pnp.h,
which does not exist.  pnp.h is in /usr/src/linux/include/config, at
least in the 2.4.x kernels.  Am I doing something wrong, or is this a
bug in the configure process?

I don't know if it matters, but I'm running 2.4.20 (in the process of
upgrading to 2.4.22), with gcc 3.2.2, awk 3.1.1, alsa 0.9.7 all built
from source using the Linux From Scratch project (which is to say I
don't have any RH or Debian packages to install).

Thanks for any advice!
-------
Peter B. Steiger
Cheyenne, WY




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to