From 273f90ee03d919e1960e9aa749716da75a4b78f3 Mon Sep 17 00:00:00 2001 From: Yura80 Date: Sat, 12 Dec 2020 01:45:42 -0500 Subject: Support of alternative boards/SBCs (#19) * adding rock64 board * fix file permissions * disable atx gpio for rock64 (breaks ethernet); restore package url; fix install * added gpio pin definitions to config * renamed rock64 board to generic * udev rule for generic board, improved device detection * this udev fix should work for most boards: it skips video0 if it's not on USB, and doesn't select video2 * cleanup * improved usb video device selection --- configs/os/udev/v2-hdmiusb-generic.rules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 configs/os/udev/v2-hdmiusb-generic.rules (limited to 'configs/os/udev/v2-hdmiusb-generic.rules') diff --git a/configs/os/udev/v2-hdmiusb-generic.rules b/configs/os/udev/v2-hdmiusb-generic.rules new file mode 100644 index 00000000..85c22237 --- /dev/null +++ b/configs/os/udev/v2-hdmiusb-generic.rules @@ -0,0 +1,5 @@ +# 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", SUBSYSTEMS=="usb", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video" +KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard" +KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse" -- cgit v1.2.3