From 46a4e4e4f43625686e73db8523bbfc9abaed558f Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 23 Nov 2022 15:33:04 -0500 Subject: output-udev-conf: add recipe Add recipe to install udev rules to force all input devices to be associated with the HDMI-A-1 output. The intended use is with the KVM host image to ensure input devices are matched to the IVI guest VM. Also fixed the RDEPENDS for the other udev rule recipes to depend on udev specifically instead of systemd. Bug-AGL: SPEC-4618 Change-Id: Ic2efe01f7aed85f89dbda3cb958332ed5db799a1 Signed-off-by: Scott Murray --- recipes-core/udev/output-udev-conf/91-output.rules | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-core/udev/output-udev-conf/91-output.rules (limited to 'recipes-core/udev/output-udev-conf') diff --git a/recipes-core/udev/output-udev-conf/91-output.rules b/recipes-core/udev/output-udev-conf/91-output.rules new file mode 100644 index 000000000..89af46452 --- /dev/null +++ b/recipes-core/udev/output-udev-conf/91-output.rules @@ -0,0 +1,6 @@ +# Associate all input devices with the first display +# +# NOTE: Can be more selective with something like: +# SUBSYSTEM=="input", ATTRS{idVendor}=="*", ATTRS{idProduct}=="004a", OWNER="display", ENV{ID_SEAT}="seat0", ENV{WL_OUTPUT}="HDMI-A-1" +# +SUBSYSTEM=="input", OWNER="display", ENV{ID_SEAT}="seat0", ENV{WL_OUTPUT}="HDMI-A-1" -- cgit 1.2.3-korg