Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165028
b: refs/heads/master
c: f0cc82a
h: refs/heads/master
v: v3
  • Loading branch information
Rogério Brito authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent c523d48 commit 934d80a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d77282c836d6c2601da6a188812b20cff8e9bbe2
refs/heads/master: f0cc82a831d4d839eb6b67c7c046ebd2d1d7c4c2
6 changes: 3 additions & 3 deletions trunk/Documentation/usb/usbmon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if usbmon is built into the kernel.

Verify that bus sockets are present.

# ls /sys/kernel/debug/usbmon
# ls /sys/kernel/debug/usb/usbmon
0s 0u 1s 1t 1u 2s 2t 2u 3s 3t 3u 4s 4t 4u
#

Expand All @@ -58,11 +58,11 @@ Bus=03 means it's bus 3.

3. Start 'cat'

# cat /sys/kernel/debug/usbmon/3u > /tmp/1.mon.out
# cat /sys/kernel/debug/usb/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
# cat /sys/kernel/debug/usb/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
Expand Down

0 comments on commit 934d80a

Please sign in to comment.