Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by pnpvivek View Post
    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
    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.

  3. #3
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...