summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2021-07-02 14:43:50 +0200
committerFranck Bui <fbui@suse.com>2021-07-05 11:56:10 +0200
commitf1232f5e38ce9dce21530f5b74eb4dd8780a0aa3 (patch)
treed8aeaeb25bb4c448963306db96b4a6a98a1594fd
parent7802260baa551eee208e63c65598436f75ff84ee (diff)
downloadsystemd-f1232f5e38ce9dce21530f5b74eb4dd8780a0aa3.tar.gz
login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag
This assumes that (vesa)fb driver is used as fallback.
-rw-r--r--hwdb.d/60-seat.hwdb7
-rw-r--r--src/login/71-seat.rules.in5
2 files changed, 7 insertions, 5 deletions
diff --git a/hwdb.d/60-seat.hwdb b/hwdb.d/60-seat.hwdb
index ed30019901..fcb8f53cd1 100644
--- a/hwdb.d/60-seat.hwdb
+++ b/hwdb.d/60-seat.hwdb
@@ -27,3 +27,10 @@ fb:pci:v000018CAd00000020*
# device instead.
fb:pci:v00001414d00005353*
ID_TAG_MASTER_OF_SEAT=1
+
+#########################################
+# Parallels
+#########################################
+
+fb:pci:v00001ab8d00004005*
+ ID_TAG_MASTER_OF_SEAT=1
diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
index 923cccdd29..25e4ee7e58 100644
--- a/src/login/71-seat.rules.in
+++ b/src/login/71-seat.rules.in
@@ -47,11 +47,6 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUT
# http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
SUBSYSTEM=="pci", ATTR{vendor}=="0x1b36", ATTR{device}=="0x000a", TAG+="seat", ENV{ID_AUTOSEAT}="1"
-# Video adapter of Parallels virtualization platform
-# Seat should be synthesized for it. But there's no in-kernel driver for this
-# device so matching by vid/pid.
-SUBSYSTEM=="pci", ATTRS{vendor}=="0x1ab8", ATTRS{device}=="0x4005", TAG+="seat", TAG+="master-of-seat"
-
# Mimo 720, with integrated USB hub, displaylink graphics, and e2i
# touchscreen. This device carries no proper VID/PID in the USB hub,
# but it does carry good ID data in the graphics component, hence we