This is a note to let you know that I've just added the patch titled
Subject: USB: usbmon doc update - mention new wildcard ('0') bus
to my gregkh-2.6 tree. Its filename is
usb-usbmon-doc-update-mention-new-wildcard-bus.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From linux-kernel-owner+greg=40kroah.com-S1758792AbXHXOgx@vger.kernel.org Fri Aug 24 07:41:55 2007
From: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Date: Fri, 24 Aug 2007 12:19:22 +0200
Subject: USB: usbmon doc update - mention new wildcard ('0') bus
To: Andrew Morton <[email protected]>
Cc: [email protected], Paolo 'Blaisorblade' Giarrusso <[email protected]>, USB development list <[email protected]>, Pete Zaitcev <[email protected]>, Alan Stern <[email protected]>
Message-ID: <[email protected]>
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 <[email protected]>
Cc: Pete Zaitcev <[email protected]>
Cc: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
Documentation/usb/usbmon.txt | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--- a/Documentation/usb/usbmon.txt
+++ b/Documentation/usb/usbmon.txt
@@ -34,9 +34,12 @@ if usbmon is built into the kernel.
Verify that bus sockets are present.
# ls /sys/kernel/debug/usbmon
-1s 1t 1u 2s 2t 2u 3s 3t 3u 4s 4t 4u
+0s 0t 0u 1s 1t 1u 2s 2t 2u 3s 3t 3u 4s 4t 4u
#
+Now you can choose to either use the sockets numbered '0' (to capture packets on
+all buses), and skip to step #3, or find the bus used by your device with step #2.
+
2. Find which bus connects to the desired device
Run "cat /proc/bus/usb/devices", and find the T-line which corresponds to
@@ -56,6 +59,10 @@ Bus=03 means it's bus 3.
# cat /sys/kernel/debug/usbmon/3u > /tmp/1.mon.out
+to listen on a single bus, otherwise, to listen on all buses, type:
+
+# cat /sys/kernel/debug/usbmon/0u > /tmp/1.mon.out
+
This process will be reading until killed. Naturally, the output can be
redirected to a desirable location. This is preferred, because it is going
to be quite long.
Patches currently in gregkh-2.6 which might be from [email protected] are
usb/usb-usbmon-doc-update-mention-new-wildcard-bus.patch
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[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.