[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/6] usb: document pcap (aka usb traffic capture)
From: |
Gerd Hoffmann |
Subject: |
[PULL 5/6] usb: document pcap (aka usb traffic capture) |
Date: |
Tue, 19 Jul 2022 17:22:17 +0200 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220711094437.3995927-3-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
docs/system/devices/usb.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index 18e7c8b4d716..f39a88f080ff 100644
--- a/docs/system/devices/usb.rst
+++ b/docs/system/devices/usb.rst
@@ -382,3 +382,15 @@ What works best pretty much depends on the behavior of the
specific
usb device at hand, so it's a trial-and-error game. If the default
doesn't work, try another option and see whenever the situation
improves.
+
+record usb transfers
+^^^^^^^^^^^^^^^^^^^^
+
+All usb devices have support for recording the usb traffic. This can
+be enabled using the ``pcap=<file>`` property, for example:
+
+``-device usb-mouse,pcap=mouse.pcap``
+
+The pcap files are compatible with the linux kernels usbmon. Many
+tools, including ``wireshark``, can decode and inspect these trace
+files.
--
2.36.1
- [PULL 0/6] Kraxel 20220719 patches, Gerd Hoffmann, 2022/07/19
- [PULL 1/6] dbus-display: fix test race when initializing p2p connection, Gerd Hoffmann, 2022/07/19
- [PULL 3/6] usb/hcd-xhci: check slotid in xhci_wakeup_endpoint(), Gerd Hoffmann, 2022/07/19
- [PULL 2/6] microvm: turn off io reservations for pcie root ports, Gerd Hoffmann, 2022/07/19
- [PULL 4/6] usb: document guest-reset and guest-reset-all, Gerd Hoffmann, 2022/07/19
- [PULL 5/6] usb: document pcap (aka usb traffic capture),
Gerd Hoffmann <=
- [PULL 6/6] gtk: Add show_tabs=on|off command line option., Gerd Hoffmann, 2022/07/19
- Re: [PULL 0/6] Kraxel 20220719 patches, Peter Maydell, 2022/07/19