How to record session to replay with umockdev
---------------------------------------------

First run lsusb and locate the NXT brick:

    % lsusb
    ...
    Bus 001 Device 117: ID 0694:0002 Lego Group Mindstorms NXT

Use the bus and device number to record sysfs data:

    % umockdev-record /dev/bus/usb/001/117 > debian/tests/nxt.umockdev

Then, if using more than enumeration, using wireshark, capture the usbmon
interface corresponding to the bus and run the test:

    % fwexec zero.bin

In wireshark, filter the display to only include packets corresponding to the
NXT device using the device number, then export the displayed packets to
nxt.pcapng file.
