Lspci
Zur Navigation springen
Zur Suche springen
LSPCI
Funktion
Die Informationen über die PCI-Busse liefert der Kernel über das virtuelle Verzeichnis /proc/bus/pci. Das Verzeichnis enthält für jeden Bus ein Unterverzeichnis mit Informationsdateien für die Geräte und eine Datei /proc/bus/pci/device, die eine Liste aller PCI-Geräte enthält. Das Programm um diese Informationen anzuzeigen heißt lspci
OPTIONEN
Sinnvolle Parameter beim Aufruf von lspci können sein:
Option | Zweck |
---|---|
-b | Darstellung der IRQ und Adressen aus Sicht des PCI-Bus |
-d [HID]:[GID] | Zeigt nur die Geräte mit angegeben Hersteller- und Geräte-ID. |
-i DATEI | Benutzt eine andere Datei als PCI-ID-Datenbank. |
-m | Ausgabe im maschinenlesbaren Format |
-n | Zeigt nur die Hersteller- und Geräte-Codes an |
-p DIR | Benutzt ein anderes Verzeichnis für die PCI-Bus-Informationen |
-t | Darstellung in Baumform |
-v | Ausführlichere Informationen |
-vv | Sehr ausführliche Informationen |
-x | Hexadezimaler Dump der 64 Bytes des PCI-Konfigurationsspeichers |
-k | Zeigt die Kernelmodule der Devices an |
Optionen
Beispiele
Ohne Parameter
- lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) 00:11.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
Anzeige der benutzten Module
- lspci -k
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) Kernel driver in use: agpgart-intel Kernel modules: intel-agp 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) Kernel modules: shpchp 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) Kernel driver in use: ata_piix 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) Kernel modules: i2c-piix4 00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) Kernel driver in use: mptspi Kernel modules: mptspi 00:11.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10) Kernel driver in use: pcnet32 Kernel modules: pcnet32
Hersteller- und Geräte-Codes
- lspci -n
00:00.0 0600: 8086:7190 (rev 01) 00:01.0 0604: 8086:7191 (rev 01) 00:07.0 0601: 8086:7110 (rev 08) 00:07.1 0101: 8086:7111 (rev 01) 00:07.3 0680: 8086:7113 (rev 08) 00:0f.0 0300: 15ad:0405 00:10.0 0100: 1000:0030 (rev 01) 00:11.0 0200: 1022:2000 (rev 10)
Darstellung der Bauform
- lspci -t
-[0000:00]-+-00.0 +-01.0-[0000:01]-- +-07.0 +-07.1 +-07.3 +-0f.0 +-10.0 \-11.0
Netzwerkkartentreiber
- lspci -s 00:19.0 -k
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04) Subsystem: Lenovo Device 21f3 Kernel driver in use: e1000e Kernel modules: e1000e