]> sigrok.org Git - libsigrok.git/blob - contrib/60-libsigrok.rules
contrib: Split device access policy from the device database
[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 # These rules do not grant any permission by itself, but flag devices
21 # supported by libsigrok.
22 # The access policy is stored in the 61-libsigrok-plugdev.rules and
23 # 61-libsigrok-uaccess.rules.
24
25 ##
26 ## Please keep this list sorted alphabetically by vendor/device name.
27 ##
28
29 ACTION!="add|change", GOTO="libsigrok_rules_end"
30 SUBSYSTEM!="usb|usbmisc|usb_device", GOTO="libsigrok_rules_end"
31
32 # Agilent USBTMC-connected devices
33 # 34405A
34 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="0618", ENV{ID_SIGROK}="1"
35 # 34410A
36 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="0607", ENV{ID_SIGROK}="1"
37 # DSO1000 series
38 ATTRS{idVendor}=="0957", ATTRS{idProduct}=="0588", ENV{ID_SIGROK}="1"
39
40 # ASIX SIGMA
41 # ASIX SIGMA2
42 ATTRS{idVendor}=="a600", ATTRS{idProduct}=="a000", ENV{ID_SIGROK}="1"
43
44 # Braintechnology USB-LPS
45 ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0498", ENV{ID_SIGROK}="1"
46
47 # Brymen BU-86X adapter (e.g. for Brymen BM867/BM869 and possibly others).
48 ATTRS{idVendor}=="0820", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
49
50 # CEM DT-8852
51 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ENV{ID_SIGROK}="1"
52
53 # ChronoVu LA8 (new VID/PID)
54 # ChronoVu LA16 (new VID/PID)
55 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8867", ENV{ID_SIGROK}="1"
56
57 # CWAV USBee AX
58 # ARMFLY AX-Pro (clone of the CWAV USBee AX)
59 # ARMFLY Mini-Logic (clone of the CWAV USBee AX)
60 # EE Electronics ESLA201A (clone of the CWAV USBee AX)
61 # MCU123 USBee AX Pro clone (clone of the CWAV USBee AX)
62 # XZL_Studio AX (clone of the CWAV USBee AX)
63 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0014", ENV{ID_SIGROK}="1"
64
65 # CWAV USBee DX
66 # XZL_Studio DX (clone of the CWAV USBee DX)
67 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0015", ENV{ID_SIGROK}="1"
68
69 # CWAV USBee SX
70 ATTRS{idVendor}=="08a9", ATTRS{idProduct}=="0009", ENV{ID_SIGROK}="1"
71
72 # Cypress FX2 eval boards without EEPROM:
73 # Lcsoft Mini Board
74 # Braintechnology USB Interface V2.x
75 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="8613", ENV{ID_SIGROK}="1"
76
77 # Dangerous Prototypes Buspirate (v3)
78 # ChronoVu LA8 (old VID/PID)
79 # ChronoVu LA16 (old VID/PID)
80 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{ID_SIGROK}="1"
81
82 # Dangerous Prototypes Buspirate (v4)
83 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb00", ENV{ID_SIGROK}="1"
84
85 # DreamSourceLab DSLogic
86 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
87 # DreamSourceLab DSLogic Pro
88 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0003", ENV{ID_SIGROK}="1"
89 # DreamSourceLab DScope
90 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0002", ENV{ID_SIGROK}="1"
91 # DreamSourceLab DSLogic Plus
92 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0020", ENV{ID_SIGROK}="1"
93 # DreamSourceLab DSLogic Basic
94 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0021", ENV{ID_SIGROK}="1"
95
96 # HAMEG HO720
97 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ed72", ENV{ID_SIGROK}="1"
98
99 # HAMEG HO730
100 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ed73", ENV{ID_SIGROK}="1"
101
102 # Hantek DSO-2090
103 # lsusb: "04b4:2090 Cypress Semiconductor Corp."
104 # lsusb after FW upload: "04b5:2090 ROHM LSI Systems USA, LLC"
105 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2090", ENV{ID_SIGROK}="1"
106 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2090", ENV{ID_SIGROK}="1"
107
108 # Hantek DSO-2150
109 # lsusb: "04b4:2150 Cypress Semiconductor Corp."
110 # lsusb after FW upload: "04b5:2150 ROHM LSI Systems USA, LLC"
111 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2150", ENV{ID_SIGROK}="1"
112 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2150", ENV{ID_SIGROK}="1"
113
114 # Hantek DSO-2250
115 # lsusb: "04b4:2250 Cypress Semiconductor Corp."
116 # lsusb after FW upload: "04b5:2250 ROHM LSI Systems USA, LLC"
117 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="2250", ENV{ID_SIGROK}="1"
118 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="2250", ENV{ID_SIGROK}="1"
119
120 # Hantek DSO-5200
121 # lsusb: "04b4:5200 Cypress Semiconductor Corp."
122 # lsusb after FW upload: "04b5:5200 ROHM LSI Systems USA, LLC"
123 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="5200", ENV{ID_SIGROK}="1"
124 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="5200", ENV{ID_SIGROK}="1"
125
126 # Hantek DSO-5200A
127 # lsusb: "04b4:520a Cypress Semiconductor Corp."
128 # lsusb after FW upload: "04b5:520a ROHM LSI Systems USA, LLC"
129 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="520a", ENV{ID_SIGROK}="1"
130 ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="520a", ENV{ID_SIGROK}="1"
131
132 # Hantek 6022BE, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BE
133 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="6022", ENV{ID_SIGROK}="1"
134
135 # Hantek 6022BL, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Hantek 6022BL
136 ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="602a", ENV{ID_SIGROK}="1"
137
138 # IKALOGIC Scanalogic-2
139 ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4123", ENV{ID_SIGROK}="1"
140
141 # IKALOGIC ScanaPLUS
142 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", ENV{ID_SIGROK}="1"
143
144 # Kecheng KC-330B
145 ATTRS{idVendor}=="1041", ATTRS{idProduct}=="8101", ENV{ID_SIGROK}="1"
146
147 # Lascar Electronics EL-USB-2
148 # Lascar Electronics EL-USB-CO
149 # This is actually the generic SiLabs (Cygnal) F32x USBXpress VID:PID.
150 ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="0002", ENV{ID_SIGROK}="1"
151
152 # LeCroy LogicStudio16
153 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="a001", ENV{ID_SIGROK}="1"
154 ATTRS{idVendor}=="05ff", ATTRS{idProduct}=="a002", ENV{ID_SIGROK}="1"
155
156 # Link Instruments MSO-19
157 ATTRS{idVendor}=="3195", ATTRS{idProduct}=="f190", ENV{ID_SIGROK}="1"
158
159 # Logic Shrimp
160 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fa95", ENV{ID_SIGROK}="1"
161
162 # MiniLA Mockup
163 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", ENV{ID_SIGROK}="1"
164
165 # MIC 98581
166 # MIC 98583
167 # Tondaj SL-814
168 ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", ENV{ID_SIGROK}="1"
169
170 # Openbench Logic Sniffer
171 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="000a", ENV{ID_SIGROK}="1"
172
173 # Rigol DS1000 series
174 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0588", ENV{ID_SIGROK}="1"
175
176 # Rigol 1000Z series
177 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04ce", ENV{ID_SIGROK}="1"
178
179 # Rigol DS2000 series
180 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="04b0", ENV{ID_SIGROK}="1"
181
182 # Rigol DG4000 series
183 ATTRS{idVendor}=="1ab1", ATTRS{idProduct}=="0641", ENV{ID_SIGROK}="1"
184
185 # Rohde&Schwarz HMO1002 Series VCP/USBTMC mode
186 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0118", ENV{ID_SIGROK}="1"
187 ATTRS{idVendor}=="0aad", ATTRS{idProduct}=="0119", ENV{ID_SIGROK}="1"
188
189 # Sainsmart DDS120 / Rocktech BM102, renumerates as 1d50:608e "sigrok fx2lafw", Serial: Sainsmart DDS120
190 ATTRS{idVendor}=="8102", ATTRS{idProduct}=="8102", ENV{ID_SIGROK}="1"
191
192 # Saleae Logic
193 # EE Electronics ESLA100 (clone of the Saleae Logic)
194 # Robomotic MiniLogic (clone of the Saleae Logic)
195 # Robomotic BugLogic 3 (clone of the Saleae Logic)
196 # MCU123 Saleae Logic clone (clone of the Saleae Logic)
197 ATTRS{idVendor}=="0925", ATTRS{idProduct}=="3881", ENV{ID_SIGROK}="1"
198
199 # Saleae Logic16
200 ATTRS{idVendor}=="21a9", ATTRS{idProduct}=="1001", ENV{ID_SIGROK}="1"
201
202 # sigrok FX2 LA (8ch)
203 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608c", ENV{ID_SIGROK}="1"
204
205 # sigrok FX2 LA (16ch)
206 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608d", ENV{ID_SIGROK}="1"
207
208 # sigrok FX2 DSO (2ch)
209 ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="608e", ENV{ID_SIGROK}="1"
210
211 # SysClk LWLA1016
212 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="6688", ENV{ID_SIGROK}="1"
213
214 # SysClk LWLA1034
215 ATTRS{idVendor}=="2961", ATTRS{idProduct}=="6689", ENV{ID_SIGROK}="1"
216
217 # Testo 435
218 ATTRS{idVendor}=="128d", ATTRS{idProduct}=="0003", ENV{ID_SIGROK}="1"
219
220 # UNI-T UT-D04 multimeter cable (for various UNI-T and rebranded DMMs)
221 # http://sigrok.org/wiki/Device_cables#UNI-T_UT-D04
222 # UNI-T UT325
223 ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="e008", ENV{ID_SIGROK}="1"
224
225 # V&A VA4000 multimeter cable (for various V&A DMMs)
226 # http://sigrok.org/wiki/Device_cables#V.26A_VA4000
227 ATTRS{idVendor}=="04fc", ATTRS{idProduct}=="0201", ENV{ID_SIGROK}="1"
228
229 # Victor 70C
230 # Victor 86C
231 ATTRS{idVendor}=="1244", ATTRS{idProduct}=="d237", ENV{ID_SIGROK}="1"
232
233 # ZEROPLUS Logic Cube LAP-C series
234 # There are various devices in the ZEROPLUS Logic Cube series:
235 # 0c12:7002: LAP-16128U
236 # 0c12:7009: LAP-C(16064)
237 # 0c12:700a: LAP-C(16128)
238 # 0c12:700b: LAP-C(32128)
239 # 0c12:700c: LAP-C(321000)
240 # 0c12:700d: LAP-C(322000)
241 # 0c12:700e: LAP-C(16032)
242 # 0c12:7016: LAP-C(162000)
243 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7002", ENV{ID_SIGROK}="1"
244 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7009", ENV{ID_SIGROK}="1"
245 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700a", ENV{ID_SIGROK}="1"
246 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700b", ENV{ID_SIGROK}="1"
247 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700c", ENV{ID_SIGROK}="1"
248 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700d", ENV{ID_SIGROK}="1"
249 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="700e", ENV{ID_SIGROK}="1"
250 ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="7016", ENV{ID_SIGROK}="1"
251
252 LABEL="libsigrok_rules_end"