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
0x00000002/ {
28 # only copy data going to the output endpoint
29 if( direction ==
0 ) {
35 /endpoint
0x00000005/ {
36 # only copy data going to the output endpoint
37 if( direction ==
0 ) {
43 /endpoint
0x00000082/ {
44 # only copy data coming from the input endpoint
45 if( direction ==
1 ) {
51 /^
[0-9AaBbCcDdEeFf
]*: / {