mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 18:11:54 +08:00
v2 configs
This commit is contained in:
52
configs/kvmd/main/v2-hdmi.conf
Normal file
52
configs/kvmd/main/v2-hdmi.conf
Normal file
@@ -0,0 +1,52 @@
|
||||
# Don't touch this file otherwise your device may stop working.
|
||||
# Use override.yaml to modify required settings.
|
||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
||||
|
||||
override: !include override.yaml
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
server:
|
||||
unix: /run/kvmd/kvmd.sock
|
||||
unix_rm: true
|
||||
unix_mode: 0660
|
||||
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: otg
|
||||
keyboard:
|
||||
device: /dev/kvmd/kvmd-hid-keyboard
|
||||
|
||||
atx:
|
||||
type: disabled
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
desired_fps: 30
|
||||
max_fps: 60
|
||||
unix: /run/kvmd/ustreamer.sock
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--dv-timings"
|
||||
- "--format=uyvy"
|
||||
- "--encoder=omx"
|
||||
- "--glitched-resolutions=720x480,720x576"
|
||||
- "--workers=3"
|
||||
- "--quality={quality}"
|
||||
- "--desired-fps={desired_fps}"
|
||||
- "--drop-same-frames=30"
|
||||
- "--last-as-blank=0"
|
||||
- "--unix={unix}"
|
||||
- "--unix-rm"
|
||||
- "--unix-mode=0660"
|
||||
- "--no-log-colors"
|
||||
|
||||
ipmi:
|
||||
kvmd:
|
||||
unix: /run/kvmd/kvmd.sock
|
||||
10
configs/os/boot-config/v2-hdmi-rpi4.txt
Normal file
10
configs/os/boot-config/v2-hdmi-rpi4.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
# See /boot/overlays/README for all available options
|
||||
initramfs initramfs-linux.img followkernel
|
||||
|
||||
hdmi_force_hotplug=1
|
||||
gpu_mem=256
|
||||
start_x=1
|
||||
enable_uart=1
|
||||
dtoverlay=tc358743
|
||||
dtoverlay=pi3-disable-bt
|
||||
dtoverlay=dwc2
|
||||
1
configs/os/cmdline/v2-hdmi.sed
Normal file
1
configs/os/cmdline/v2-hdmi.sed
Normal file
@@ -0,0 +1 @@
|
||||
s/rootwait/cma=128M rootwait/g
|
||||
3
configs/os/modules-load/v2-hdmi.conf
Normal file
3
configs/os/modules-load/v2-hdmi.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
dwc2
|
||||
libcomposite
|
||||
tc358743
|
||||
6
configs/os/udev/v2-hdmi-rpi4.rules
Normal file
6
configs/os/udev/v2-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", GROUP="kvmd", SYMLINK+="kvmd-video"
|
||||
KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.4:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
|
||||
KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard"
|
||||
KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse"
|
||||
Reference in New Issue
Block a user