Age | Commit message (Collapse) | Author | Files | Lines |
|
The XHCI HCD sends an OUT packet which was unexpected by the usbdump
code. That was the case because the core USB code that was normally
calling handle_control only called when the full data was received from
the host (from the Status stage, with PID == USB_TOKEN_IN).
Then there is also the do_parameter function as used by XHCI that was
not really handled. Fix this by allowing OUT tokens, also document
why this is necessary.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
And I was wondering why the interrupt packets in dev-hid.c had a
reversed type marking...
|
|
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
This allows for less less checking by the consumer and avoids
unnecessary work if the capture cannot be written anyway.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
USB packets are captured in the pcap format using the Linux usbmon
link-layer type. Right now, this only works with handle_ctrl. Data
packets (isochronous, bulk and interrupt) are not (fully)
implemented yet.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|