From: Franck Bui Date: Fri, 2 Jul 2021 12:43:50 +0000 (+0200) Subject: login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag X-Git-Tag: v249~12^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20092%2Fhead;p=thirdparty%2Fsystemd.git 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. --- 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