]> sigrok.org Git - libsigrok.git/blob - contrib/60-libsigrok.rules
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / contrib / 60-libsigrok.rules
1 ##
2 ## This file is part of the libsigrok project.
3 ##
4 ## Copyright (C) 2010-2013 Uwe Hermann <uwe@hermann-uwe.de>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
18 ##
19
20 #
21 # These rules do not grant any permission by itself, but flag devices
22 # supported by libsigrok.
23 # The access policy is stored in the 61-libsigrok-plugdev.rules and
24 # 61-libsigrok-uaccess.rules.
25 #
26 # Note: Any syntax changes here will need to be tested against the
27 # 'update-device-filter' Makefile target in the sigrok-androidutils
28 # repo, since that parses this file.
29 #
30
31 #
32 # Please keep this list sorted alphabetically by vendor/device name.
33 #
34
35 ACTION!="add|change", GOTO="libsigrok_rules_end"
36 SUBSYSTEM!="usb|usbmisc|usb_device|hidraw", GOTO="libsigrok_rules_end"
37
38 # Agilent USBTMC-connected devices
39 # 34405A
40 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="0618", ENV{ID_SIGROK}="1"
41 # 34410A
42 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="0607", ENV{ID_SIGROK}="1"
43 # 34460A
44 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="1b07", ENV{ID_SIGROK}="1"
45 # DSO1000 series
46 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="0588", ENV{ID_SIGROK}="1"
47 # MSO7000A series
48 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="1735", ENV{ID_SIGROK}="1"
49
50 # ASIX SIGMA
51 # ASIX SIGMA2
52 # ASIX OMEGA
53 ATTRS{idVendor}=="a600", ATTRS{idProduct}=="a000", ENV{ID_SIGROK}="1"
54 ATTRS{idVendor}=="a600", ATTRS{idProduct}=="a004", ENV{ID_SIGROK}="1"
55
56 # Braintechnology USB-LPS
57 ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0498", ENV{ID_SIGROK}="1"
58
59 # Brymen BU-86X adapter (e.g. for Brymen BM867/BM869 and possibly others).
60 ATTRS{idVendor}=="0820", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
61
62 # ChronoVu LA8 (new VID/PID)
63 # ChronoVu LA16 (new VID/PID)
64 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8867", ENV{ID_SIGROK}="1"
65
66 # CWAV USBee AX
67 # ARMFLY AX-Pro (clone of the CWAV USBee AX)
68 # ARMFLY Mini-Logic (clone of the CWAV USBee AX)
69 # EE Electronics ESLA201A (clone of the CWAV USBee AX)
70 # HT USBee-AxPro (clone of the CWAV USBee AX)
71 # MCU123 USBee AX Pro clone (clone of the CWAV USBee AX)
72 # Noname LHT00SU1 (clone of the CWAV USBee AX)
73 # XZL_Studio AX (clone of the CWAV USBee AX)
74 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0014", ENV{ID_SIGROK}="1"
75
76 # CWAV USBee DX
77 # HT USBee-DxPro (clone of the CWAV USBee DX), not yet supported!
78 # XZL_Studio DX (clone of the CWAV USBee DX)
79 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0015", ENV{ID_SIGROK}="1"
80
81 # CWAV USBee SX
82 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0009", ENV{ID_SIGROK}="1"
83
84 # CWAV USBee ZX
85 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0005", ENV{ID_SIGROK}="1"
86
87 # Cypress FX2 eval boards without EEPROM:
88 # Lcsoft Mini Board
89 # Braintechnology USB Interface V2.x
90 # fx2grok-tiny
91 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="8613", ENV{ID_SIGROK}="1"
92
93 # Dangerous Prototypes Buspirate (v3)
94 # ChronoVu LA8 (old VID/PID)
95 # ChronoVu LA16 (old VID/PID)
96 # ftdi-la (FT232R)
97 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{ID_SIGROK}="1"
98
99 # Dangerous Prototypes Buspirate (v4)
100 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb00", ENV{ID_SIGROK}="1"
101
102 # dcttech.com USB relay card, and other V-USB based firmware
103 ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", ENV{ID_SIGROK}="1"
104
105 # DreamSourceLab DSLogic
106 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
107 # DreamSourceLab DSLogic Pro
108 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0003", ENV{ID_SIGROK}="1"
109 # DreamSourceLab DScope
110 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0002", ENV{ID_SIGROK}="1"
111 # DreamSourceLab DSLogic Plus
112 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0020", ENV{ID_SIGROK}="1"
113 # DreamSourceLab DSLogic Basic
114 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0021", ENV{ID_SIGROK}="1"
115
116 # Great Scott Gadgets
117 # GreatFET One
118 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60e6", ENV{ID_SIGROK}="1"
119
120 # GW-Instek GDM-9061 (USBTMC mode)
121 ATTRS{idVendor}=="2184", ATTRS{idProduct}=="0059", ENV{ID_SIGROK}="1"
122
123 # HAMEG HO720
124 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ed72", ENV{ID_SIGROK}="1"
125
126 # HAMEG HO730
127 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ed73", ENV{ID_SIGROK}="1"
128
129 # Hantek DSO-2090
130 # lsusb: "04b4:2090 Cypress Semiconductor Corp."
131 # lsusb after FW upload: "04b5:2090 ROHM LSI Systems USA, LLC"
132 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2090", ENV{ID_SIGROK}="1"
133 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2090", ENV{ID_SIGROK}="1"
134
135 # Hantek DSO-2150
136 # lsusb: "04b4:2150 Cypress Semiconductor Corp."
137 # lsusb after FW upload: "04b5:2150 ROHM LSI Systems USA, LLC"
138 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2150", ENV{ID_SIGROK}="1"
139 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2150", ENV{ID_SIGROK}="1"
140
141 # Hantek DSO-2250
142 # lsusb: "04b4:2250 Cypress Semiconductor Corp."
143 # lsusb after FW upload: "04b5:2250 ROHM LSI Systems USA, LLC"
144 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2250", ENV{ID_SIGROK}="1"
145 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2250", ENV{ID_SIGROK}="1"
146
147 # Hantek DSO-5200
148 # lsusb: "04b4:5200 Cypress Semiconductor Corp."
149 # lsusb after FW upload: "04b5:5200 ROHM LSI Systems USA, LLC"
150 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="5200", ENV{ID_SIGROK}="1"
151 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="5200", ENV{ID_SIGROK}="1"
152
153 # Hantek DSO-5200A
154 # lsusb: "04b4:520a Cypress Semiconductor Corp."
155 # lsusb after FW upload: "04b5:520a ROHM LSI Systems USA, LLC"
156 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="520a", ENV{ID_SIGROK}="1"
157 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="520a", ENV{ID_SIGROK}="1"
158
159 # Hantek 6022BE, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BE
160 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="6022", ENV{ID_SIGROK}="1"
161
162 # Hantek 6022BL, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BL
163 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="602a", ENV{ID_SIGROK}="1"
164
165 # Hantek 4032L
166 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="4032", ENV{ID_SIGROK}="1"
167
168 # IKALOGIC Scanalogic-2
169 ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4123", ENV{ID_SIGROK}="1"
170
171 # IKALOGIC ScanaPLUS
172 # ftdi-la (FT232H)
173 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", ENV{ID_SIGROK}="1"
174
175 # ftdi-la (TIAO USB Multi Protocol Adapter (TUMPA))
176 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8a98", ENV{ID_SIGROK}="1"
177
178 # Kecheng KC-330B
179 ATTRS{idVendor}=="1041", ATTRS{idProduct}=="8101", ENV{ID_SIGROK}="1"
180
181 # Keysight USBTMC-connected devices
182 # 34465A
183 ATTRS{idVendor}=="2a8d", ATTRS{idProduct}=="0101", ENV{ID_SIGROK}="1"
184
185 # Kingst LA2016
186 ATTRS{idVendor}=="77a1", ATTRS{idProduct}=="01a2", ENV{ID_SIGROK}="1"
187
188 # Lascar Electronics EL-USB-2
189 # Lascar Electronics EL-USB-CO
190 # This is actually the generic SiLabs (Cygnal) F32x USBXpress VID:PID.
191 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="0002", ENV{ID_SIGROK}="1"
192
193 # LeCroy LogicStudio16
194 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="a001", ENV{ID_SIGROK}="1"
195 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="a002", ENV{ID_SIGROK}="1"
196
197 # LeCroy WaveRunner
198 # 05ff:1023: 625Zi
199 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="1023", ENV{ID_SIGROK}="1"
200
201 # Link Instruments MSO-19
202 ATTRS{idVendor}=="3195", ATTRS{idProduct}=="f190", ENV{ID_SIGROK}="1"
203
204 # Logic Shrimp
205 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fa95", ENV{ID_SIGROK}="1"
206
207 # MiniLA Mockup
208 # ftdi-la (FT2232H)
209 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", ENV{ID_SIGROK}="1"
210
211 # ftdi-la (FT4232H)
212 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6011", ENV{ID_SIGROK}="1"
213
214 # MIC 98581
215 # MIC 98583
216 # Tondaj SL-814
217 ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", ENV{ID_SIGROK}="1"
218
219 # Microchip PICkit2
220 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0033", ENV{ID_SIGROK}="1"
221
222 # Openbench Logic Sniffer
223 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="000a", ENV{ID_SIGROK}="1"
224
225 # Rigol DS1000 series
226 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0588", ENV{ID_SIGROK}="1"
227
228 # Rigol 1000Z series
229 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04ce", ENV{ID_SIGROK}="1"
230
231 # Rigol DS2000 series
232 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04b0", ENV{ID_SIGROK}="1"
233
234 # Rigol DS4000 series
235 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04b1", ENV{ID_SIGROK}="1"
236
237 # Rigol DG4000 series
238 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0641", ENV{ID_SIGROK}="1"
239
240 # Rigol DG1000z series
241 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0642", ENV{ID_SIGROK}="1"
242
243 # Rigol DG800 and DG900 series
244 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0643", ENV{ID_SIGROK}="1"
245
246 # Rigol DP800 series
247 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0e11", ENV{ID_SIGROK}="1"
248
249 # Rigol MSO5000 series
250 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0515", ENV{ID_SIGROK}="1"
251
252 # Rohde&Schwarz HMO series mixed-signal oscilloscope (previously branded Hameg) VCP/USBTMC mode
253 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0117", ENV{ID_SIGROK}="1"
254 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0118", ENV{ID_SIGROK}="1"
255 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0119", ENV{ID_SIGROK}="1"
256
257 # Rohde&Schwarz HMC series power supply (previously branded Hameg) VCP/USBTMC mode
258 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0135", ENV{ID_SIGROK}="1"
259
260 # Sainsmart DDS120 / Rocktech BM102, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Sainsmart DDS120
261 ATTRS{idVendor}=="8102", ATTRS{idProduct}=="8102", ENV{ID_SIGROK}="1"
262
263 # Saleae Logic
264 # EE Electronics ESLA100 (clone of the Saleae Logic)
265 # Hantek 6022BL in LA mode (clone of the Saleae Logic)
266 # Instrustar ISDS205X in LA mode (clone of the Saleae Logic)
267 # Robomotic MiniLogic (clone of the Saleae Logic)
268 # Robomotic BugLogic 3 (clone of the Saleae Logic)
269 # MCU123 Saleae Logic clone (clone of the Saleae Logic)
270 ATTRS{idVendor}=="0925", ATTRS{idProduct}=="3881", ENV{ID_SIGROK}="1"
271
272 # Saleae Logic16
273 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1001", ENV{ID_SIGROK}="1"
274
275 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1003", ENV{ID_SIGROK}="1"
276
277 # Saleae Logic 8, currently unsupported by libsigrok
278 #ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1004", ENV{ID_SIGROK}="1"
279
280 # Saleae Logic Pro 8
281 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1005", ENV{ID_SIGROK}="1"
282
283 # Saleae Logic Pro 16
284 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1006", ENV{ID_SIGROK}="1"
285
286 # Siglent USBTMC devices.
287 # f4ec:ee3a: E.g. SDS1052DL+ scope
288 # f4ec:ee38: E.g. SDS1104X-E scope or SDM3055 Multimeter
289 # f4ed:ee3a: E.g. SDS1202X-E scope or SDG1010 waveform generator
290 ATTRS{idVendor}=="f4ec", ATTRS{idProduct}=="ee38", ENV{ID_SIGROK}="1"
291 ATTRS{idVendor}=="f4ec", ATTRS{idProduct}=="ee3a", ENV{ID_SIGROK}="1"
292 ATTRS{idVendor}=="f4ed", ATTRS{idProduct}=="ee3a", ENV{ID_SIGROK}="1"
293
294 # sigrok FX2 LA (8ch)
295 # fx2grok-flat (before and after renumeration)
296 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608c", ENV{ID_SIGROK}="1"
297
298 # sigrok FX2 LA (16ch)
299 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608d", ENV{ID_SIGROK}="1"
300
301 # sigrok FX2 DSO (2ch)
302 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608e", ENV{ID_SIGROK}="1"
303
304 # sigrok usb-c-grok
305 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608f", ENV{ID_SIGROK}="1"
306
307 # SiLabs CP210x (USB CDC) UART bridge, used (among others) in:
308 # CEM DT-8852
309 # Manson HCS-3202
310 # MASTECH MS2115B
311 # MASTECH MS5308
312 # MASTECH MS8250D
313 # PeakTech 3330
314 # Voltcraft PPS-11815
315 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ENV{ID_SIGROK}="1"
316
317 # SiLabs CP2110 (USB HID) UART bridge, used (among others) in:
318 # UNI-T UT612
319 # UNI-T UT-D09 multimeter cable (for various UNI-T and rebranded DMMs)
320 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea80", ENV{ID_SIGROK}="1"
321
322 # Sysclk LWLA1016
323 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="6688", ENV{ID_SIGROK}="1"
324
325 # Sysclk LWLA1034
326 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="6689", ENV{ID_SIGROK}="1"
327
328 # Sysclk SLA5032 ("32CH 500M" mode)
329 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="66b0", ENV{ID_SIGROK}="1"
330
331 # Testo 435
332 ATTRS{idVendor}=="128d", ATTRS{idProduct}=="0003", ENV{ID_SIGROK}="1"
333
334 # UNI-T UT-D04 multimeter cable (for various UNI-T and rebranded DMMs)
335 # UNI-T UT325
336 ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="e008", ENV{ID_SIGROK}="1"
337
338 # V&A VA4000 multimeter cable (for various V&A DMMs)
339 ATTRS{idVendor}=="04fc", ATTRS{idProduct}=="0201", ENV{ID_SIGROK}="1"
340
341 # Victor 70C
342 # Victor 86C
343 ATTRS{idVendor}=="1244", ATTRS{idProduct}=="d237", ENV{ID_SIGROK}="1"
344
345 # Voltcraft DSO2020, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BE
346 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2020", ENV{ID_SIGROK}="1"
347
348 # YiXingDianZi MDSO
349 ATTRS{idVendor}=="d4a2", ATTRS{idProduct}=="5660", ENV{ID_SIGROK}="1"
350
351 # ZEROPLUS Logic Cube LAP-C series
352 # There are various devices in the ZEROPLUS Logic Cube series:
353 # 0c12:7002: LAP-16128U
354 # 0c12:7009: LAP-C(16064)
355 # 0c12:700a: LAP-C(16128)
356 # 0c12:700b: LAP-C(32128)
357 # 0c12:700c: LAP-C(321000)
358 # 0c12:700d: LAP-C(322000)
359 # 0c12:700e: LAP-C(16032)
360 # 0c12:7016: LAP-C(162000)
361 # 0c12:7025: LAP-C(16128+)
362 # 0c12:7100: AKIP-9101
363 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7002", ENV{ID_SIGROK}="1"
364 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7007", ENV{ID_SIGROK}="1"
365 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7009", ENV{ID_SIGROK}="1"
366 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700a", ENV{ID_SIGROK}="1"
367 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700b", ENV{ID_SIGROK}="1"
368 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700c", ENV{ID_SIGROK}="1"
369 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700d", ENV{ID_SIGROK}="1"
370 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700e", ENV{ID_SIGROK}="1"
371 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7016", ENV{ID_SIGROK}="1"
372 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7025", ENV{ID_SIGROK}="1"
373 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7100", ENV{ID_SIGROK}="1"
374
375 LABEL="libsigrok_rules_end"