Get PCI device ID in linux
by Micik from LinuxQuestions.org on (#6Q8BG)
Hello,
which command I can use to get PCI ID device in linux to get info presented here (extracted from PCI ID database for Nvidia)
For example, for NVidia GPU RTX 2080 Ti is 0x1e04
According to this, I need to write a C program for such purpose, but I believe there should be some switch to the lspci command.
Attached Thumbnails
which command I can use to get PCI ID device in linux to get info presented here (extracted from PCI ID database for Nvidia)
For example, for NVidia GPU RTX 2080 Ti is 0x1e04
According to this, I need to write a C program for such purpose, but I believe there should be some switch to the lspci command.
Attached Thumbnails