You can capture USB traffic for single USB devices or on the root hub level, which captures the traffic of all
USB devices attached to the root hub.
VBoxManage controlvmVM-name usbattachdevice uuid |address --capturefilefilename
In order to enable capturing on the root hub use the following command while the VM is not running:
VBoxManage setextradataVM-name \ VBoxInternal/Devices/usb-ehci/0/LUN#0/Config/CaptureFilenamefilename
The command above enables capturing on the root hub attached to the EHCI controller. To enable it for the OHCI or
XHCI controller replace