The output of lspci -n is pretty cryptic. If you want to know what all the numbers mean, read on...

hrm@joshua:hrm $ lspci -n
0000:00:00.0 0600: 8086:3580 (rev 02)
0000:00:00.1 0880: 8086:3584 (rev 02)
0000:00:00.3 0880: 8086:3585 (rev 02)
0000:00:02.0 0300: 8086:3582 (rev 02)
0000:00:02.1 0380: 8086:3582 (rev 02)
0000:00:1d.0 0c03: 8086:24c2 (rev 03)
0000:00:1d.1 0c03: 8086:24c4 (rev 03)
0000:00:1d.2 0c03: 8086:24c7 (rev 03)
0000:00:1d.7 0c03: 8086:24cd (rev 03)
0000:00:1e.0 0604: 8086:2448 (rev 83)
0000:00:1f.0 0601: 8086:24cc (rev 03)
0000:00:1f.1 0101: 8086:24ca (rev 03)
0000:00:1f.5 0401: 8086:24c5 (rev 03)
0000:00:1f.6 0703: 8086:24c6 (rev 03)
0000:01:04.0 0280: 8086:4220 (rev 05)
0000:01:05.0 0607: 1180:0475 (rev b8)
0000:01:05.1 0c00: 1180:0551
0000:01:08.0 0200: 8086:103e (rev 83)

As I'm sure you can see, this is the output from my laptop, which is obviously an ASUS M3000. Or something...

Each line of output is a PCI device.

Picking one of those lines:

0000:00:1f.1 0101: 8086:24ca (rev 03)

The first set of numbers, 0000:00:1f:1, are the address of the device on the PCI bus. This consists of four parts: The PCI domain, the bus address, the device address, and a component address respectively.

The second set of numbers, 0101: 8086:24ca (rev 03), describe the device itself. These are, respectively, the device class, the manufacturer ID, and device id, and the revision.

All of the numbers in the listing are in hexadecimal. You can look up manufacturer and device ID numbers from or in the drivers/pci/pci.ids file in the Linux kernel source.

Most of the time, the lspci tool will have all of the PCI ids built into itself, and running it without the -n option will do that look-up, printing the "human-readable" version of the manufacturer and device ID.

LinuxHints/LspciOutput (last edited 2010-05-28 17:10:49 by AdamTrickett)