]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag 20092/head
authorFranck Bui <fbui@suse.com>
Fri, 2 Jul 2021 12:43:50 +0000 (14:43 +0200)
committerFranck Bui <fbui@suse.com>
Mon, 5 Jul 2021 09:56:10 +0000 (11:56 +0200)
This assumes that (vesa)fb driver is used as fallback.

hwdb.d/60-seat.hwdb
src/login/71-seat.rules.in

index ed3001990104222e28ce3fe3f2c08108ff473c89..fcb8f53cd1e21e5c7c3c0acac0977eab523f5f4c 100644 (file)
@@ -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
index 923cccdd29a7a00ae5058e530edababd38c208e4..25e4ee7e589377ad659d5eb415f7d01408ab1ad7 100644 (file)
@@ -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