diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-11-03 13:01:20 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-11-03 13:12:13 +0100 |
commit | 0a8da8305a41b28ec2c5b7c0720d30ba80e3437a (patch) | |
tree | 5cc7787925086dbba9f760ef5403ea06a6bbdd5f /rules | |
parent | 5f34246c751504d505fbbe57d49148beea74edbe (diff) | |
download | systemd-0a8da8305a41b28ec2c5b7c0720d30ba80e3437a.tar.gz systemd-0a8da8305a41b28ec2c5b7c0720d30ba80e3437a.tar.bz2 systemd-0a8da8305a41b28ec2c5b7c0720d30ba80e3437a.zip |
rules: load path_id on DRM devices
The path_id-builtin provides useful unique aliases for DRM devices. If we
want to configure DRM render-nodes for compositors, we want to avoid
storing the whole sys-path in configuration files. Hence, allow users to
store the short PATH_ID instead.
Load path_id-builtin unconditionally on DRM devices now to always provide
this alias.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/60-drm.rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/60-drm.rules b/rules/60-drm.rules new file mode 100644 index 0000000000..de038c1191 --- /dev/null +++ b/rules/60-drm.rules @@ -0,0 +1,8 @@ +# do not edit this file, it will be overwritten on update + +ACTION=="remove", GOTO="drm_end" +SUBSYSTEM!="drm", GOTO="drm_end" + +SUBSYSTEMS=="pci|usb|platform", IMPORT{builtin}="path_id" + +LABEL="drm_end" |