Results 1 to 3 of 3
Hai friend,
I am new to Linux world ,i want to ask one doubt in Linux device driver programming.
How to get (or) identify the PCI CARD (for any PCI ...
- 05-07-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 18
How to identify the device id and vendor id of PCI card
Hai friend,
I am new to Linux world ,i want to ask one doubt in Linux device driver programming.
How to get (or) identify the PCI CARD (for any PCI card) device id,vendor id ,class, sub system vendor id, and subsystem device id.
Thanks in advance,
vivek
- 05-07-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Most programs use the pci.ids database, which is shipped with pciutils. For example, the lspci tool uses that database to match the device and vendor ids with their names. It's a plain text file, and can be updated regularly by using the update-pciids tool, shipped in the same package.
I don't know if that's what you need. It might worth a look, though.
- 03-04-2010 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 4
I just came across this question during a google search, and thought I could supplement i92guboj's fine answer with this:
If you need to find what the devices IDs might be, for PCI cards installed right now, try using '-n' with lspci . It displays the numbers without performing a lookup in the device id list.



