Find the answer to your Linux question:
Results 1 to 3 of 3
How to get all the vendor names and other properties associated to devices connected to PCI bus. I wanted to get the details in a c program on Linux. Please ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    5

    Smile devices connected to PCI

    How to get all the vendor names and other properties associated to devices connected to PCI bus. I wanted to get the details in a c program on Linux.

    Please suggest me what header files i should include and also source code if you can provide.

    Regards,
    Bharath

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Sounds more like a programming question then a network question.

    try lspci

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    ...and if you want additional details, try:

    Code:
    lspci -v
    ...add another v for more details, and yet another for even more details

    ...you can run man lspci for more info on the lspci command
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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