diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-03-02 15:43:10 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-03-09 10:26:57 +0000 |
commit | ae840adbe14a8423b34dd1f4289ef4e15b00aaa5 (patch) | |
tree | 607b6fc07fdaa7120ec5a34c043c5c518e906868 | |
parent | f6e5bcfc00d7a0672bb1c0e11f740d8108892c2a (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
-rw-r--r-- | recipes-graphics/wayland/weston-init/zz-video.rules.in | 1 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston-init_agldemo.inc | 1 |
2 files changed, 2 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" 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 = " \ |