Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have 2 video capture PCI cards having same signature ( i.e same device ID, vendorID, subdevcie ID,subvendor ID). How to identify these two cards using some C code ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    32

    How to Identify 2 PCI card having same signature


    Hi

    I have 2 video capture PCI cards having same signature ( i.e same device ID, vendorID, subdevcie ID,subvendor ID).

    How to identify these two cards using some C code

    Can anybody suggest me please.

  2. #2
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Location
    Yorkshire, GB
    Posts
    237
    Is there any difference between those two devices if you run "cat /proc/bus/pci/devices" ?

    If yes, you could try the C code that I posted in here:

    http://www.linuxforums.org/forum/lin...0-link-ip.html

    A "little" modification would be necessary. Mainly for the "awk" command. Hopefully "awk" is your friend.
    Bus Error: Passengers dumped. Hech gap yo'q.

Posting Permissions

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