From f1232f5e38ce9dce21530f5b74eb4dd8780a0aa3 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 2 Jul 2021 14:43:50 +0200 Subject: [PATCH] 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. --- hwdb.d/60-seat.hwdb | 7 +++++++ src/login/71-seat.rules.in | 5 ----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hwdb.d/60-seat.hwdb b/hwdb.d/60-seat.hwdb index ed300199010..fcb8f53cd1e 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 923cccdd29a..25e4ee7e589 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