salut Jean,<br><br><div class="gmail_quote">2009/5/18 Jean Delvare <span dir="ltr"><<a href="mailto:khali@linux-fr.org" target="_blank">khali@linux-fr.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Salut Arnaud,<br>
<div><br>
On Mon, 18 May 2009 16:14:47 +0200, Arnaud Quette wrote:<br>
> ahah, hem, well to be serious, the game is to identify the report used when<br>
> doing a battery test.<br>
> so the best would be to only fire usbsnoop when doing that, in order to find<br>
> the frame more easily and the matching report.<br>
<br>
</div>OK, I managed to get a slightly shorter capture file:<br>
</blockquote><div><br>slightly, yeah ;-)<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<a href="http://jdelvare.pck.nerim.net/linux/usbsnoop-apc-back-ups-rs800-battery-test-2.log" target="_blank">http://jdelvare.pck.nerim.net/linux/usbsnoop-apc-back-ups-rs800-battery-test-2.log</a><br>
<br>
I don't think I'll be able to make it shorter, as the application takes<br>
some time to initialize after I plug the UPS, and only then I can start<br>
the battery test. And the battery test itself takes several seconds.<br>
<br>
I have a hard time believing that so many data flies over the USB wire<br>
when the application is basically doing nothing.<br>
</blockquote><div><br>this is the nature of USB: automagic handshake between the device and the host means that there are some data exchange (the descriptors that describes the device, its capabilities and how to interact with it).<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The USB sniffer I am using [1] is not exactly user-friendly. I have to<br>
restart the system for every new capture (otherwise I am unable to<br>
reset the capture file), and the capture doesn't end when I exit the<br>
application. It is also not possible to manually start or stop the<br>
capture. Is there any better USB sniffer application you would<br>
recommend?<br>
</blockquote><div><br>I don't know. I've not used windows for years...<br>maybe that one, but it's a shareware!<br><a href="http://www.hhdsoftware.com/Products/home/usb-monitor.html" target="_blank">http://www.hhdsoftware.com/Products/home/usb-monitor.html</a><br>
</div><br></div>does usbsnoop provides a waterfall view (like "tail -f"), in which case, just copy / paste the exact few lines. Otherwise, it will requires more investigations.<br clear="all"><br>cheers,<br>Arnaud<br>
-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>