]>
Commit | Line | Data |
---|---|---|
3f49d45a LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
4 | # under the terms of the GNU Lesser General Public License as published by |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
3f49d45a LP |
6 | # (at your option) any later version. |
7 | ||
8 | ACTION=="remove", GOTO="uaccess_end" | |
9 | ENV{MAJOR}=="", GOTO="uaccess_end" | |
10 | ||
11 | # PTP/MTP protocol devices, cameras, portable media players | |
3f49d45a LP |
12 | SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", TAG+="uaccess" |
13 | ||
14 | # Digicams with proprietary protocol | |
64dfe7b7 | 15 | ENV{ID_GPHOTO2}=="?*", TAG+="uaccess" |
3f49d45a LP |
16 | |
17 | # SCSI and USB scanners | |
18 | ENV{libsane_matched}=="yes", TAG+="uaccess" | |
19 | ||
20 | # HPLIP devices (necessary for ink level check and HP tool maintenance) | |
21 | ENV{ID_HPLIP}=="1", TAG+="uaccess" | |
22 | ||
23 | # optical drives | |
24 | SUBSYSTEM=="block", ENV{ID_CDROM}=="1", TAG+="uaccess" | |
25 | SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", TAG+="uaccess" | |
26 | ||
27 | # Sound devices | |
84b6ad70 TG |
28 | SUBSYSTEM=="sound", TAG+="uaccess" \ |
29 | OPTIONS+="static_node=snd/timer", OPTIONS+="static_node=snd/seq" | |
3f49d45a LP |
30 | |
31 | # ffado is an userspace driver for firewire sound cards | |
32 | SUBSYSTEM=="firewire", ENV{ID_FFADO}=="1", TAG+="uaccess" | |
33 | ||
34 | # Webcams, frame grabber, TV cards | |
35 | SUBSYSTEM=="video4linux", TAG+="uaccess" | |
36 | SUBSYSTEM=="dvb", TAG+="uaccess" | |
37 | ||
38 | # IIDC devices: industrial cameras and some webcams | |
39 | SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", TAG+="uaccess" | |
40 | SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", TAG+="uaccess" | |
41 | # AV/C devices: camcorders, set-top boxes, TV sets, audio devices, and more | |
42 | SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", TAG+="uaccess" | |
43 | SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", TAG+="uaccess" | |
44 | ||
e77813ca | 45 | # DRI video devices |
4e15a734 | 46 | SUBSYSTEM=="drm", KERNEL=="card*", TAG+="uaccess" |
3f49d45a | 47 | |
3f49d45a | 48 | # smart-card readers |
64dfe7b7 | 49 | ENV{ID_SMARTCARD_READER}=="?*", TAG+="uaccess" |
3f49d45a | 50 | |
ff87b7e7 | 51 | # (USB) authentication devices |
64dfe7b7 | 52 | ENV{ID_SECURITY_TOKEN}=="?*", TAG+="uaccess" |
ff87b7e7 | 53 | |
3f49d45a | 54 | # PDA devices |
64dfe7b7 | 55 | ENV{ID_PDA}=="?*", TAG+="uaccess" |
3f49d45a LP |
56 | |
57 | # Programmable remote control | |
58 | ENV{ID_REMOTE_CONTROL}=="1", TAG+="uaccess" | |
59 | ||
60 | # joysticks | |
61 | SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", TAG+="uaccess" | |
62 | ||
63 | # color measurement devices | |
64dfe7b7 | 64 | ENV{COLOR_MEASUREMENT_DEVICE}=="?*", TAG+="uaccess" |
3f49d45a LP |
65 | |
66 | # DDC/CI device, usually high-end monitors such as the DreamColor | |
64dfe7b7 | 67 | ENV{DDC_DEVICE}=="?*", TAG+="uaccess" |
3f49d45a LP |
68 | |
69 | # media player raw devices (for user-mode drivers, Android SDK, etc.) | |
70 | SUBSYSTEM=="usb", ENV{ID_MEDIA_PLAYER}=="?*", TAG+="uaccess" | |
71 | ||
30632d97 KS |
72 | # software-defined radio communication devices |
73 | ENV{ID_SOFTWARE_RADIO}=="?*", TAG+="uaccess" | |
74 | ||
68ea57b2 JŠ |
75 | # 3D printers, CNC machines, laser cutters, 3D scanners, etc. |
76 | ENV{ID_MAKER_TOOL}=="?*", TAG+="uaccess" | |
77 | ||
3f49d45a | 78 | LABEL="uaccess_end" |