summaryrefslogtreecommitdiff
path: root/configs/os/udev/v4plus-hdmi-rpi4.rules
diff options
context:
space:
mode:
Diffstat (limited to 'configs/os/udev/v4plus-hdmi-rpi4.rules')
-rw-r--r--configs/os/udev/v4plus-hdmi-rpi4.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/os/udev/v4plus-hdmi-rpi4.rules b/configs/os/udev/v4plus-hdmi-rpi4.rules
index 88ba66b1..87cfc700 100644
--- a/configs/os/udev/v4plus-hdmi-rpi4.rules
+++ b/configs/os/udev/v4plus-hdmi-rpi4.rules
@@ -4,3 +4,4 @@ KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="fe801000.csi|fe801000
KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard"
KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse"
KERNEL=="hidg2", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse-alt"
+SUBSYSTEM=="drm", ACTION=="change", ENV{DEVLINKS}=="/dev/dri/by-path/platform-gpu-card", RUN+="/usr/bin/kvmd-udev-restart-pass %k %E{CONNECTOR}"