From b66358eea805b7f4175fd3e3a68543e10efc4217 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 14 Mar 2021 22:52:42 +0300 Subject: v3 package --- configs/kvmd/main/v3-hdmi-rpi4.yaml | 92 +++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 configs/kvmd/main/v3-hdmi-rpi4.yaml (limited to 'configs/kvmd') diff --git a/configs/kvmd/main/v3-hdmi-rpi4.yaml b/configs/kvmd/main/v3-hdmi-rpi4.yaml new file mode 100644 index 00000000..c4f5a4af --- /dev/null +++ b/configs/kvmd/main/v3-hdmi-rpi4.yaml @@ -0,0 +1,92 @@ +# 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 + + auth: !include auth.yaml + + hid: + type: otg + keyboard: + device: /dev/kvmd-hid-keyboard + mouse: + device: /dev/kvmd-hid-mouse + + atx: + type: gpio + power_led_pin: 24 + hdd_led_pin: 22 + power_switch_pin: 23 + reset_switch_pin: 27 + + msd: + type: otg + + streamer: + unix: /run/kvmd/ustreamer.sock + h264_bitrate: + default: 5000 + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-video" + - "--persistent" + - "--dv-timings" + - "--format=uyvy" + - "--encoder=omx" + - "--workers=3" + - "--quality={quality}" + - "--desired-fps={desired_fps}" + - "--drop-same-frames=30" + - "--last-as-blank=0" + - "--unix={unix}" + - "--unix-rm" + - "--unix-mode=0660" + - "--exit-on-parent-death" + - "--process-name-prefix={process_name_prefix}" + - "--notify-parent" + - "--no-log-colors" + - "--sink=kvmd::ustreamer::jpeg" + - "--sink-mode=0660" + - "--h264-sink=kvmd::ustreamer::h264" + - "--h264-sink-mode=0660" + - "--h264-bitrate={h264_bitrate}" + - "--h264-gop={h264_gop}" + + gpio: + scheme: + __v3_usb_breaker__: + pin: 5 + mode: output + initial: true + pulse: + delay: 0 + +ipmi: + kvmd: + unix: /run/kvmd/kvmd.sock + +vnc: + kvmd: + unix: /run/kvmd/kvmd.sock + + streamer: + unix: /run/kvmd/ustreamer.sock + + memsink: + jpeg: + sink: "kvmd::ustreamer::jpeg" + h264: + sink: "kvmd::ustreamer::h264" + + server: + tls: + x509: + cert: /etc/kvmd/vnc/ssl/server.crt + key: /etc/kvmd/vnc/ssl/server.key -- cgit v1.2.3