History log of /freebsd-10.1-release/usr.sbin/usbdump/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


267045 04-Jun-2014 hselasky

MFC r266798 and r266803:
Fix for big-endian architectures.


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


238279 09-Jul-2012 hrs

Make usbusN logging pseudo-interface used by usbdump(8) clonable. One is
now created/destroyed automatically by usbdump(8).

Note that "hw.usb.no_pf" loader tunable is now obsolete.

Reviewed by: hselasky


234655 24-Apr-2012 hselasky

Add missing and probably also mandatory -h option.

MFC after: 1 week


234636 24-Apr-2012 hselasky

Improve support for USB packet filtering also when reading dumps, and
allow filtered data to be dumped to a binary file.

MFC after: 1 week


233039 16-Mar-2012 hselasky

Create new file header format to simplify the endian and cross platform issues.
This patch does not break binary compatibility with previous versions.

MFC after: 1 week


233037 16-Mar-2012 hselasky

Fix cross-platform issue about the file-format in which
usbdump stores data. Until this patch it was not possible
to exchange traces between 32-bit, 64-bit, big- and
little endian platforms. The problem is the dynamic nature
of the BPF timestamp in the header. All other fields are
fixed size and little endian.

MFC after: 5 days


231835 16-Feb-2012 hselasky

Add support for filtering USB devices and USB endpoints to the usbdump utility
when making software USB traces.

MFC after: 1 week


226474 17-Oct-2011 hselasky

Make the usbdump utility work again by using the correct BPF structures.

MFC after: 3 days


222519 31-May-2011 bcr

Minor wording adjustments to usbdump(8).

PR: docs/157317
Submitted by: Warren Block (wblock at wonkity dot com)
Reviewed by: hps@
MFC after: 5 days


222286 25-May-2011 ru

[mdoc] Fixed .Dt call.


221604 07-May-2011 hselasky

Minor usbdump update:
- Use memcpy() instead of bcopy().
- Replace all asserts() by standard error messages.
- Update usage().

MFC after: 7 days


220316 04-Apr-2011 thompsa

Lower WARNS to unbreak the build, some archs may have alignment issues.


220314 04-Apr-2011 thompsa

fix printing of tv_usec


220301 03-Apr-2011 hselasky

- Improvements to USB PF solution
- Add more fields for USB device and host mode
- Add more information to USB PF header so that decoding
can easily be done by software analyzer tools like
Wireshark.
- Optimise usbdump to display USB streams in text format
more efficiently.
- Software using USB PF must be recompiled after
this commit, due to structure changes.

MFC after: 7 days
Approved by: thompsa (mentor)


218010 28-Jan-2011 hselasky

- Remove double semicolon.
- Remove reference to sprintf. Use printf directly. This part of
the code should be optimised further to avoid many small printouts.
Setting a sensible line buffer length could help aswell when printing
out megabytes of data per second.

Approved by: thompsa (mentor)


217358 13-Jan-2011 weongyo

Documents OUTPUT formats. While I'm here cleans up styles and words.

Reviewed by: brueffer@


216138 03-Dec-2010 weongyo

Changes the meaning of each characters '<' and '>' that it could be
confused with USB OUT or USB IN packets though it just represents USB
submit or done. To know the USB packet direction, the endpoint address
should be referred.

Requested by: jkim


215803 24-Nov-2010 weongyo

As a refection of r215802 it should use BPF interfaces because the
duplication code of USB pf is removed.


215651 22-Nov-2010 weongyo

Adds usbdump(8) tool that currently it only supports the very basic
feature set. It's not connected to the build yet.

Reviewed by: hps