aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-init
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-03-02 15:43:10 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-03-09 10:26:57 +0000
commitae840adbe14a8423b34dd1f4289ef4e15b00aaa5 (patch)
tree607b6fc07fdaa7120ec5a34c043c5c518e906868 /recipes-graphics/wayland/weston-init
parentf6e5bcfc00d7a0672bb1c0e11f740d8108892c2a (diff)
zz-video.rules.in: New udev rule to allow reading video device
This is helpful to have by default as to allow regular user (agl-driver) use the video device created by video4linux. Bug-AGL: SPEC-3629 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib545dff4ce0a4cb6b668b343cd7de7e95317eea5
Diffstat (limited to 'recipes-graphics/wayland/weston-init')
-rw-r--r--recipes-graphics/wayland/weston-init/zz-video.rules.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-init/zz-video.rules.in b/recipes-graphics/wayland/weston-init/zz-video.rules.in
new file mode 100644
index 000000000..1dfa3c18c
--- /dev/null
+++ b/recipes-graphics/wayland/weston-init/zz-video.rules.in
@@ -0,0 +1 @@
+SUBSYSTEM=="video4linux", MODE="0660", KERNEL=="video*", GROUP="display", SECLABEL{smack}="*", TAG+="systemd"