none
Install WinUSB with an INF ? RRS feed

  • Question

  • Hi Experts:

    I'm trying to install WinUsb for my touch device (HID) by following this MS Doc:

    https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/winusb-installation

    Within the doc, it has this section:

    [Dev_AddReg] HKR,,DeviceInterfaceGUIDs,0x10000,"{9f543223-cede-4fa3-b376-a25ce9a30e74}"

    What is "9f543223-cede-4fa3-b376-a25ce9a30e74" ? For my HID device what should I use here? I used HidClass GUID but then my device shows under "Universal Serial Bus device" not HID section in the Device Manager.

    Thanks In Advance


    leo

    Monday, September 3, 2018 12:19 AM

Answers

  • To capture USB traffic - including descriptors requests - there are special tools. Google for "USB protocol analyzer" or "packet capture".

    -- pa


    • Edited by Pavel A Monday, September 3, 2018 1:53 PM
    • Marked as answer by Doron Holan [MSFT] Monday, September 3, 2018 10:04 PM
    Monday, September 3, 2018 1:51 PM

All replies

  • You don’t need a driver at all for a HID device why are you installing winusb on a hid?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, September 3, 2018 4:23 AM
  • Thanks, i'd like to use the WinUsb APIs to capture USB traffic, device descriptor ...

    Can HidD_ and HidP_ APIs do these things ?





    • Edited by SJ-Hills Monday, September 3, 2018 4:38 AM
    Monday, September 3, 2018 4:26 AM
  • To capture USB traffic - including descriptors requests - there are special tools. Google for "USB protocol analyzer" or "packet capture".

    -- pa


    • Edited by Pavel A Monday, September 3, 2018 1:53 PM
    • Marked as answer by Doron Holan [MSFT] Monday, September 3, 2018 10:04 PM
    Monday, September 3, 2018 1:51 PM
  • Thanks, yes I'm aware of these tools. But I'd like to make one that may do similar thing but much simpler. I'd like to know if its possible to get it done using WinUSB or HID APIs ...

    leo

    Monday, September 3, 2018 10:28 PM
  • If you want it very simple, no any INF and installing anything: use libusb on Linux /*while Doron is not looking */

    In case any driver has claimed the device, detach it.

    -- pa

    Tuesday, September 4, 2018 11:41 PM
  • For a simple capturing of USB packet and HID descriptors, I use BusHound. As long as the issue you're seeing is not related to some electrical aspect, it'll do.

    moolwalk

    • Proposed as answer by Jesse Ahn Thursday, October 18, 2018 5:13 AM
    • Unproposed as answer by Doron Holan [MSFT] Thursday, October 18, 2018 4:08 PM
    Thursday, October 18, 2018 5:13 AM