%general-entities; ]> $LastChangedBy$ $Date$ PCI Utilities-&pciutils-version; PCI Utilities Introduction to PCI Utilities The PCI Utilities package is a set of programs for listing PCI devices, inspecting their status and setting their configuration registers. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pciutils-md5sum; Download size: &pciutils-size; Estimated disk space required: &pciutils-buildsize; Estimated build time: &pciutils-time; User Notes: Installation of PCI Utilities Install PCI Utilities by running the following commands: sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh && make PREFIX=/usr This package does not come with a test suite. Now, as the root user: make PREFIX=/usr install Some packages require the PCI static library. Note that in this version of PCI Utilities, you may need to set LIBS="-lz" before running the configure command of packages that are going to link to the libpci.a library. This will also link the Zlib library into the build (this workaround is only required for packages linking to the the PCI Utilities library, and is not needed during the build of PCI Utilities). To install the library and interface headers, issue the following commands as the root user: install -v -m 755 -d /usr/include/pci && install -v -m 644 lib/libpci.a /usr/lib && install -v -m 644 lib/*.h /usr/include/pci Command Explanations sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh: This command suppresses some unneeded screen output from the update-pciids command if you don't have either Lynx or Wget installed by redirecting the stderr output of the embedded which command to /dev/null. Configuring PCI Utilities The pci.ids data file is constantly being updated. To get a current version of this file, run update-pciids as the root user. This program requires the script or program to find , or which are used to download the most current file, and then replace the existing file in /usr/share. You may wish to add an entry to root's (or any other user who has write privilege to /usr/share) crontab to automatically update the pci.ids file periodically. Contents Installed Programs Installed Library Installed Directory lspci, setpci and update-pciids libpci.a /usr/include/pci Short Descriptions lspci is a utility for displaying information about all PCI buses in the system and all devices connected to them. lspci setpci is a utility for querying and configuring PCI devices. setpci update-pciids fetches the current version of the PCI ID list. Requires , or . update-pciids libpci.a is the static library that allows applications to access the PCI subsystem. libpci.a