projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ac7b6
)
login: HyperV requires master-of-seat to be set
author
Mike Lothian
<mike@fireburn.co.uk>
Tue, 26 Feb 2019 21:24:43 +0000
(21:24 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 4 Mar 2019 11:04:53 +0000
(12:04 +0100)
v2: Update comment provided by Lennart
Fixes: https://github.com/systemd/systemd/issues/11299
src/login/71-seat.rules.in
patch
|
blob
|
history
diff --git
a/src/login/71-seat.rules.in
b/src/login/71-seat.rules.in
index
8049be4
..
a5928b0
100644
(file)
--- 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"