Suggestion - new option to specify device by USB_root_hub name

54 views
Skip to first unread message

cri man

unread,
Sep 12, 2017, 10:35:50 AM9/12/17
to USBPcap
It should be very useful specify the device to be logged using the root hub name.

Example 


Following filter control devices are available:
1 \\.\USBPcap1
  \??\USB#ROOT_HUB20#4&29564a1c&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
    [Port 1] Generic USB Hub
2 \\.\USBPcap2
  \??\USB#ROOT_HUB30#4&70efa63&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
    [Port 1] USB Composite Device
      Mobile Highspeed Modem
      Mobile (USB1) (COM28)
      Mobile (USB2) (COM26)
      Mobile (USB3) (COM27)
      Mobile (USB4) (COM30)
      Mobile (USB5) (COM31)
      Mobile (NCM1)
    [Port 2] Generic USB Hub
    [Port 9] USB Input Device
      HID Keyboard Device
    [Port 10] USB Input Device
      HID-compliant mouse
3 \\.\USBPcap3
  \??\USB#ROOT_HUB20#4&2449ccd6&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
    [Port 1] Generic USB Hub

I could use the command below to capture traffic in \\.\USBPcap2

USBPcapCMD.exe -dname \\.\USB#ROOT_HUB30#4&70efa63&0&0 -o .\output.pcap

or something like that.

This new option should be very useful in scripting because usually the script knows the root hub my device is associated to, but it doesn't know the USBPcap root hub name (\\.\USBPcap2 in my example).

Thank you.
Reply all
Reply to author
Forward
0 new messages