05 Jan, 2012
1 commit
-
The documentation for usbmon is out of date; the usbfs "devices" file
now exists in /sys/kernel/debug/usb rather than /proc/bus/usb. This
patch (as1505) updates the documentation accordingly, and also
mentions that the necessary information can be found by running lsusb.Signed-off-by: Alan Stern
CC: Pete Zaitcev
Cc: stable
Signed-off-by: Greg Kroah-Hartman
05 Feb, 2011
1 commit
-
This is based on a patch that Alan Stern wrote. It did the same simple
thing in both text and binary cases. In the same time, Marton and I
fixed the binary side properly, but this leaves the text to be fixed.
It is not very important due to low maxium data size of text, but
let's add it just for extra correctness.The pseudocode is too much to keep fixed up, and we have real code
to be used as examples now, so let's drop it too.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
23 Sep, 2009
2 commits
-
Hi there.
On Aug 21 2009, Alan Stern wrote:
> On Thu, 20 Aug 2009, Rogério Brito wrote:
> > Again, just reiterating, what I said before, even though I am not sure
> > if I can reproduce it, I will try to.
>
> A usbmon trace showing what happens when you plug in the drive and
> when you run smartctl would help.The documentation for usbmon in the kernel 2.6.31-rc7 kernel doesn't
match what the kernel exposes in the debug fs tree. This patch fixes it.Signed-off-by: Rogério Brito
Signed-off-by: Greg Kroah-Hartman -
I think this sentence was confusing regarding the possible size
of the data area.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
25 Mar, 2009
1 commit
-
This patch adds an extension to the binary API so it reaches parity with
existing text API (so-called "1u"). The extension delivers additional data,
such as ISO descriptors and the interrupt interval.Signed-Off-By: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
18 Dec, 2008
1 commit
-
The example is incorrect: there is no 0t socket (the '1t' format has no
bus number in it). Also, correct the broken sentence for USB Tag.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
13 Oct, 2007
1 commit
-
Update usbmon documentation, mentioning the "zero" (wildcard) bus.
Possibly, in my first hunk, the 'either ... or ...' should be rephrased a bit to
be expressed better.Signed-off-by: Paolo 'Blaisorblade' Giarrusso
Cc: Pete Zaitcev
Cc: Alan Stern
Signed-off-by: Greg Kroah-Hartman
28 Apr, 2007
1 commit
-
This patch adds a new text API, codenamed '1u', which captures more URB
fields than old '1t' interface did. Also the '1u' text API is compatible
with the future "bus zero" extension.Signed-off-by: Pete Zaitcev
Acked-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman
08 Feb, 2007
1 commit
-
This patch adds a new, "binary" API in addition to the old, text API usbmon
had before. The new API allows for less CPU use, and it allows to capture
all data from a packet where old API only captured 32 bytes at most. There
are some limitations and conditions to this, e.g. in case someone constructs
a URB with 1GB of data, it's not likely to be captured, because even the
huge buffers of the new reader are finite. Nonetheless, I expect this new
capability to capture all data for all real life scenarios.The downside is, a special user mode application is required where cat(1)
worked before. I have sample code at http://people.redhat.com/zaitcev/linux/
and Paolo Abeni is working on patching libpcap.This patch was initially written by Paolo and later I tweaked it, and
we had a little back-and-forth. So this is a jointly authored patch, but
I am submitting this I am responsible for the bugs.Signed-off-by: Paolo Abeni
Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
22 Jun, 2006
1 commit
-
Fix up the documentation. Apparently, I left unedited copy-paste results
in examples. Also, Alan helped me to improve the most confusing parts.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
05 Aug, 2005
1 commit
-
The patch which went in was correct, but not quite what I had in mind.
Here is a patch to update that a little bit. Original patch is at:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4749f32da939d4e4160541b2cadc22492bb507ecSigned-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Linus Torvalds
13 Jul, 2005
1 commit
-
Make usbmon to print Setup packets of Control transfers. This is useful
when debugging enumeration issues.This is a change to the trace format which is not fully compatible.
A parser has to look at the data length word now. If that word is
a character like 's', read setup packet before proceeding with data.
I decided not to bump the API tag for this because not many such
parsers exist at this point.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!