From ae840adbe14a8423b34dd1f4289ef4e15b00aaa5 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 2 Mar 2021 15:43:10 +0200 Subject: 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 Change-Id: Ib545dff4ce0a4cb6b668b343cd7de7e95317eea5 --- recipes-graphics/wayland/weston-init/zz-video.rules.in | 1 + recipes-graphics/wayland/weston-init_agldemo.inc | 1 + 2 files changed, 2 insertions(+) create mode 100644 recipes-graphics/wayland/weston-init/zz-video.rules.in 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" diff --git a/recipes-graphics/wayland/weston-init_agldemo.inc b/recipes-graphics/wayland/weston-init_agldemo.inc index 2ee4cecdb..56a9d4bff 100644 --- a/recipes-graphics/wayland/weston-init_agldemo.inc +++ b/recipes-graphics/wayland/weston-init_agldemo.inc @@ -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 = " \ -- cgit 1.2.3-korg