From: Roman Kulikov Date: Tue, 15 Jan 2019 16:05:18 +0000 (+0300) Subject: logind: udev rule for Parallels video adapter X-Git-Tag: v242-rc1~257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e3480ebc097a8336633436f412a9c08902962ad;p=thirdparty%2Fsystemd.git logind: udev rule for Parallels video adapter This enables graphical capability for a video adapter of Parallels virtualization platform (Parallels Desktop for Mac product) which is not a DRM device at the moment. This fixes GUI in Fedora 29 guest on Parallels Desktop where gdm now strictly checks for CanGraphical property of a seat, see [1]. Should be noted that there's no in-kernel driver for Parallels video at the moment so device matching is done by vid/pid. [1] https://gitlab.gnome.org/GNOME/gdm/merge_requests/37 --- diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in index 1f309003924..8049be48c71 100644 --- a/src/login/71-seat.rules.in +++ b/src/login/71-seat.rules.in @@ -24,6 +24,11 @@ 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