From: randy_dunlap <[EMAIL PROTECTED]>
>
> Hi Randy, I wrote a little awk program to translate your usbmon output
to a
> format compatible with my html decoder. Then I ran it through the
decoder.
> The output is not beautiful, but it does decode the control packets that
I
> know about. The usb spec is open ended and complex, to say the least.
>
> Anyway I posted the output concatenated with your original usbmon.out
file
> on my website. See if it is anything like what you are looking for;
> http://myspot.neteze.com/~calfee/usbmon1.txt If it is, I will send you
the
> awk script, and maybe together, over time we can improve its decoding?
Hi Steve,
That looks like a really good start to me.
Do you want me to generate some more usbmon logs to test with?
Thanks,
---
~Randy
Hi Randy,
I don't know where to go from here. I kind of think maybe discussing a tool
that supports a tool that supports usb driver development might be getting a
little far from the use of linux-usb-devel list usage.
What I did was write a little awk script to convert from Pete's data fomat
to one compatible with my usb decode script that I already had. It seems to
work ok. My decoder script works with all the initial enumeration
transactions that I have tried so far.
What the awk decoder does not do is the more complex decoding - ie decoding
descriptors that depend on remembering past setup transactions. The audio
class has amazingly complex, nested discriptors. Or HID. And it gets worse,
where potentially a device might have multiple interfaces where some
endpoints are a bulk device some are HID etc, and to decode those you have
to know which endpoints are CURRENTLY (remember alt-settings and
configurations!) doing what to properly decode them.
So we need to define a goal for the usbmon decoder, figure out a place to
commonly work on it, or I can just send you what I have and that is good
enough?
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel