From 4d7b439443070d15c21e0f6cfa763656b85fe0ac Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 31 Aug 2020 21:00:15 +0300 Subject: rpi1 --- configs/os/udev/v0-hdmi-rpi.rules | 4 ++++ configs/os/udev/v0-hdmiusb-rpi.rules | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 configs/os/udev/v0-hdmi-rpi.rules create mode 100644 configs/os/udev/v0-hdmiusb-rpi.rules (limited to 'configs/os/udev') diff --git a/configs/os/udev/v0-hdmi-rpi.rules b/configs/os/udev/v0-hdmi-rpi.rules new file mode 100644 index 00000000..90812eaa --- /dev/null +++ b/configs/os/udev/v0-hdmi-rpi.rules @@ -0,0 +1,4 @@ +# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name +# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="20801000.csi|20801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" diff --git a/configs/os/udev/v0-hdmiusb-rpi.rules b/configs/os/udev/v0-hdmiusb-rpi.rules new file mode 100644 index 00000000..933f7337 --- /dev/null +++ b/configs/os/udev/v0-hdmiusb-rpi.rules @@ -0,0 +1,4 @@ +# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name +# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names +KERNEL=="video0", SUBSYSTEM=="video4linux", GROUP="kvmd", SYMLINK+="kvmd-video" +KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" -- cgit v1.2.3