Tips記事
» 2002年03月06日 00時00分 UPDATE

認識されているPCIデバイスの状態が知りたい

[木田佳克,ITmedia]

 XF86Freeがうまく動かないためXF86Configで記述するビデオデバイス名が知りたい…,ネットワークカードのモデル名を知りたいなど,システムが安定するまではPCIデバイスの情報を知りたいことが多いものだ。

 そのような場合には,lspciコマンドで調べてみよう。次のように詳細な情報が得られる。

# lspci -v
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
    Flags: bus master, medium devsel, latency 64
    Memory at e4000000 (32-bit, prefetchable) [size=64M]
    Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
(prog-if 00 [Normal decode])
    Flags: bus master, 66Mhz, medium devsel, latency 64
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: de800000-dfdfffff
    Prefetchable memory behind bridge: dff00000-e3ffffff

00:04.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
    Flags: bus master, medium devsel, latency 0

00:04.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80[Master])
    Flags: bus master, medium devsel, latency 32
    I/O ports at b800 [size=16]

00:04.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
    Flags: bus master, medium devsel, latency 32, IRQ 5
    I/O ports at b400 [size=32]

00:04.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
    Flags: medium devsel, IRQ 9

00:0b.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
    Flags: bus master, medium devsel, latency 32, IRQ 10
    I/O ports at b000 [size=64]
    Expansion ROM at [disabled] [size=64K]

01:00.0 VGA compatible controller: Number 9 Computer Company Revolution 4 (rev 01) (prog-if 00 [VGA])
    Subsystem: Number 9 Computer Company: Unknown device 0027
    Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 11
    Memory at e2000000 (32-bit, prefetchable) [size=32M]
    Memory at e0000000 (32-bit, prefetchable) [size=32M]
    Memory at df000000 (32-bit, non-prefetchable) [size=4K]
    Memory at de800000 (32-bit, non-prefetchable) [size=64K]
    I/O ports at d800 [size=256]
    Expansion ROM at [disabled] [size=64K]
    Capabilities: [80] AGP version 1.0
    Capabilities: [90] Power Management version 1

Copyright © ITmedia, Inc. All Rights Reserved.

注目のテーマ