From 20ca88fe589e159c283ef1e0df089e6b5f4a0181 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Sun, 5 Mar 2023 09:21:45 -0500 Subject: udev: Fix up comments in udev rule Over the many changes to the udev rules, the comments at the top have become a little disheveled. This commit fixes that up. Spotted by Adam Williamson --- data/61-gdm.rules.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in index b5a0144d..a4f841bd 100644 --- a/data/61-gdm.rules.in +++ b/data/61-gdm.rules.in @@ -1,13 +1,13 @@ SUBSYSTEM!="pci", GOTO="gdm_pci_device_end" ACTION!="bind", ACTION!="add", GOTO="gdm_pci_device_end" -# identify virtio graphics cards to find passthrough setups # cirrus ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end" +# virtio ATTR{vendor}=="0x1af4", ATTR{device}=="0x1050", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end" -# vga -ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end" # qxl +ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end" +# vga ATTR{vendor}=="0x1234", ATTR{device}=="0x1111", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end" # disable Wayland on Hi1710 chipsets -- cgit v1.2.1