zz-video.rules.in: New udev rule to allow reading video device 29/26129/2
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 2 Mar 2021 13:43:10 +0000 (15:43 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 9 Mar 2021 10:26:57 +0000 (10:26 +0000)
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

recipes-graphics/wayland/weston-init/zz-video.rules.in [new file with mode: 0644]
recipes-graphics/wayland/weston-init_agldemo.inc

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 (file)
index 0000000..1dfa3c1
--- /dev/null
@@ -0,0 +1 @@
+SUBSYSTEM=="video4linux", MODE="0660", KERNEL=="video*", GROUP="display", SECLABEL{smack}="*", TAG+="systemd"
index 2ee4cec..56a9d4b 100644 (file)
@@ -24,6 +24,7 @@ WIFILES = " \
     file://zz-dri.rules.in \
     file://zz-input.rules.in \
     file://zz-tty.rules.in \
+    file://zz-video.rules.in \
 "
 
 WIFILES_append_imx = " \