]> sigrok.org Git - libsigrok.git/blob - contrib/60-libsigrok.rules
rigol-ds: improve robustness in samplerate getting code path
[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 ATTRS{idVendor}=="a600", ATTRS{idProduct}=="a000", ENV{ID_SIGROK}="1"
53
54 # Braintechnology USB-LPS
55 ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0498", ENV{ID_SIGROK}="1"
56
57 # Brymen BU-86X adapter (e.g. for Brymen BM867/BM869 and possibly others).
58 ATTRS{idVendor}=="0820", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
59
60 # ChronoVu LA8 (new VID/PID)
61 # ChronoVu LA16 (new VID/PID)
62 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8867", ENV{ID_SIGROK}="1"
63
64 # CWAV USBee AX
65 # ARMFLY AX-Pro (clone of the CWAV USBee AX)
66 # ARMFLY Mini-Logic (clone of the CWAV USBee AX)
67 # EE Electronics ESLA201A (clone of the CWAV USBee AX)
68 # HT USBee-AxPro (clone of the CWAV USBee AX)
69 # MCU123 USBee AX Pro clone (clone of the CWAV USBee AX)
70 # Noname LHT00SU1 (clone of the CWAV USBee AX)
71 # XZL_Studio AX (clone of the CWAV USBee AX)
72 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0014", ENV{ID_SIGROK}="1"
73
74 # CWAV USBee DX
75 # HT USBee-DxPro (clone of the CWAV USBee DX), not yet supported!
76 # XZL_Studio DX (clone of the CWAV USBee DX)
77 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0015", ENV{ID_SIGROK}="1"
78
79 # CWAV USBee SX
80 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0009", ENV{ID_SIGROK}="1"
81
82 # CWAV USBee ZX
83 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0005", ENV{ID_SIGROK}="1"
84
85 # Cypress FX2 eval boards without EEPROM:
86 # Lcsoft Mini Board
87 # Braintechnology USB Interface V2.x
88 # fx2grok-tiny
89 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="8613", ENV{ID_SIGROK}="1"
90
91 # Dangerous Prototypes Buspirate (v3)
92 # ChronoVu LA8 (old VID/PID)
93 # ChronoVu LA16 (old VID/PID)
94 # ftdi-la (FT232R)
95 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{ID_SIGROK}="1"
96
97 # Dangerous Prototypes Buspirate (v4)
98 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb00", ENV{ID_SIGROK}="1"
99
100 # dcttech.com USB relay card, and other V-USB based firmware
101 ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", ENV{ID_SIGROK}="1"
102
103 # DreamSourceLab DSLogic
104 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
105 # DreamSourceLab DSLogic Pro
106 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0003", ENV{ID_SIGROK}="1"
107 # DreamSourceLab DScope
108 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0002", ENV{ID_SIGROK}="1"
109 # DreamSourceLab DSLogic Plus
110 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0020", ENV{ID_SIGROK}="1"
111 # DreamSourceLab DSLogic Basic
112 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0021", ENV{ID_SIGROK}="1"
113
114 # GW-Instek GDM-9061 (USBTMC mode)
115 ATTRS{idVendor}=="2184", ATTRS{idProduct}=="0059", ENV{ID_SIGROK}="1"
116
117 # HAMEG HO720
118 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ed72", ENV{ID_SIGROK}="1"
119
120 # HAMEG HO730
121 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ed73", ENV{ID_SIGROK}="1"
122
123 # Hantek DSO-2090
124 # lsusb: "04b4:2090 Cypress Semiconductor Corp."
125 # lsusb after FW upload: "04b5:2090 ROHM LSI Systems USA, LLC"
126 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2090", ENV{ID_SIGROK}="1"
127 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2090", ENV{ID_SIGROK}="1"
128
129 # Hantek DSO-2150
130 # lsusb: "04b4:2150 Cypress Semiconductor Corp."
131 # lsusb after FW upload: "04b5:2150 ROHM LSI Systems USA, LLC"
132 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2150", ENV{ID_SIGROK}="1"
133 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2150", ENV{ID_SIGROK}="1"
134
135 # Hantek DSO-2250
136 # lsusb: "04b4:2250 Cypress Semiconductor Corp."
137 # lsusb after FW upload: "04b5:2250 ROHM LSI Systems USA, LLC"
138 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2250", ENV{ID_SIGROK}="1"
139 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2250", ENV{ID_SIGROK}="1"
140
141 # Hantek DSO-5200
142 # lsusb: "04b4:5200 Cypress Semiconductor Corp."
143 # lsusb after FW upload: "04b5:5200 ROHM LSI Systems USA, LLC"
144 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="5200", ENV{ID_SIGROK}="1"
145 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="5200", ENV{ID_SIGROK}="1"
146
147 # Hantek DSO-5200A
148 # lsusb: "04b4:520a Cypress Semiconductor Corp."
149 # lsusb after FW upload: "04b5:520a ROHM LSI Systems USA, LLC"
150 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="520a", ENV{ID_SIGROK}="1"
151 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="520a", ENV{ID_SIGROK}="1"
152
153 # Hantek 6022BE, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BE
154 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="6022", ENV{ID_SIGROK}="1"
155
156 # Hantek 6022BL, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BL
157 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="602a", ENV{ID_SIGROK}="1"
158
159 # Hantek 4032L
160 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="4032", ENV{ID_SIGROK}="1"
161
162 # IKALOGIC Scanalogic-2
163 ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4123", ENV{ID_SIGROK}="1"
164
165 # IKALOGIC ScanaPLUS
166 # ftdi-la (FT232H)
167 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", ENV{ID_SIGROK}="1"
168
169 # ftdi-la (TIAO USB Multi Protocol Adapter (TUMPA))
170 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8a98", ENV{ID_SIGROK}="1"
171
172 # Kecheng KC-330B
173 ATTRS{idVendor}=="1041", ATTRS{idProduct}=="8101", ENV{ID_SIGROK}="1"
174
175 # Keysight USBTMC-connected devices
176 # 34465A
177 ATTRS{idVendor}=="2a8d", ATTRS{idProduct}=="0101", ENV{ID_SIGROK}="1"
178
179 # Kingst LA2016
180 ATTRS{idVendor}=="77a1", ATTRS{idProduct}=="01a2", ENV{ID_SIGROK}="1"
181
182 # Lascar Electronics EL-USB-2
183 # Lascar Electronics EL-USB-CO
184 # This is actually the generic SiLabs (Cygnal) F32x USBXpress VID:PID.
185 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="0002", ENV{ID_SIGROK}="1"
186
187 # LeCroy LogicStudio16
188 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="a001", ENV{ID_SIGROK}="1"
189 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="a002", ENV{ID_SIGROK}="1"
190
191 # LeCroy WaveRunner
192 # 05ff:1023: 625Zi
193 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="1023", ENV{ID_SIGROK}="1"
194
195 # Link Instruments MSO-19
196 ATTRS{idVendor}=="3195", ATTRS{idProduct}=="f190", ENV{ID_SIGROK}="1"
197
198 # Logic Shrimp
199 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fa95", ENV{ID_SIGROK}="1"
200
201 # MiniLA Mockup
202 # ftdi-la (FT2232H)
203 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", ENV{ID_SIGROK}="1"
204
205 # ftdi-la (FT4232H)
206 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6011", ENV{ID_SIGROK}="1"
207
208 # MIC 98581
209 # MIC 98583
210 # Tondaj SL-814
211 ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", ENV{ID_SIGROK}="1"
212
213 # Microchip PICkit2
214 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0033", ENV{ID_SIGROK}="1"
215
216 # Openbench Logic Sniffer
217 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="000a", ENV{ID_SIGROK}="1"
218
219 # Rigol DS1000 series
220 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0588", ENV{ID_SIGROK}="1"
221
222 # Rigol 1000Z series
223 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04ce", ENV{ID_SIGROK}="1"
224
225 # Rigol DS2000 series
226 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04b0", ENV{ID_SIGROK}="1"
227
228 # Rigol DS4000 series
229 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04b1", ENV{ID_SIGROK}="1"
230
231 # Rigol DG4000 series
232 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0641", ENV{ID_SIGROK}="1"
233
234 # Rigol DG1000z series
235 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0642", ENV{ID_SIGROK}="1"
236
237 # Rigol DG800 and DG900 series
238 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0643", ENV{ID_SIGROK}="1"
239
240 # Rigol DP800 series
241 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0e11", ENV{ID_SIGROK}="1"
242
243 # Rigol MSO5000 series
244 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0515", ENV{ID_SIGROK}="1"
245
246 # Rohde&Schwarz HMO series mixed-signal oscilloscope (previously branded Hameg) VCP/USBTMC mode
247 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0117", ENV{ID_SIGROK}="1"
248 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0118", ENV{ID_SIGROK}="1"
249 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0119", ENV{ID_SIGROK}="1"
250
251 # Sainsmart DDS120 / Rocktech BM102, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Sainsmart DDS120
252 ATTRS{idVendor}=="8102", ATTRS{idProduct}=="8102", ENV{ID_SIGROK}="1"
253
254 # Saleae Logic
255 # EE Electronics ESLA100 (clone of the Saleae Logic)
256 # Hantek 6022BL in LA mode (clone of the Saleae Logic)
257 # Instrustar ISDS205X in LA mode (clone of the Saleae Logic)
258 # Robomotic MiniLogic (clone of the Saleae Logic)
259 # Robomotic BugLogic 3 (clone of the Saleae Logic)
260 # MCU123 Saleae Logic clone (clone of the Saleae Logic)
261 ATTRS{idVendor}=="0925", ATTRS{idProduct}=="3881", ENV{ID_SIGROK}="1"
262
263 # Saleae Logic16
264 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1001", ENV{ID_SIGROK}="1"
265
266 # Saleae Logic Pro 16
267 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1006", ENV{ID_SIGROK}="1"
268
269 # Siglent USBTMC devices.
270 # f4ec:ee3a: E.g. SDS1052DL+ scope
271 # f4ec:ee38: E.g. SDS1104X-E scope
272 # f4ed:ee3a: E.g. SDS1202X-E scope or SDG1010 waveform generator
273 ATTRS{idVendor}=="f4ec", ATTRS{idProduct}=="ee3a", ENV{ID_SIGROK}="1"
274 ATTRS{idVendor}=="f4ed", ATTRS{idProduct}=="ee3a", ENV{ID_SIGROK}="1"
275
276 # sigrok FX2 LA (8ch)
277 # fx2grok-flat (before and after renumeration)
278 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608c", ENV{ID_SIGROK}="1"
279
280 # sigrok FX2 LA (16ch)
281 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608d", ENV{ID_SIGROK}="1"
282
283 # sigrok FX2 DSO (2ch)
284 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608e", ENV{ID_SIGROK}="1"
285
286 # sigrok usb-c-grok
287 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608f", ENV{ID_SIGROK}="1"
288
289 # SiLabs CP210x (USB CDC) UART bridge, used (among others) in:
290 # CEM DT-8852
291 # Manson HCS-3202
292 # MASTECH MS2115B
293 # MASTECH MS5308
294 # MASTECH MS8250D
295 # PeakTech 3330
296 # Voltcraft PPS-11815
297 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ENV{ID_SIGROK}="1"
298
299 # SiLabs CP2110 (USB HID) UART bridge, used (among others) in:
300 # UNI-T UT612
301 # UNI-T UT-D09 multimeter cable (for various UNI-T and rebranded DMMs)
302 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea80", ENV{ID_SIGROK}="1"
303
304 # Sysclk LWLA1016
305 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="6688", ENV{ID_SIGROK}="1"
306
307 # Sysclk LWLA1034
308 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="6689", ENV{ID_SIGROK}="1"
309
310 # Sysclk SLA5032 ("32CH 500M" mode)
311 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="66b0", ENV{ID_SIGROK}="1"
312
313 # Testo 435
314 ATTRS{idVendor}=="128d", ATTRS{idProduct}=="0003", ENV{ID_SIGROK}="1"
315
316 # UNI-T UT-D04 multimeter cable (for various UNI-T and rebranded DMMs)
317 # UNI-T UT325
318 ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="e008", ENV{ID_SIGROK}="1"
319
320 # V&A VA4000 multimeter cable (for various V&A DMMs)
321 ATTRS{idVendor}=="04fc", ATTRS{idProduct}=="0201", ENV{ID_SIGROK}="1"
322
323 # Victor 70C
324 # Victor 86C
325 ATTRS{idVendor}=="1244", ATTRS{idProduct}=="d237", ENV{ID_SIGROK}="1"
326
327 # YiXingDianZi MDSO
328 ATTRS{idVendor}=="d4a2", ATTRS{idProduct}=="5660", ENV{ID_SIGROK}="1"
329
330 # ZEROPLUS Logic Cube LAP-C series
331 # There are various devices in the ZEROPLUS Logic Cube series:
332 # 0c12:7002: LAP-16128U
333 # 0c12:7009: LAP-C(16064)
334 # 0c12:700a: LAP-C(16128)
335 # 0c12:700b: LAP-C(32128)
336 # 0c12:700c: LAP-C(321000)
337 # 0c12:700d: LAP-C(322000)
338 # 0c12:700e: LAP-C(16032)
339 # 0c12:7016: LAP-C(162000)
340 # 0c12:7025: LAP-C(16128+)
341 # 0c12:7100: AKIP-9101
342 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7002", ENV{ID_SIGROK}="1"
343 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7007", ENV{ID_SIGROK}="1"
344 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7009", ENV{ID_SIGROK}="1"
345 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700a", ENV{ID_SIGROK}="1"
346 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700b", ENV{ID_SIGROK}="1"
347 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700c", ENV{ID_SIGROK}="1"
348 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700d", ENV{ID_SIGROK}="1"
349 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700e", ENV{ID_SIGROK}="1"
350 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7016", ENV{ID_SIGROK}="1"
351 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7025", ENV{ID_SIGROK}="1"
352 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7100", ENV{ID_SIGROK}="1"
353
354 LABEL="libsigrok_rules_end"