1 .TH pcilib 7 "@TODAY@" "@VERSION@" "The PCI Utilities"
4 pcilib \- a library for accessing PCI devices
8 The PCI library (also known as \fIpcilib\fP and \fIlibpci\fP) is a portable library
9 for accessing PCI devices and their configuration space.
14 The library supports a variety of methods to access the configuration space
15 on different operating systems. By default, the first matching method in this
16 list is used, but you can specify override the decision (see the \fB-A\fP switch
23 filesystem on Linux 2.6 and newer. The standard header of the config space is available
24 to all users, the rest only to root. Supports extended configuration space, PCI domains,
25 VPD (from Linux 2.6.26), physical slots (also since Linux 2.6.26) and information on attached
31 interface supported by Linux 2.1 and newer. The standard header of the config space is available
32 to all users, the rest only to root.
35 Direct hardware access via Intel configuration mechanism 1. Available on i386 and compatibles
36 on Linux, Solaris/x86, GNU Hurd and Windows. Requires root privileges.
39 Direct hardware access via Intel configuration mechanism 2. Available on i386 and compatibles
40 on Linux, Solaris/x86, GNU Hurd and Windows. Requires root privileges. Warning: This method
41 is able to address only the first 16 devices on any bus and it seems to be very
42 unreliable in many cases.
47 device on FreeBSD. Requires root privileges.
50 Access method used on AIX. Requires root privileges.
55 device on NetBSD accessed using the local libpci library.
60 device on OpenBSD. Requires root privileges.
63 Read the contents of configuration registers from a file specified in the
65 parameter. The format corresponds to the output of \fIlspci\fP \fB-x\fP.
70 The library is controlled by several parameters. They should have sensible default
71 values, but in case you want to do something unusual (or even something weird),
72 you can override them (see the \fB-O\fP switch of \fIlspci\fP).
74 .SS Parameters of specific access methods
78 Name of the bus dump file to read from.
81 Path to the FreeBSD PCI device.
84 Path to the NetBSD PCI device.
87 Path to the OpenBSD PCI device.
90 Path to the procfs bus tree.
93 Path to the sysfs device tree.
95 .SS Parameters for resolving of ID's via DNS
98 DNS domain containing the ID database.
101 Name of the file used for caching of resolved ID's.
107 .BR update-pciids (8)
110 The PCI Utilities are maintained by Martin Mares <mj@ucw.cz>.