-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathmdev.conf
More file actions
16 lines (14 loc) · 626 Bytes
/
mdev.conf
File metadata and controls
16 lines (14 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# example rules for mdev.conf
#
# NOTE:
# since https://github.com/skarnet/mdevd/commit/b61ab0373a724d38e059655d561b5fb3dcb2aff6,
# mdevd can rebroadcast uevents natively which means that you don't need to add anything
# to /etc/mdev.conf. In order to enable this functionality, you need to add `-O 4` to
# mdevd arguments.
#
# NOTE: replace /path/to/helper with path to compiled binary of helper.c
# handle all uevents(not recommended)
#-.* root:root 660 */path/to/helper
# handle only drm and input uevents(recommended)
SUBSYSTEM=drm;.* root:video 660 */path/to/helper
SUBSYSTEM=input;.* root:input 660 */path/to/helper