2 # This script is useful for turning a UsbSnoop log file into something
3 # more readable. It assumes USB endpoints 0x05 and 0x82
27 /endpoint
0x00000005/ {
28 # only copy data going to the output endpoint
29 if( direction ==
0 ) {
35 /endpoint
0x00000082/ {
36 # only copy data coming from the input endpoint
37 if( direction ==
1 ) {
43 /^
[0-9AaBbCcDdEeFf
]*: / {