/[soft]/ldetect-lst/trunk/convert/README.pcitable
ViewVC logotype

Contents of /ldetect-lst/trunk/convert/README.pcitable

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1357 - (show annotations) (download)
Tue May 17 09:21:22 2011 UTC (10 years ago) by dmorgan
File size: 1889 byte(s)
Import  ldetect
1 ################################################################################
2 # How to merge the pcitable with various source:
3 #
4
5
6 # update pciutils
7 ./merge2pcitable.pl pciids /usr/share/pci.ids pcitable > pcitable.new
8
9 # update usbutils
10 ./merge2pcitable.pl pciids /usr/share/usb.ids usbtable > usbtable.new
11
12 # A pciids with more accurate information are available from
13 # was moved into http://www.pcidatabase.com/reports.php?type=tab-delimeted
14 rm -f vendors.txt ; wget http://www.yourvote.com/pci/vendors.txt
15 ./merge2pcitable.pl pciids vendors.txt pcitable > pcitable.new
16
17 # Another one
18 rm -f pcids.htm ; wget http://www.begent.co.uk/pcids.htm
19 ./merge2pcitable.pl begent_pcids_htm pcids.htm pcitable > pcitable.new
20 # you can also try the following. BUT be careful when choosing cards needing subids. Ask pixel@mandriva.com first!
21 ./merge2pcitable.pl --keep-subids begent_pcids_htm pcids.htm pcitable > pcitable.new
22
23 # http://members.hyperlink.net.au/~chart/download/pcidevs.txt
24
25
26 # with redhat's pcitable in /tmp/rh_pcitable (from kudzu or anaconda)
27 ./merge2pcitable.pl pcitable /tmp/rh_pcitable pcitable > pcitable.new
28
29 # with redhat's pcitable in /tmp/rh_pcitable (from hwdata)
30 ./merge2pcitable.pl rhpcitable /tmp/rh_pcitable pcitable > pcitable.new
31
32 # with SuSE hwinfo
33 # (srpm in ftp://ftp.suse.com/pub/suse/i386/current/suse/src)
34 ./merge2pcitable.pl hwinfo_x11 /tmp/hwinfo-9.31/src/ids/src/x11.i386 pcitable > pcitable.new
35
36
37 # with a new kernel
38 (cd ~/tmp ; rm -rf lib ; rpm2cpio /RPMS/kernel-2.4.*.rpm |cpio -id './lib/modules/*/modules.*map')
39 cp -f ~/tmp/lib/modules/*/modules.{pci,usb}map .
40 rm -rf ~/tmp/lib
41 ./merge2pcitable.pl kernel_pcimap modules.pcimap pcitable > pcitable.new
42 ./merge2pcitable.pl kernel_usbmap modules.usbmap usbtable > usbtable.new
43
44
45 # checking the pcitable
46 ./merge2pcitable.pl pcitable pcitable pcitable > /dev/null
47
48 ## do "ln -s ../lst/pcitable" first

  ViewVC Help
Powered by ViewVC 1.1.28