Results 1 to 3 of 3

Thread: Get the idVendor and the idProduct of a USB device with API Windows

  1. #1
    Join Date
    Dec 2014
    Location
    Belgium
    Posts
    2
    Qt products
    Qt5 Qt Jambi
    Platforms
    Windows

    Default Get the idVendor and the idProduct of a USB device with API Windows

    Hello,

    I insert a USB device on my computer and then I launch the console application and want it to display the idVendor and the idProduct
    attributes.

    I need the simplest way to do this.

    I tried with libusb instead of API Windows and it works but drivers are changed so I can't use my USB device in my application.

    I'm on Windows 7 so I can't use theses features:
    • Usb.GetDeviceSelector(UInt32,UInt32)
    • DeviceInformation.FindAllSync()
    • UsbDevice class



    How to do that ?

    Thank you.


    Kind regards.
    Corky.

  2. #2
    Join Date
    Apr 2012
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Get the idVendor and the idProduct of a USB device with API Windows

    Googling for "how to display USB vendor id in windows" gave me this as the #2 result.

    http://www.qtcentre.org/threads/3109...windows-system

    HTH

  3. #3
    Join Date
    Dec 2014
    Location
    Belgium
    Posts
    2
    Qt products
    Qt5 Qt Jambi
    Platforms
    Windows

    Default Re: Get the idVendor and the idProduct of a USB device with API Windows

    Thank you but I already read this thread and it gave me no answer..

Similar Threads

  1. Accessing GPS device from qt desktop(windows) App
    By newtolinux in forum Qt Programming
    Replies: 7
    Last Post: 2nd November 2010, 20:05
  2. How to debug code on Windows Ce 5.0 device?
    By hakanaktan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 12th August 2010, 13:08
  3. Replies: 34
    Last Post: 1st June 2010, 10:59
  4. Replies: 1
    Last Post: 19th September 2008, 15:43
  5. Problem whis open device in Windows
    By Pavka in forum Qt Programming
    Replies: 3
    Last Post: 19th November 2007, 10:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.