]> sigrok.org Git - sigrok-test.git/blame - decoder/test/usb_signalling/test.conf
usb_{signalling,packet,request}: Add another test-case.
[sigrok-test.git] / decoder / test / usb_signalling / test.conf
CommitLineData
38e31b6a
UH
1test logitech_rx250_leftclick
2 protocol-decoder usb_signalling channel dp=0 channel dm=1 option signalling=low-speed
3 input usb/hid/mouse/logitech_rx250/logitech_rx250_leftclick.sr
4 output usb_signalling annotation match logitech_rx250_leftclick.output
7974d8f4 5 output usb_signalling python match logitech_rx250_leftclick.python
38e31b6a 6
67760d23
UH
7# Same output as above.
8test logitech_rx250_leftclick_automatic
9 protocol-decoder usb_signalling channel dp=0 channel dm=1 option signalling=automatic
10 input usb/hid/mouse/logitech_rx250/logitech_rx250_leftclick.sr
11 output usb_signalling annotation match logitech_rx250_leftclick.output
7974d8f4 12 output usb_signalling python match logitech_rx250_leftclick.python
67760d23 13
4a070063
UH
14test olimex_stm32-h103_usb_hid
15 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed
16 input usb/hid/mouse/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr
17 output usb_signalling annotation match olimex_stm32-h103_usb_hid.output
7974d8f4 18 output usb_signalling python match olimex_stm32-h103_usb_hid.python
4a070063 19
67760d23
UH
20# Same output as above.
21test olimex_stm32-h103_usb_hid_automatic
22 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
23 input usb/hid/mouse/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr
24 output usb_signalling annotation match olimex_stm32-h103_usb_hid.output
7974d8f4 25 output usb_signalling python match olimex_stm32-h103_usb_hid.python
67760d23 26
aa752266
UH
27test mk220_snippet
28 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed
29 input usb/hid/keyboard_mouse_combo/logitech_mk220/mk220_snippet.sr
30 output usb_signalling annotation match mk220_snippet.output
7974d8f4 31 output usb_signalling python match mk220_snippet.python
aa752266 32
67760d23
UH
33# NOT the same output as above!
34test mk220_snippet_automatic
35 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
36 input usb/hid/keyboard_mouse_combo/logitech_mk220/mk220_snippet.sr
37 output usb_signalling annotation match mk220_snippet_automatic.output
7974d8f4 38 output usb_signalling python match mk220_snippet_automatic.python
67760d23 39
aa752266
UH
40test rt-mwk01_snippet
41 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=low-speed
42 input usb/hid/keyboard_mouse_combo/riitek_rt-mwk01/rt-mwk01_snippet.sr
43 output usb_signalling annotation match rt-mwk01_snippet.output
7974d8f4 44 output usb_signalling python match rt-mwk01_snippet.python
aa752266 45
67760d23
UH
46# Same output as above.
47test rt-mwk01_snippet_automatic
48 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
49 input usb/hid/keyboard_mouse_combo/riitek_rt-mwk01/rt-mwk01_snippet.sr
50 output usb_signalling annotation match rt-mwk01_snippet.output
7974d8f4 51 output usb_signalling python match rt-mwk01_snippet.python
67760d23
UH
52
53test usb_reset_and_setup_lowspeed
54 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=low-speed
55 input usb/setup/usb_reset_and_setup_lowspeed.sr
56 output usb_signalling annotation match usb_reset_and_setup_lowspeed.output
7974d8f4 57 output usb_signalling python match usb_reset_and_setup_lowspeed.python
67760d23
UH
58
59# Same output as above.
60test usb_reset_and_setup_lowspeed_automatic
61 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
62 input usb/setup/usb_reset_and_setup_lowspeed.sr
63 output usb_signalling annotation match usb_reset_and_setup_lowspeed.output
7974d8f4 64 output usb_signalling python match usb_reset_and_setup_lowspeed.python
67760d23
UH
65
66test voltcraft_vc820_usb_ok
67 protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=full-speed
68 input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_ok.sr
69 output usb_signalling annotation match voltcraft_vc820_usb_ok.output
7974d8f4 70 output usb_signalling python match voltcraft_vc820_usb_ok.python
67760d23
UH
71
72# Same output as above.
73test voltcraft_vc820_usb_ok_automatic
74 protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=automatic
75 input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_ok.sr
76 output usb_signalling annotation match voltcraft_vc820_usb_ok.output
7974d8f4 77 output usb_signalling python match voltcraft_vc820_usb_ok.python
67760d23
UH
78
79test voltcraft_vc820_usb_err
80 protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=full-speed
81 input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_err.sr
82 output usb_signalling annotation match voltcraft_vc820_usb_err.output
7974d8f4 83 output usb_signalling python match voltcraft_vc820_usb_err.python
67760d23
UH
84
85# NOT the same output as above!
86test voltcraft_vc820_usb_err_automatic
87 protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=automatic
88 input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_err.sr
89 output usb_signalling annotation match voltcraft_vc820_usb_err_automatic.output
7974d8f4 90 output usb_signalling python match voltcraft_vc820_usb_err_automatic.python
67760d23 91
965de9f5
UH
92test usb_failed_setup_fullspeed
93 protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed
94 input usb/setup/usb_failed_setup_fullspeed.sr
95 output usb_signalling annotation match usb_failed_setup_fullspeed.output
96 output usb_signalling python match usb_failed_setup_fullspeed.python
97
dd37a782
UH
98test exception_samplerate
99 protocol-decoder usb_signalling
100 input misc/no-samplerate.sr
101 output usb_signalling exception match SamplerateError