From: Marius Vlad Date: Tue, 2 Mar 2021 13:43:10 +0000 (+0200) Subject: zz-video.rules.in: New udev rule to allow reading video device X-Git-Tag: 11.91.0~8 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=ae840adbe14a8423b34dd1f4289ef4e15b00aaa5;p=AGL%2Fmeta-agl-demo.git 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 --- 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 = " \