1pcilib(7)                      The PCI Utilities                     pcilib(7)
2
3
4

NAME

6       pcilib - a library for accessing PCI devices
7
8

DESCRIPTION

10       The PCI library (also known as pcilib and libpci) is a portable library
11       for accessing PCI devices and their configuration space.
12
13

ACCESS METHODS

15       The library supports a variety of methods to access  the  configuration
16       space  on  different  operating systems. By default, the first matching
17       method in this list is used, but you can specify override the  decision
18       (see the -A switch of lspci).
19
20
21       linux-sysfs
22              The  /sys filesystem on Linux 2.6 and newer. The standard header
23              of the config space is available to all users, the rest only  to
24              root.  Supports  extended  configuration space, PCI domains, VPD
25              (from Linux 2.6.26), physical slots (also  since  Linux  2.6.26)
26              and information on attached kernel drivers.
27
28       linux-proc
29              The  /proc/bus/pci  interface  supported by Linux 2.1 and newer.
30              The standard header of the config  space  is  available  to  all
31              users, the rest only to root.
32
33       intel-conf1
34              Direct  hardware  access  via  Intel  configuration mechanism 1.
35              Available on i386 and compatibles  on  Linux,  Solaris/x86,  GNU
36              Hurd, Windows, BeOS and Haiku. Requires root privileges.
37
38       intel-conf2
39              Direct  hardware  access  via  Intel  configuration mechanism 2.
40              Available on i386 and compatibles  on  Linux,  Solaris/x86,  GNU
41              Hurd,  Windows,  BeOS and Haiku. Requires root privileges. Warn‐
42              ing: This method is able to address only the first 16 devices on
43              any bus and it seems to be very unreliable in many cases.
44
45       fbsd-device
46              The /dev/pci device on FreeBSD. Requires root privileges.
47
48       aix-device
49              Access method used on AIX. Requires root privileges.
50
51       nbsd-libpci
52              The  /dev/pci0  device on NetBSD accessed using the local libpci
53              library.
54
55       obsd-device
56              The /dev/pci device on OpenBSD. Requires root privileges.
57
58       dump   Read the contents of configuration registers from a file  speci‐
59              fied  in  the dump.name parameter. The format corresponds to the
60              output of lspci -x.
61
62       darwin Access method used on Mac OS X / Darwin. Must be run as root and
63              the system must have been booted with debug=0x144.
64
65

PARAMETERS

67       The  library is controlled by several parameters. They should have sen‐
68       sible default values, but in case you want to do something unusual  (or
69       even  something  weird),  you  can  override them (see the -O switch of
70       lspci).
71
72
73   Parameters of specific access methods
74       dump.name
75              Name of the bus dump file to read from.
76
77       fbsd.path
78              Path to the FreeBSD PCI device.
79
80       nbsd.path
81              Path to the NetBSD PCI device.
82
83       obsd.path
84              Path to the OpenBSD PCI device.
85
86       proc.path
87              Path to the procfs bus tree.
88
89       sysfs.path
90              Path to the sysfs device tree.
91
92
93   Parameters for resolving of ID's via DNS
94       net.domain
95              DNS domain containing the ID database.
96
97       net.cache_name
98              Name of the file used for caching of resolved ID's.
99
100
101   Parameters for resolving of ID's via UDEV's HWDB
102       hwdb.disable
103              Disable use of HWDB if set to a non-zero value.
104
105

SEE ALSO

107       lspci(8), setpci(8), pci.ids(5), update-pciids(8)
108
109

AUTHOR

111       The PCI Utilities are maintained by Martin Mares <mj@ucw.cz>.
112
113
114
115pciutils-3.7.0                    31 May 2020                        pcilib(7)
Impressum