diff options
author | Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> | 2014-07-12 16:56:47 +0300 |
---|---|---|
committer | Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> | 2014-07-12 16:56:47 +0300 |
commit | 10f8a6ba71e416605f8e0521198554ffbf72ad9a (patch) | |
tree | e205e4473daf9929f4e88efb5c4dcaaf9f5819d0 | |
parent | dc0e3cd39a003553474fe272e9779ad870b3e36c (diff) | |
download | usbhid-dump-10f8a6ba71e416605f8e0521198554ffbf72ad9a.tar.gz |
Fix output spacing in README.md
Fix spacing in README.md's example usbhid-dump output to match reality.
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -60,22 +60,31 @@ Here is an example of a report descriptor and stream dump from a mouse: 15 00 25 01 75 01 95 03 81 02 75 05 95 01 81 01 05 01 09 30 09 31 09 38 15 81 25 7F 75 08 95 03 81 06 C0 C0 + Starting dumping interrupt transfer stream with 1 minute timeout. + 002:003:000:STREAM 1290272185.210022 00 FF 00 00 + 002:003:000:STREAM 1290272185.217988 00 FE 00 00 + 002:003:000:STREAM 1290272185.225985 00 FC 01 00 + 002:003:000:STREAM 1290272185.233995 00 FE 01 00 + 002:003:000:STREAM 1290272185.241992 00 FF 01 00 + 002:003:000:STREAM 1290272185.249995 00 FE 02 00 + 002:003:000:STREAM 1290272185.257993 00 FF 01 00 + ^C In the output above "002" is the bus number, "003" is the device address and "000" is the interface number. "DESCRIPTOR" indicates descriptor chunk and "STREAM" - stream chunk. The number to the right is the timestamp in seconds since epoch. The hexadecimal numbers below is the chunk dump itself. Usually every stream chunk includes a whole report, but if the report is bigger than endpoint's wMaxPacketSize, it will span several chunks. |