Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

pci tool

List

Common options:

  • -mm Produce machine-readable output (single -m for an obsolete format)
  • -t Show bus tree

Display options:

  • -v Be verbose (-vv or -vvv for higher verbosity)
  • -k Show kernel drivers handling each device
  • -x Show hex-dump of the standard part of the config space
  • -xxx Show hex-dump of the whole config space (dangerous; root only)
  • -xxxx Show hex-dump of the 4096-byte extended config space (root only)
  • -b Bus-centric view (addresses and IRQ's as seen by the bus)
  • -D Always show domain numbers
  • -P Display bridge path in addition to bus and device number
  • -PP Display bus path in addition to bus and device number

Resolving of device ID's to names:

  • -n Show numeric ID's
  • -nn Show both textual and numeric ID's (names & numbers)
  • -q Query the PCI ID database for unknown ID's via DNS
  • -qq As above, but re-query locally cached entries
  • -Q Query the PCI ID database for all ID's via DNS

Selection of devices:

  • -s [[[[]:]]:][][.[]] Show only devices in selected slots
  • -d []:[][:] Show only devices with specified ID's

Other options:

  • -i Use specified ID database instead of /usr/share/hwdata/pci.ids
  • -p Look up kernel modules in a given file instead of default modules.pcimap
  • -M Enable `bus mapping' mode (dangerous; root only)

PCI access options:

  • -A Use the specified PCI access method (see `-A help' for a list)
  • -O = Set PCI access parameter (see `-O help' for a list)
  • -G Enable PCI access debugging
  • -H Use direct hardware access ( = 1 or 2)
  • -F Read PCI configuration dump from a given file