From: Mike Lothian Date: Tue, 26 Feb 2019 21:24:43 +0000 (+0000) Subject: login: HyperV requires master-of-seat to be set X-Git-Tag: v242-rc1~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17f377efd0be6f50450c62ac9c6e9c5dcef6a53d;p=thirdparty%2Fsystemd.git login: HyperV requires master-of-seat to be set v2: Update comment provided by Lennart Fixes: https://github.com/systemd/systemd/issues/11299 --- diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in index 8049be48c71..a5928b0a4f3 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"