sucessfully captured, but clueless about device names

115 views
Skip to first unread message

Mark K

unread,
Nov 27, 2015, 6:28:51 AM11/27/15
to USBPcap
Hello dear developers,
 
I timidly try to find the right phrasing for my question, because of a hunch that it's only remotely related to USBPcap.
Unfortunately I am stuck at every other pathway to find my answer.
 
I sucessfully captured the data I am interested in, but I want to replay this data to the USB port where it came from:
 

C
:\Python27>python -i ./Scripts/usbreplay.py --file=M:\usb\usb.pcap
ap
-data.pcap
Traceback (most recent call last):
 
File "./Scripts/usbreplay.py", line 746, in <module>
    replayer
= Replayer(options.vid, options.pid, options.logical_cfg, options.l
ogical_iface
, options.logical_alt_setting, options.infile, options.debug)
 
File "./Scripts/usbreplay.py", line 122, in __init__
   
self.device = self.get_usb_device(self.vid, self.pid)
 
File "./Scripts/usbreplay.py", line 207, in get_usb_device
    device
= usb.core.find(idVendor=vid, idProduct=pid)
 
File "C:\Python27\lib\site-packages\usb\core.py", line 1271, in find
   
raise NoBackendError('No backend available')
usb
.core.NoBackendError: No backend available
>>> ^Z
 
 
I hold on to this straw, because I hope that I can derive my answer from the knowledge of the USBPcap developments.
 
My question is: Can I somehow discern
(idVendor=vid, idProduct=pid)

from the the following USBPcap output ?
 
Following filter control devices are available:
1 \\.\USBPcap1
  \??\USB#ROOT_HUB#4&4656d83&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
    [Port 1] USB-Massenspeichergerät
      Multiple Card  Reader USB Device
2 \\.\USBPcap2
  \??\USB#ROOT_HUB#4&19d4b5f6&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
3 \\.\USBPcap3
  \??\USB#ROOT_HUB#4&223fec33&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
    [Port 1] USB-Eingabegerät
      HID-konformes Gerät
      HID-konforme Maus
      HID-konformes Gerät
    [Port 2] USB-Eingabegerät
      HID-Tastatur
4 \\.\USBPcap4
  \??\USB#ROOT_HUB#4&2eca2647&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
5 \\.\USBPcap5
  \??\USB#ROOT_HUB20#4&c0c5ccb&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}




Reply all
Reply to author
Forward
0 new messages