question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replaying USB_INTERRUPT Packet, replay.py is blank?

See original GitHub issue

I’m trying to immitate a packet, which I captured using USBcap and filtered through Wireshark until there was only one. It sends a few bytes (rgb data) to device 1.14.2 (device 14, endpoint 2, My Corsair gaming keyboard with LEDs)

While I do reply.py in my CMD, it does not send the package. Wireshark is still running filtering for packages with destination 1.14.2, yet it does not sniff any package sent. It only detects packages when I run them from the original source (Corsair’s LED managing prioritary software)

I noticed that, in comparison to the test win1.pcapng. my reply.py, generated by the command python usbrply --device-hi -p ..\..\usbrply\make_green_filtered.pcapng > replay.py is rather… blank?

I leave resulting reply.py and original single-packet make_green_filtered.pcapng

Cheerio! replay py

make_green_filtered pcapng

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JohnDMcMastercommented, Mar 3, 2021

Not forgotten, but it may take me a bit to look at this. Ping me in a week if you don’t hear back

0reactions
JohnDMcMastercommented, Apr 11, 2021

Sounds like this is solved? Please re-open if you need additional assistance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JohnDMcMaster/usbrply: Replay USB messages ... - GitHub
Replay USB messages from Wireshark (.cap) files. ... usbrply. Convert a .pcap file (captured USB packets) to Python or C code that replays...
Read more >
Installing Python & PyUSB | Hacking the Kinect
The first place to start is to see what devices and "interfaces" or "configurations" are available for the USB device.
Read more >
python-can.pdf - Read the Docs
python -can runs any where Python runs; from high powered computers with commercial CAN to USB devices right down to low powered devices...
Read more >
USB in a NutShell - Chapter 4 - Endpoint Types - Beyondlogic
Details the four different transfer/endpoint types of USB. These are Control, Interrupt, Isochronous and Bulk Transfers.
Read more >
Change log : linux-gcp-5.4 package : Ubuntu - Launchpad
... Fix USB interrupts for PXs2 SoC - arm64: dts: uniphier: Fix USB interrupts ... deal with errors when replaying dir entry during...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found