PCIID: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "To update the PCI ID database in Linux, which provides human-readable names for PCI devices, the update-pciids command is used. This command downloads the latest version of the pci.ids file from the official PCI ID repository. Steps to Update the PCI ID Database: Ensure Internet Connectivity: . The update-pciids command requires an active internet connection to download the updated pci.ids file. Execute the Command: . Open a terminal and run the update-pciids command wit...")
 
No edit summary
 
Line 21: Line 21:
Save the changes.
Save the changes.
After updating the pci.ids file, tools like lspci will display the updated device names.
After updating the pci.ids file, tools like lspci will display the updated device names.
--
https://man7.org/linux/man-pages/man5/pci.ids.5.html
pci.ids(5) — Linux manual page

Latest revision as of 16:36, 18 August 2025

To update the PCI ID database in Linux, which provides human-readable names for PCI devices, the update-pciids command is used. This command downloads the latest version of the pci.ids file from the official PCI ID repository. Steps to Update the PCI ID Database: Ensure Internet Connectivity: . The update-pciids command requires an active internet connection to download the updated pci.ids file. Execute the Command: . Open a terminal and run the update-pciids command with superuser privileges (e.g., using sudo). Code

   sudo update-pciids

This command will fetch the latest pci.ids file and install it, typically in /usr/share/pciutils/pci.ids or /usr/share/hwdata/pci.ids. Manual Update (if no internet access or specific entries are needed): If internet access is unavailable or a specific, unlisted PCI ID needs to be added, the pci.ids file can be manually edited. Locate the pci.ids file: The file is usually located at /usr/share/pciutils/pci.ids or /usr/share/hwdata/pci.ids. Edit the file: Open the pci.ids file with a text editor (e.g., vi, vim, nano) with superuser privileges. Add or modify entries: Follow the format of existing entries to add new vendor, device, or subsystem IDs and their corresponding names. Save the changes. After updating the pci.ids file, tools like lspci will display the updated device names.

--

https://man7.org/linux/man-pages/man5/pci.ids.5.html

pci.ids(5) — Linux manual page