debian/0000755000000000000000000000000011524072113007162 5ustar debian/vusb-analyzer.install0000644000000000000000000000027411524062607013366 0ustar vusb-analyzer /usr/lib/vusb-analyzer VUsbTools /usr/lib/vusb-analyzer debian/desktop/* /usr/share/applications debian/icons/* /usr/share/icons debian/pixmaps/* /usr/share/pixmaps debian/compat0000644000000000000000000000000211512416304010361 0ustar 8 debian/desktop/0000755000000000000000000000000011512416246010641 5ustar debian/desktop/vusb-analyzer.desktop0000644000000000000000000000034011306500120015015 0ustar [Desktop Entry] Name=Virtual USB Analyzer GenericName=Virtual USB Analyzer Comment=visualizing logs of USB packets Exec=vusb-analyzer Icon=vusb-analyzer Terminal=false Type=Application Categories=System; StartupNotify=false debian/vusb-analyzer.links0000644000000000000000000000007211524063161013030 0ustar usr/lib/vusb-analyzer/vusb-analyzer usr/bin/vusb-analyzer debian/control0000644000000000000000000000144611524055367010606 0ustar Source: vusb-analyzer Section: contrib/utils Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 8), python-support Standards-Version: 3.9.1 Homepage: http://vusb-analyzer.sourceforge.net/ Package: vusb-analyzer Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 Recommends: python-gnome2, python-psyco Description: tool for visualizing logs of USB packets The Virtual USB Analyzer is a tool for visualizing logs of USB packets, from hardware or software USB sniffer tools. . Currently, it supports two log formats (but it's designed to be easily extensible): . * Logged USB traffic from debug builds of VMware Fusion, Workstation, or Player. * XML logs from the Ellisys USB Explorer 200, a hardware USB 2.0 analyzer. debian/icons/0000755000000000000000000000000011512416231010275 5ustar debian/icons/vusb-analyzer.png0000644000000000000000000000302111512415623013605 0ustar PNG  IHDR szzsRGBbKGD pHYs B(xtIME mIDATXŗAhWof7n4A$ziFHMLAB( K=(/eشim\R2L&Ckk+hh4"eõ\b11MSVV:Rdt]cLQ9KAr lFu,ˇNYw)\=^ !԰wo#aGbO(:7o:bkKK.{6r9\B!?{|m;Xm6ؿEK˷-q:3T._4u/&''y,..SeR[[aH&'gq),ˠ)%< H[ H) 6nܘ@0'*I駟F$!|%x/~***xp5M \p]ŎGvޟD޽d]Rs.ﮀ룵kɅ8qTtRDfaaeRϰJ(su}f&,-޹3UcbO< +&~^3?o6}{bUkǖ-[y*i4McxxXI !4R;v4a&##Ø=A8놇G0 hhؚ%8p;ܹ^b96EGVNG> HSӇtv~L_wY (\Ƕmu% TUmSTW[o>ضR7ݎ&\0 I(/P2 "`z(u!‰hb{|Qjzz2BqCK˷/U罹?n …?H4,,z9y=,IENDB`debian/patches/0000755000000000000000000000000011524071734010621 5ustar debian/patches/gnomecanvas-import-error.diff0000644000000000000000000000146411524071726016421 0ustar Description: Fix import error if gnomecanvas module is not found. Author: Jakub Wilk Bug-Debian: http://bugs.debian.org/612336 Forwarded: yes Last-Update: 2011-02-07 --- a/VUsbTools/Types.py +++ b/VUsbTools/Types.py @@ -17,7 +17,7 @@ try: import gnomecanvas -except gnomecanvas: +except ImportError: print "Warning: You don't have gnome-canvas (or its python bindings) installed." print " The happy timing diagram will be disabled." gnomecanvas = None --- a/VUsbTools/Views.py +++ b/VUsbTools/Views.py @@ -16,7 +16,7 @@ try: import gnomecanvas -except gnomecanvas: +except ImportError: print "Warning: You don't have gnome-canvas (or its python bindings) installed." print " The happy timing diagram will be disabled." gnomecanvas = None debian/patches/series0000644000000000000000000000007111524062414012027 0ustar gnomecanvas-import-error.diff c-locale.diff shebang.diff debian/patches/shebang.diff0000644000000000000000000000047011524071726013064 0ustar Description: Change shebang of the script to #!/usr/bin/python. Author: Jakub Wilk Forwarded: not-needed Last-Update: 2011-02-07 --- a/vusb-analyzer +++ b/vusb-analyzer @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # # Virtual USB Analyzer GUI # Micah Dowty debian/patches/c-locale.diff0000644000000000000000000000107511524071715013134 0ustar Description: Set LC_TIME locale to C, so that timestamps can be parsed correctly. Author: Jakub Wilk Bug-Debian: http://bugs.debian.org/612334 Forwarded: yes Last-Update: 2011-02-07 --- a/vusb-analyzer +++ b/vusb-analyzer @@ -9,7 +9,12 @@ VERSION = "1.1" -import sys, os, gtk +import sys, os, gtk, locale + +# gtk "helpfully" calls setlocale(LC_ALL, ""), which breaks timestamp +# parsing. Let's (partially) undo that. +locale.setlocale(locale.LC_TIME, 'C') + from VUsbTools import Views, Log, Diff, Decode def main(filename, tailMode=False): debian/copyright0000644000000000000000000000427611512416202011124 0ustar Files: * Copyright: (C) 2005-2009 VMware, Inc. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: (C) 2009-2011 Daniel Baumann License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/watch0000644000000000000000000000010711524056751010223 0ustar version=3 http://sf.net/vusb-analyzer/vusb-analyzer-([0-9.]+)\.tar\.gz debian/manpages/0000755000000000000000000000000011512416235010761 5ustar debian/manpages/vusb-analyzer.10000644000000000000000000000471411364566775013677 0ustar .TH VUSB\-ANALYZER 1 "2009\-05\-17" "1.0" "Virtual USB Analyzer" .SH NAME vusb\-analyzer \- tool for visualizing logs of USB packets .SH SYNOPSIS \fBvusb\-analyzer\fR [\fIOPTIONS\fR] \fILOGFILE\fR [\fILOGFILE...\fR] .SH DESCRIPTION The Virtual USB Analyzer is tool for visualizing logs of USB packets, from hardware or software USB sniffer tools. It's the world's first tool to provide a graphical visualization along with raw hex dumps and high\-level protocol analysis. .PP The Virtual USB Analyzer is not itself a USB sniffer tool. It is just a user interface for visualizing logs. It currently supports two log formats, but it's designed to be easily extensible. With a couple hundred lines of Python code, you can add support for your favorite log format. .PP The Virtual USB Analyzer was developed at VMware as an efficient way to debug their own USB virtualization stack. They wanted a tool that made it easy to see problems at a glance, and they wanted a way to solve both correctness and performance bugs. As a result, they ended up with what they think is a fairly unique tool. They're excited to have the opportunity to release this tool as open source software. .PP \fBSupported Log Formats\fR .PP * Logged USB traffic from debug builds of VMware Fusion, Workstation, or Player. See the tutorial for information on capturing such a log. .PP * XML logs from the Ellisys USB Explorer 200, a hardware USB 2.0 analyzer. .PP \fBFeatures\fR .PP * Unique graphical timeline view. .PP * Side\-by\-side diff mode: visually compare two log files. .PP * Pluggable log format modules: VMware, Ellisys. .PP * Pluggable protocol decoders: USB Chapter 9, Bluetooth, Storage, Cypress FX2. .PP * Packet metrics and filtering tools. .PP * Whole\-bus analysis: analyze multiple devices concurrently. .PP * Written in Python, with a GTK+ user interface. .PP * Automatic "tail \-f" mode: follow log files as they grow. .PP * Loads large log files in the background. You can start browsing before the whole file is loaded into memory. .PP * Automatic decompression of gzipped log files. .SH OPTIONS .IP "\-t" 4 Tail mode, start from the end of a growing log file. .SH HOMEPAGE More information about vusb\-analyzer, including a tutorial and sample logs, can be found at <\fIhttp://vusb\-analyzer.sourceforge.net/\fR>. .SH AUTHOR vusb\-analyzer Micah Dowty <\fImicah@vmware.com\fR>. .PP This manual page was written by Daniel Baumann <\fIdaniel@debian.org\fR>, for the Debian project (but may be used by others). debian/vusb-analyzer.menu0000644000000000000000000000056111512416305012656 0ustar ?package(vusb-analyzer):needs="X11" section="Applications/System/Monitoring"\ title="vusb-analyzer" longtitle="tool for visualizing logs of USB packets"\ description="The Virtual USB Analyzer is a tool for visualizing logs of USB packets, from hardware or software USB sniffer tools."\ command="/usr/bin/vusb-analyzer" icon="/usr/share/pixmaps/vusb-analyzer.xpm" debian/changelog0000644000000000000000000000315411524071741011045 0ustar vusb-analyzer (1.1-3) unstable; urgency=low * QA upload. * Add a patch to fix import error if python-gnome2 is not installed (closes: #612336). * Add a patch to fix timestamp parsing in non-C locales (closes: #612334). Thanks to Patryk Ściborek for the bug report. * Move python-psyco from Depends to Recommends (closes: #612335). Thanks to Patryk Ściborek for the bug report. * Drop libgnomecanvas2-0 from Recommends. * Add python-support to Build-Depends; add ${python:Depends} to Depends. * Add watch file. * Make /usr/bin/vusb-analyzer a symlink to the actual script. Make its shebeng #!/usr/bin/python. -- Jakub Wilk Mon, 07 Feb 2011 23:36:16 +0100 vusb-analyzer (1.1-2) unstable; urgency=low * Adding explicit debian source version 1.0 until switch to 3.0. * Updating year in copyright file. * Updating to standards 3.8.4. * Updating standards version to 3.9.0. * Switching to source format 3.0 (quilt). * Updating to debhelper version 8. * Updating to standards version 3.9.1. * Updating year in copyright file. * Orphaning package. -- Daniel Baumann Sun, 09 Jan 2011 21:40:51 +0100 vusb-analyzer (1.1-1) unstable; urgency=low * Adding maintainer homepage field in control. * Adding README.source. * Merging upstream version 1.1. * Moving maintainer homepage from control to copyright. * Updating README.source. -- Daniel Baumann Sat, 05 Dec 2009 16:48:36 +0100 vusb-analyzer (1.0-1) unstable; urgency=low * Initial release. -- Daniel Baumann Tue, 25 Aug 2009 11:50:34 +0200 debian/pixmaps/0000755000000000000000000000000011512416306010646 5ustar debian/pixmaps/vusb-analyzer.xpm0000644000000000000000000001255511512416306014206 0ustar /* XPM */ static char * vusb_analyzer_xpm[] = { "32 32 203 2", " c None", ". c #DDDDDD", "+ c #DCDCDC", "@ c #DEDEDE", "# c #E0E0E0", "$ c #E2E2E2", "% c #E4E4E4", "& c #B2B2B2", "* c #606060", "= c #CFCFCF", "- c #DADADA", "; c #ABABAB", "> c #6F6F6F", ", c #090909", "' c #000000", ") c #535353", "! c #444444", "~ c #5B5B5B", "{ c #B3B3B3", "] c #B4B4B4", "^ c #2B2B2B", "/ c #7B7B7B", "( c #E1E1E1", "_ c #AAAAAA", ": c #717171", "< c #BBBBBB", "[ c #6B6B6B", "} c #EBEBEB", "| c #E6E6E6", "1 c #C1C1C1", "2 c #DFDFDF", "3 c #848484", "4 c #0A0A0A", "5 c #D0D0D0", "6 c #2F2F2F", "7 c #737373", "8 c #ECECEC", "9 c #EDEDED", "0 c #525252", "a c #C9C9C9", "b c #303030", "c c #0D0D0D", "d c #161616", "e c #202020", "f c #181818", "g c #080808", "h c #030303", "i c #141414", "j c #121212", "k c #0F0F0F", "l c #ADADAD", "m c #929292", "n c #C3C3C3", "o c #D7D7D7", "p c #D6D6D6", "q c #CDCDCD", "r c #A1A1A1", "s c #131313", "t c #BFBFBF", "u c #D9D9D9", "v c #D8D8D8", "w c #949494", "x c #CACACA", "y c #E3E3E3", "z c #B5B5B5", "A c #6C6C6C", "B c #C6C6C6", "C c #A9A9A9", "D c #AEAEAE", "E c #9D9D9D", "F c #D5D5D5", "G c #A8A8A8", "H c #8C8C8C", "I c #9A9A9A", "J c #070707", "K c #C0C0C0", "L c #B6B6B6", "M c #565656", "N c #575757", "O c #111111", "P c #8A8A8A", "Q c #D2D2D2", "R c #E9E9E9", "S c #E5E5E6", "T c #E5E5E5", "U c #E6E6E7", "V c #E4E4E6", "W c #44442C", "X c #42422A", "Y c #47472E", "Z c #1D1D1B", "` c #383812", " . c #4E4E1F", ".. c #535322", "+. c #1D1D1A", "@. c #E9E9A4", "#. c #E5E5A1", "$. c #F2F2AA", "%. c #33332D", "&. c #CDCDCE", "*. c #B1B1AE", "=. c #D5D568", "-. c #FFFF82", ";. c #FFFF89", ">. c #36362A", ",. c #E8E8E8", "'. c #484830", "). c #47472F", "!. c #4C4C32", "~. c #1A1A18", "{. c #CECECE", "]. c #AAAAA9", "^. c #3C3C15", "/. c #525223", "(. c #585826", "_. c #DBDBDB", ":. c #B3B3B4", "<. c #B3B3B5", "[. c #BABABA", "}. c #D8D8D9", "|. c #BABABB", "1. c #AFAFB1", "2. c #DCDCDD", "3. c #BDBDBE", "4. c #B4B4B6", "5. c #B2B2B5", "6. c #E7E7E7", "7. c #242422", "8. c #444437", "9. c #434337", "0. c #3B3B31", "a. c #A6A6A6", "b. c #4E4E4E", "c. c #41413B", "d. c #40403A", "e. c #40403B", "f. c #252523", "g. c #454538", "h. c #49494A", "i. c #FFFF87", "j. c #DEDE6D", "k. c #7E7E7B", "l. c #FBFBB0", "m. c #EDEDA7", "n. c #B0B0B1", "o. c #FFFF8F", "p. c #37372B", "q. c #FFFF80", "r. c #D2D267", "s. c #7D7D7B", "t. c #E1E19E", "u. c #E5E5E7", "v. c #393912", "w. c #D6D669", "x. c #ACAC52", "y. c #7B7B7A", "z. c #383834", "A. c #C3C388", "B. c #B9B981", "C. c #BCBC83", "D. c #353521", "E. c #B1B1B2", "F. c #2E2E24", "G. c #8D8D8D", "H. c #7C7C7A", "I. c #A3A3A3", "J. c #7D7D7C", "K. c #777777", "L. c #BDBDBD", "M. c #8E8E8D", "N. c #848485", "O. c #AFAFAE", "P. c #AFAFAD", "Q. c #B0B0AF", "R. c #A9A9A8", "S. c #B0B0AD", "T. c #B0B0AE", "U. c #A9A9AA", "V. c #AEAEB0", "W. c #B3B3B2", "X. c #2F2F1B", "Y. c #BBBB82", "Z. c #B7B77F", "`. c #33331F", " + c #B9B9BA", ".+ c #D1D166", "++ c #E7E7E6", "@+ c #171733", "#+ c #7E7ED2", "$+ c #27272E", "%+ c #D1D1D0", "&+ c #E6E6E5", "*+ c #252548", "=+ c #9C9CFF", "-+ c #2B2B34", ";+ c #CECECD", ">+ c #E6E6E4", ",+ c #28284D", "'+ c #A4A4FF", ")+ c #2C2C36", "!+ c #B7B7B7", "~+ c #1A1A1D", "{+ c #373737", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . + @ # . + . . . . . . . . . . . ", ". . . . . . . . . . . . . . . $ % & * = + . . . . . . . . . . . ", ". . . . . . . . . . . . . - ; > > , ' ) % . . . . . . . . . . . ", ". . . . . . . $ + + . + @ ! ~ { ] ^ ' / ( . . . . . . . . . . . ", ". . . . . - _ : < + @ + [ ~ } + + | 1 ( + . . . + 2 . + . . . . ", ". . . . 2 3 ' ' 4 5 { 6 7 8 8 8 8 8 9 8 8 8 8 8 = 0 a ( + . . . ", ". . . . # b ' ' ' c d e f g ' h i j j j j j j j k ' c l @ . . . ", ". . . . 2 m ' ' , n o o p q r s t u o o v v v o n w x . + . . . ", ". . . . + y z A B 2 . . . + # C j 1 # $ D E r F @ 2 + . . . . . ", ". . . . . + @ # . + . . . . + ( G d H I e ' J K . . . . . . . . ", ". . . . . . . . . . . . . . . + # L M N O ' J K . . . . . . . . ", ". . . . . . . . . . . . . . . . + @ # % E 3 P Q . . . . . . . . ", ". + . . . . . . . . . . . . . . . . . + 2 # # . . . . . . . . . ", "+ + R S S T T + 2 U V V V V V V V V T + 2 U V V V V V V V V T + ", ". R ' W X Y Z p _ ` . . . . . . ...+.p _ ` . . . . . . ...+.p ", ". S W @.#.$.%.&.*.=.-.-.-.-.-.-.-.;.>.&.*.=.-.-.-.-.-.-.-.;.>.&.", ". S W @.#.$.%.&.*.=.-.-.-.-.-.-.-.;.>.&.*.=.-.-.-.-.-.-.-.;.>.&.", ". ,.' '.).!.~.{.].^./././././././.(.~.{.].^./././././././.(.~.{.", ". _.5 :.<.:.[.}.. |.1.<.<.<.<.<.<.<.[.}.2.3.1.1.4.<.<.<.<.5.[.F ", ". 6.7.8.9.9.9.9.0.a.# b.c.d.d.d.d.d.d.d.e.f.p 6.7.8.9.9.9.g.h.- ", ". V ..;.i.i.i.i.j.k.2 c.l.m.m.m.m.m.m.m.$.!.n.V ..;.i.i.i.o.p.&.", ". V .-.q.q.q.q.r.s.2 d.m.t.t.t.t.t.t.t.#.).n.V .-.q.q.q.i.>.&.", ". u.v.w.r.r.r.r.x.y.2 z.A.B.B.B.B.B.B.B.C.D.E.u.v.w.r.r.r.j.F.&.", ". @ G.k.k.k.k.k.H.I.. a.J.J.J.J.J.J.J.J.J.K.L.2 M.k.k.s.k.k.N.Q ", ". 2 _ O.O.O.O.O.O.P.Q.R.v @ ].S.P.P.P.P.P.P.P.T.S.G v @ U.V.W._.", ". U X.Y.Z.Z.Z.Z.Z.Z.Y.`. +U ` =..+.+.+.+.+.+.+.+=.^. +++@+#+$+%+", ". S X #.t.t.t.t.t.t.#.).n.V .-.q.q.q.q.q.q.q.q.-./.n.&+*+=+-+;+", ". T Y $.m.m.m.m.m.m.$.!.n.V ..;.i.i.i.i.i.i.i.i.;.(.n.>+,+'+)+;+", ". T Z %.%.%.%.%.%.%.%.~.!+T +.>.>.>.>.>.>.>.>.>.>.~.!+T ~+)+{+5 ", ". + p &.&.&.&.&.&.&.&.{.F + p &.&.&.&.&.&.&.&.&.&.{.F + p ;+5 - "}; debian/source/0000755000000000000000000000000011512416500010461 5ustar debian/source/format0000644000000000000000000000001411512034541011670 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000003711512416516013630 0ustar debian/icons/vusb-analyzer.png debian/source/options0000644000000000000000000000005111512034541012074 0ustar compression = gzip compression-level = 9 debian/vusb-analyzer.manpages0000644000000000000000000000002211306500120013463 0ustar debian/manpages/* debian/rules0000755000000000000000000000004011512416307010240 0ustar #!/usr/bin/make -f %: dh ${@}