summaryrefslogtreecommitdiffstats
path: root/convert/README.pcitable
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-17 20:04:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-17 20:04:23 +0000
commitf53cfc2c3d8b2ddaaa22b1355eeb42d81133e903 (patch)
tree29fbdada7a6109ea74cd01456ed6538d2fcccf55 /convert/README.pcitable
parentaad9e607fd8975b6c8204b196d67d27777616d6c (diff)
downloadldetect-lst-f53cfc2c3d8b2ddaaa22b1355eeb42d81133e903.tar
ldetect-lst-f53cfc2c3d8b2ddaaa22b1355eeb42d81133e903.tar.gz
ldetect-lst-f53cfc2c3d8b2ddaaa22b1355eeb42d81133e903.tar.bz2
ldetect-lst-f53cfc2c3d8b2ddaaa22b1355eeb42d81133e903.tar.xz
ldetect-lst-f53cfc2c3d8b2ddaaa22b1355eeb42d81133e903.zip
- drop getting info from XFree86 (XFree now uses http://pciids.sourceforge.net/)
- nicer getting of kernel's info
Diffstat (limited to 'convert/README.pcitable')
-rw-r--r--convert/README.pcitable20
1 files changed, 16 insertions, 4 deletions
diff --git a/convert/README.pcitable b/convert/README.pcitable
index 1d5c74cd..a4aa727c 100644
--- a/convert/README.pcitable
+++ b/convert/README.pcitable
@@ -1,17 +1,29 @@
################################################################################
# How to merge the pcitable with various source:
#
+
+
# update pciutils
-# PS:
-# A pciids with more accurate information are available from
-# http://www.yourvote.com/pci/vendors.txt
./merge2pcitable.pl pciids /usr/share/pci.ids pcitable > pcitable.new
+# A pciids with more accurate information are available from
+rm -f vendors.txt ; wget http://www.yourvote.com/pci/vendors.txt
+./merge2pcitable.pl pciids vendors.txt pcitable > pcitable.new
+
+# http://www.begent.co.uk/pcids.htm
+
+
# with redhat's pcitable in /tmp/rh_pcitable (from kudzu or anaconda)
./merge2pcitable.pl pcitable /tmp/rh_pcitable pcitable > pcitable.new
+
# with a new kernel
-./merge2pcitable.pl kernel_pcimap $(echo /lib/modules/2.4.*/modules.pcimap | sed 's/ .*//') pcitable > pcitable.new
+(cd ~/tmp ; rm -rf lib ; rpm2cpio /RPMS/kernel-2.4.*.rpm |cpio -id './lib/modules/*/modules.*map')
+cp -f ~/tmp/lib/modules/*/modules.{pci,usb}map .
+rm -rf lib
+./merge2pcitable.pl kernel_pcimap modules.pcimap pcitable > pcitable.new
+./merge2pcitable.pl kernel_usbmap modules.usbmap usbtable > usbtable.new
+
# checking the pcitable
./merge2pcitable.pl pcitable pcitable pcitable > /dev/null