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