From 17f377efd0be6f50450c62ac9c6e9c5dcef6a53d Mon Sep 17 00:00:00 2001 From: Mike Lothian Date: Tue, 26 Feb 2019 21:24:43 +0000 Subject: [PATCH] login: HyperV requires master-of-seat to be set v2: Update comment provided by Lennart Fixes: https://github.com/systemd/systemd/issues/11299 --- src/login/71-seat.rules.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in index 8049be48c7..a5928b0a4f 100644 --- a/src/login/71-seat.rules.in +++ b/src/login/71-seat.rules.in @@ -13,6 +13,10 @@ TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat" SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat" SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat" SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat" + +# HyperV currently doesn't do DRM, hence we need to synthesize for HyperV's fb device instead +SUBSYSTEM=="graphics", KERNEL=="fb[0-9]", DRIVERS=="hyperv_fb", TAG+="master-of-seat" + SUBSYSTEM=="drm", KERNEL=="card[0-9]*", TAG+="seat", TAG+="master-of-seat" SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"