📄 lspci.man
字号:
.TH lspci 8 "@TODAY@" "@VERSION@" "Linux PCI Utilities".IX lspci.SH NAMElspci \- list all PCI devices.SH SYNOPSIS.B lspci.RB [ options ].SH DESCRIPTION.B lspciis a utility for displaying information about all PCI buses in the system andall devices connected to them.If you are going to report bugs in PCI device drivers or in.I lspciitself, please include output of "lspci -vvx"..SH OPTIONS.TP.B -vTells.I lspcito be verbose and display detailed information about all devices..TP.B -vvTells.I lspcito be very verbose and display even more information (actually everything thePCI device is able to tell). The exact meaning of these data is not explainedin this manual page, if you want to know more, consult.B /usr/include/linux/pci.hor the PCI specs..TP.B -nShow PCI vendor and device codes as numbers instead of looking them up in thePCI ID database..TP.B -xShow hexadecimal dump of first 64 bytes of the PCI configuration space (the standardheader). Useful for debugging of drivers and.I lspciitself..TP.B -xxxShow hexadecimal dump of whole PCI configuration space. Available only for rootas several PCI devices.B crashwhen you try to read undefined portions of the config space (this behaviour probablydoesn't violate the PCI standard, but it's at least very stupid)..TP.B -bBus-centric view. Show all IRQ numbers and addresses as seen by the cards on thePCI bus instead of as seen by the kernel..TP.B -tShow a tree-like diagram containing all buses, bridges, devices and connectionsbetween them..TP.B -s [[<bus>]:][<slot>][.[<func>]]Show only devices in specified bus, slot and function. Each component of the deviceaddress can be omitted or set as "*" meaning "any value". All numbers arehexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of device 0on any bus, "0.3" selects third function of device 0 on all buses and ".4" shows onlyfourth function of each device..TP.B -d [<vendor>]:[<device>]Show only devices with specified vendor and device ID. Both ID's are given inhexadecimal and may be omitted or given as "*" meaning "any value"..TP.B -i <file>Use.B<file>as PCI ID database instead of /usr/share/pci.ids..TP.B -p <dir>Use.B <dir>as directory containing PCI bus information instead of /proc/bus/pci..TP.B -mDump PCI device data in machine readable form (both normal and verbose format supported)for easy parsing by scripts..TP.B -MInvoke bus mapping mode which scans the bus extensively to find all devices includingthose behind misconfigured bridges etc. Please note that this is intended only fordebugging and as it can crash the machine (only in case of buggy devices, butunfortunately these happen to exist), it's available only to root. Also using-M on PCI access methods which don't directly touch the hardware has nosense since the results are (modulo bugs in lspci) identical to normal listingmodes..TP.B --versionShows .I lspciversion. This option should be used standalone..SH PCILIB OPTIONSThe PCI utilities use PCILIB (a portable library providing platform-independentfunctions for PCI configuration space access) to talk to the PCI cards. The followingoptions control parameters of the library, especially what access method it uses.By default, PCILIB uses the first available access method and displays no debuggingmessages. Each switch is accompanied by a list of hardware/software configurationsit's supported in..TP.B -P <dir>Force use of Linux /proc/bus/pci style configuration access, using.B <dir>instead of /proc/bus/pci. (Linux 2.1 or newer only).TP.B -H1Use direct hardware access via Intel configuration mechanism 1. (i386 and compatible only).TP.B -H2Use direct hardware access via Intel configuration mechanism 2. Warning: This methodis able to address only first 16 devices on any bus and it seems to be veryunrealiable in many cases. (i386 and compatible only).TP.B -SUse PCI access syscalls. (Linux on Alpha and UltraSparc only).TP.B -F <file>Extract all information from given file containing output of lspci -x. This is veryuseful for analysis of user-supplied bug reports, because you can display thehardware configuration in any way you want without disturbing the user withrequests for more dumps. (All systems).TP.B -GIncrease debug level of the library. (All systems).SH FILES.TP.B @SHAREDIR@/pci.idsA list of all known PCI ID's (vendors, devices, classes and subclasses)..TP.B /proc/bus/pciAn interface to PCI bus configuration space provided by the post-2.1.82 Linuxkernels. Contains per-bus subdirectories with per-card config space files and a.I devicesfile containing a list of all PCI devices..SH SEE ALSO.BR setpci (8), update-pciids (8).SH AUTHORThe Linux PCI Utilities are maintained by Martin Mares <mj@ucw.cz>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -