Re: Patch for expanded text API in usbmon

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, 9 Feb 2007, Pete Zaitcev wrote:

> I decided not to cram the ISO descriptors into the old line format,
> primarily because my parser would still choke on ISO no matter what.
> I added a new format '0u' in addition to the old one '0t'. So we have
> a bit of a bloat, all structures grew somewhat, output lines grew too...
> Numbers do not seem too threatening though. Aside to what was requested,
> e.g. various ISO thingies like start_frame, I added a bus number,
> which allows to implement "bus zero", capturing all traffic across
> all buses (mostly for new buses appearing when we modprobe ehci-hcd).

That could be useful.  We currently have no way to capture the events when 
a new bus first starts up.

> If anyone has any comments about the bloat or missing features,
> I'd like to hear it. Alan, does this capture what you wanted for ISO?
> Statistics is for the next time.

It looks very good at first glance.  I'll try it out next week.

> BTW, can anyone tell me why in the world status is unsigned in ISO
> frame descriptors? I print it as a signed int on the assumption that
> it's an error and may be changed in the future.

Clearly the declaration is wrong; the status field should be signed.  
Please feel free to fix it.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.