File: README

package info (click to toggle)
libnxt 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: ansic: 1,410; sh: 67; python: 27; xml: 21; asm: 8; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 664 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.