Last change
on this file since 105145 was 99797, checked in by vboxsync, 21 months ago |
Docs: bugref:10302. Merging changes from the docs team. Almost exclusively conkeyref related stuff.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
1.5 KB
|
Line | |
---|
1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="usbtrafficcapturing">
|
---|
4 | <title>Capturing USB Traffic for Selected Devices</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>
|
---|
8 | You can capture USB traffic for single USB devices or on the root
|
---|
9 | hub level, which captures the traffic of all USB devices attached
|
---|
10 | to the root hub. <ph conkeyref="vbox-conkeyref-phrases/product-name"/> stores the traffic in a format
|
---|
11 | which is compatible with Wireshark. To capture the traffic of a
|
---|
12 | specific USB device it must be attached to the VM with
|
---|
13 | <userinput>VBoxManage</userinput> using the following command:
|
---|
14 | </p>
|
---|
15 | <pre xml:space="preserve">VBoxManage controlvm <varname>VM-name</varname> usbattach <varname>device uuid</varname>|<varname>address</varname> --capturefile <varname>filename</varname>
|
---|
16 | </pre>
|
---|
17 | <p>
|
---|
18 | In order to enable capturing on the root hub use the following
|
---|
19 | command while the VM is not running:
|
---|
20 | </p>
|
---|
21 | <pre xml:space="preserve">VBoxManage setextradata <varname>VM-name</varname> \
|
---|
22 | VBoxInternal/Devices/usb-ehci/0/LUN#0/Config/CaptureFilename <varname>filename</varname>
|
---|
23 | </pre>
|
---|
24 | <p>
|
---|
25 | The command above enables capturing on the root hub attached to
|
---|
26 | the EHCI controller. To enable it for the OHCI or XHCI controller
|
---|
27 | replace <codeph>usb-ehci</codeph> with
|
---|
28 | <codeph>usb-ohci</codeph> or <codeph>usb-xhci</codeph>,
|
---|
29 | respectively.
|
---|
30 | </p>
|
---|
31 | </body>
|
---|
32 |
|
---|
33 | </topic>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.