|
cat /proc/version
Linux version 2.6.12 (root@localhost.localdomain) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #2 Thu Aug 14 15:08:26 CST 2003
[root@localhost alsa-driver-1.0.13]# /lib/tls/libc-2.3.2.so
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
Compiled on a Linux 2.4.20 system on 2003-03-13.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
NPTL 0.29 by Ulrich Drepper
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
[root@localhost alsa-driver-1.0.13]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[root@localhost alsa-driver-1.0.13]#
────────────────────────────────────────────────────────────────
CC [M] /usr/src/alsa/alsa-driver-1.0.13/acore/sound.o
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c: In function `snd_open':
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:178: warning: assignment discards qualifiers from pointer target type
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:183: warning: assignment discards qualifiers from pointer target type
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c: In function `snd_register_device':
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:295: warning: implicit declaration of function `devfs_mk_cdev'
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c: In function `snd_unregister_device':
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:357: `mptr' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:357: (Each undeclared identifier is reported only once
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:357: for each function it appears in.)
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:359: warning: implicit declaration of function `devfs_remove'
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c: In function `alsa_sound_init':
/usr/src/alsa/alsa-driver-1.0.13/acore/sound.c:495: warning: implicit declaration of function `devfs_mk_dir'
make[4]: *** [/usr/src/alsa/alsa-driver-1.0.13/acore/sound.o] Error 1
make[3]: *** [/usr/src/alsa/alsa-driver-1.0.13/acore] Error 2
make[2]: *** [_module_/usr/src/alsa/alsa-driver-1.0.13] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12'
make: *** [compile] Error 2
This doesn't require a kernel level pci_ids.h patch. Just apply the patch below to alsa,
configure, make, etc and modprobe.
diff -ruN alsa-driver-1.0.13rc2.orig/alsa-kernel/pci/hda/hda_intel.c alsa-driver-1.0.13rc2/alsa-kernel/pci/hda/hda_intel.c
--- alsa-driver-1.0.13rc2.orig/alsa-kernel/pci/hda/hda_intel.c 2006-09-12 06:40:56.000000000 -0700
+++ alsa-driver-1.0.13rc2/alsa-kernel/pci/hda/hda_intel.c 2006-09-24 10:43:37.000000000 -0700
@@ -1684,6 +1684,7 @@
{ 0x10b9, 0x5461, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_ULI }, /* ULI M5461 */
{ 0x10de, 0x026c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_NVIDIA }, /* NVIDIA 026c */
{ 0x10de, 0x0371, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_NVIDIA }, /* NVIDIA 0371 */
+ { 0x10de, 0x03f0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_NVIDIA }, /* NVIDIA 03f0 */
{ 0, }
};
MODULE_DEVICE_TABLE(pci, azx_ids);
Dan Cyr
über Linux geek, A+, Network+, i-Net+ Certified Professional
"The grand essentials of happiness: something to do, something to love, something to hope for."
diff -ruN alsa-driver-1.0.13rc2.orig/alsa-kernel/pci/hda/hda_intel.c alsa-driver-1.0.13rc2/alsa-kernel/pci/hda/hda_intel.c
--- alsa-driver-1.0.13rc2.orig/alsa-kernel/pci/hda/hda_intel.c 2006-09-12 06:40:56.000000000 -0700
+++ alsa-driver-1.0.13rc2/alsa-kernel/pci/hda/hda_intel.c 2006-09-24 10:43:37.000000000 -0700
@@ -1684,6 +1684,7 @@
{ 0x10b9, 0x5461, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_ULI }, /* ULI M5461 */
{ 0x10de, 0x026c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_NVIDIA }, /* NVIDIA 026c */
{ 0x10de, 0x0371, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_NVIDIA }, /* NVIDIA 0371 */
+ { 0x10de, 0x03f0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, AZX_DRIVER_NVIDIA }, /* NVIDIA 03f0 */
{ 0, }
};
MODULE_DEVICE_TABLE(pci, azx_ids);
------------------------------------------------------------------------- |
|