mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
nextgen
This commit is contained in:
21
configs/os/boot-config/v4mini-hdmi-rpi4.txt
Normal file
21
configs/os/boot-config/v4mini-hdmi-rpi4.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# PiKVM
|
||||
# See /boot/overlays/README for all available options
|
||||
initramfs initramfs-linux.img followkernel
|
||||
|
||||
hdmi_force_hotplug=1
|
||||
gpu_mem=128
|
||||
enable_uart=1
|
||||
dtoverlay=disable-bt
|
||||
|
||||
# USB emulation
|
||||
dtoverlay=dwc2,dr_mode=peripheral
|
||||
|
||||
# Video and audio
|
||||
dtoverlay=tc358743,4lane=1
|
||||
dtoverlay=tc358743-audio
|
||||
|
||||
# I2C (display)
|
||||
dtparam=i2c_arm=on
|
||||
|
||||
# Clock
|
||||
dtoverlay=i2c-rtc,pcf8563
|
||||
21
configs/os/boot-config/v4plus-hdmi-rpi4.txt
Normal file
21
configs/os/boot-config/v4plus-hdmi-rpi4.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# PiKVM
|
||||
# See /boot/overlays/README for all available options
|
||||
initramfs initramfs-linux.img followkernel
|
||||
|
||||
hdmi_force_hotplug=1
|
||||
gpu_mem=128
|
||||
enable_uart=1
|
||||
dtoverlay=disable-bt
|
||||
|
||||
# USB emulation
|
||||
dtoverlay=dwc2,dr_mode=peripheral
|
||||
|
||||
# Video and audio
|
||||
dtoverlay=tc358743,4lane=1
|
||||
dtoverlay=tc358743-audio
|
||||
|
||||
# I2C (display)
|
||||
dtparam=i2c_arm=on
|
||||
|
||||
# Clock
|
||||
dtoverlay=i2c-rtc,pcf8563
|
||||
1
configs/os/cmdline/v4mini-hdmi-rpi4.sed
Normal file
1
configs/os/cmdline/v4mini-hdmi-rpi4.sed
Normal file
@@ -0,0 +1 @@
|
||||
s/rootwait/cma=128M rootwait/g
|
||||
1
configs/os/cmdline/v4plus-hdmi-rpi4.sed
Normal file
1
configs/os/cmdline/v4plus-hdmi-rpi4.sed
Normal file
@@ -0,0 +1 @@
|
||||
s/rootwait/cma=128M rootwait/g
|
||||
4
configs/os/modules-load/v4mini-hdmi.conf
Normal file
4
configs/os/modules-load/v4mini-hdmi.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
dwc2
|
||||
libcomposite
|
||||
tc358743
|
||||
i2c-dev
|
||||
4
configs/os/modules-load/v4plus-hdmi.conf
Normal file
4
configs/os/modules-load/v4plus-hdmi.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
dwc2
|
||||
libcomposite
|
||||
tc358743
|
||||
i2c-dev
|
||||
2
configs/os/sudoers/v4mini-hdmi
Normal file
2
configs/os/sudoers/v4mini-hdmi
Normal file
@@ -0,0 +1,2 @@
|
||||
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-remount
|
||||
kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
|
||||
2
configs/os/sudoers/v4plus-hdmi
Normal file
2
configs/os/sudoers/v4plus-hdmi
Normal file
@@ -0,0 +1,2 @@
|
||||
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-remount
|
||||
kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
|
||||
6
configs/os/udev/v4mini-hdmi-rpi4.rules
Normal file
6
configs/os/udev/v4mini-hdmi-rpi4.rules
Normal file
@@ -0,0 +1,6 @@
|
||||
# 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=="fe801000.csi|fe801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd"
|
||||
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"
|
||||
6
configs/os/udev/v4plus-hdmi-rpi4.rules
Normal file
6
configs/os/udev/v4plus-hdmi-rpi4.rules
Normal file
@@ -0,0 +1,6 @@
|
||||
# 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=="fe801000.csi|fe801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd"
|
||||
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"
|
||||
Reference in New Issue
Block a user