usb_{signalling,packet,request}: Add another test-case.
[sigrok-test.git] / decoder / test / usb_packet / test.conf
1 test logitech_rx250_leftclick
2         protocol-decoder usb_signalling channel dp=0 channel dm=1 option signalling=low-speed
3         protocol-decoder usb_packet option signalling=low-speed
4         stack usb_signalling usb_packet
5         input usb/hid/mouse/logitech_rx250/logitech_rx250_leftclick.sr
6         output usb_packet annotation match logitech_rx250_leftclick.output
7         output usb_packet python match logitech_rx250_leftclick.python
8
9 # Same output as above.
10 test logitech_rx250_leftclick_automatic
11         protocol-decoder usb_signalling channel dp=0 channel dm=1 option signalling=automatic
12         protocol-decoder usb_packet option signalling=low-speed
13         stack usb_signalling usb_packet
14         input usb/hid/mouse/logitech_rx250/logitech_rx250_leftclick.sr
15         output usb_packet annotation match logitech_rx250_leftclick.output
16         output usb_packet python match logitech_rx250_leftclick.python
17
18 test olimex_stm32-h103_usb_hid
19         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed
20         protocol-decoder usb_packet option signalling=full-speed
21         stack usb_signalling usb_packet
22         input usb/hid/mouse/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr
23         output usb_packet annotation match olimex_stm32-h103_usb_hid.output
24         output usb_packet python match olimex_stm32-h103_usb_hid.python
25
26 # Same output as above.
27 test olimex_stm32-h103_usb_hid_automatic
28         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
29         protocol-decoder usb_packet option signalling=full-speed
30         stack usb_signalling usb_packet
31         input usb/hid/mouse/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr
32         output usb_packet annotation match olimex_stm32-h103_usb_hid.output
33         output usb_packet python match olimex_stm32-h103_usb_hid.python
34
35 test mk220_snippet
36         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed
37         protocol-decoder usb_packet option signalling=full-speed
38         stack usb_signalling usb_packet
39         input usb/hid/keyboard_mouse_combo/logitech_mk220/mk220_snippet.sr
40         output usb_packet annotation match mk220_snippet.output
41         output usb_packet python match mk220_snippet.python
42
43 # NOT the same output as above!
44 test mk220_snippet_automatic
45         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
46         protocol-decoder usb_packet option signalling=full-speed
47         stack usb_signalling usb_packet
48         input usb/hid/keyboard_mouse_combo/logitech_mk220/mk220_snippet.sr
49         output usb_packet annotation match mk220_snippet_automatic.output
50         output usb_packet python match mk220_snippet_automatic.python
51
52 test rt-mwk01_snippet
53         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=low-speed
54         protocol-decoder usb_packet option signalling=low-speed
55         stack usb_signalling usb_packet
56         input usb/hid/keyboard_mouse_combo/riitek_rt-mwk01/rt-mwk01_snippet.sr
57         output usb_packet annotation match rt-mwk01_snippet.output
58         output usb_packet python match rt-mwk01_snippet.python
59
60 # Same output as above.
61 test rt-mwk01_snippet_automatic
62         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
63         protocol-decoder usb_packet option signalling=low-speed
64         stack usb_signalling usb_packet
65         input usb/hid/keyboard_mouse_combo/riitek_rt-mwk01/rt-mwk01_snippet.sr
66         output usb_packet annotation match rt-mwk01_snippet.output
67         output usb_packet python match rt-mwk01_snippet.python
68
69 test usb_reset_and_setup_lowspeed
70         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=low-speed
71         protocol-decoder usb_packet option signalling=low-speed
72         stack usb_signalling usb_packet
73         input usb/setup/usb_reset_and_setup_lowspeed.sr
74         output usb_packet annotation match usb_reset_and_setup_lowspeed.output
75         output usb_packet python match usb_reset_and_setup_lowspeed.python
76
77 # Same output as above.
78 test usb_reset_and_setup_lowspeed_automatic
79         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=automatic
80         protocol-decoder usb_packet option signalling=low-speed
81         stack usb_signalling usb_packet
82         input usb/setup/usb_reset_and_setup_lowspeed.sr
83         output usb_packet annotation match usb_reset_and_setup_lowspeed.output
84         output usb_packet python match usb_reset_and_setup_lowspeed.python
85
86 test voltcraft_vc820_usb_ok
87         protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=full-speed
88         protocol-decoder usb_packet option signalling=full-speed
89         stack usb_signalling usb_packet
90         input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_ok.sr
91         output usb_packet annotation match voltcraft_vc820_usb_ok.output
92         output usb_packet python match voltcraft_vc820_usb_ok.python
93
94 # Same output as above.
95 test voltcraft_vc820_usb_ok_automatic
96         protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=automatic
97         protocol-decoder usb_packet option signalling=full-speed
98         stack usb_signalling usb_packet
99         input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_ok.sr
100         output usb_packet annotation match voltcraft_vc820_usb_ok.output
101         output usb_packet python match voltcraft_vc820_usb_ok.python
102
103 test voltcraft_vc820_usb_err
104         protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=full-speed
105         protocol-decoder usb_packet option signalling=full-speed
106         stack usb_signalling usb_packet
107         input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_err.sr
108         output usb_packet annotation match voltcraft_vc820_usb_err.output
109         output usb_packet python match voltcraft_vc820_usb_err.python
110
111 # NOT the same output as above!
112 test voltcraft_vc820_usb_err_automatic
113         protocol-decoder usb_signalling channel dp=7 channel dm=6 option signalling=automatic
114         protocol-decoder usb_packet option signalling=full-speed
115         stack usb_signalling usb_packet
116         input usb/hid/dmm/voltcraft_vc820/voltcraft_vc820_usb_err.sr
117         output usb_packet annotation match voltcraft_vc820_usb_err_automatic.output
118         output usb_packet python match voltcraft_vc820_usb_err_automatic.python
119
120 test usb_failed_setup_fullspeed
121         protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed
122         protocol-decoder usb_packet option signalling=full-speed
123         stack usb_signalling usb_packet
124         input usb/setup/usb_failed_setup_fullspeed.sr
125         output usb_packet annotation match usb_failed_setup_fullspeed.output
126         output usb_packet python match usb_failed_setup_fullspeed.python