linux:kernel:pci_devices
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:kernel:pci_devices [2021/01/29 10:47] – peter | linux:kernel:pci_devices [2022/10/08 11:37] (current) – peter | ||
---|---|---|---|
Line 3: | Line 3: | ||
The PCI standard has become the de-facto standard for system buses. | The PCI standard has become the de-facto standard for system buses. | ||
- | Linux provide extensive support for PCI, and contains numerous drivers for network, storage and 3rd party adapters. | + | Linux provide extensive support for PCI, and contains numerous drivers for network, storage and 3rd party adapters. |
---- | ---- | ||
Line 83: | Line 83: | ||
* **00** | * **00** | ||
* **.0** | * **.0** | ||
+ | |||
+ | Vendor and device information is stored in a centralized [[http:// | ||
</ | </ | ||
Line 235: | Line 237: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Expand on one device ==== | ||
+ | |||
+ | As an example, taking this from above list: | ||
+ | |||
+ | <code bash> | ||
+ | 09:00.0 0300: 10de:1c82 (rev a1) | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * 09:00.0 : Bus number (09), Device number (00) and Function (0). | ||
+ | * 0300 : Device class. | ||
+ | * 10de : Vendor ID. | ||
+ | * 1c82 : Device ID. | ||
+ | |||
+ | Looking up the identifiers in the [[http:// | ||
+ | |||
+ | * 0300 : Device class => Display controller. | ||
+ | * 10de : Vendor ID => NVIDIA Corporation. | ||
+ | * 1c82 : Device ID => GP107 [GeForce GTX 1050 Ti]. | ||
+ | |||
+ | which matches the output from the default **lspci | tail -10**: | ||
+ | |||
+ | <code bash> | ||
+ | 09:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Updating the PCI identification list ===== | ||
+ | |||
+ | The lspci utility uses the pci.ids file to determine the vendor and device type. | ||
+ | |||
+ | This file will grow as new vendors and devices are added, and can be updated automatically by running the update-pciids utility: | ||
+ | |||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 100 264k 100 264k 0 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
linux/kernel/pci_devices.1611917238.txt.gz · Last modified: 2021/01/29 10:47 by peter