diff options
author | Maxim Devaev <[email protected]> | 2023-08-04 00:37:41 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-08-04 00:37:41 +0300 |
commit | 318724e3ae43ee561892a29f4f3f075e81293d06 (patch) | |
tree | 10108d2052b79bb4cee47082dd48ca4f0cff2deb /configs/kvmd/main | |
parent | c96057772c8d845c90ad7429e51689eeffb63d71 (diff) |
v1
Diffstat (limited to 'configs/kvmd/main')
-rw-r--r-- | configs/kvmd/main/v1-hdmi-rpi2.yaml | 47 | ||||
-rw-r--r-- | configs/kvmd/main/v1-hdmi-rpi3.yaml | 63 | ||||
-rw-r--r-- | configs/kvmd/main/v1-hdmi-zero2w.yaml | 63 | ||||
-rw-r--r-- | configs/kvmd/main/v1-hdmiusb-rpi2.yaml | 59 | ||||
-rw-r--r-- | configs/kvmd/main/v1-hdmiusb-rpi3.yaml | 67 | ||||
-rw-r--r-- | configs/kvmd/main/v1-hdmiusb-zero2w.yaml | 67 |
6 files changed, 366 insertions, 0 deletions
diff --git a/configs/kvmd/main/v1-hdmi-rpi2.yaml b/configs/kvmd/main/v1-hdmi-rpi2.yaml new file mode 100644 index 00000000..c4d75748 --- /dev/null +++ b/configs/kvmd/main/v1-hdmi-rpi2.yaml @@ -0,0 +1,47 @@ +# 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.d, override.yaml] + +logging: !include logging.yaml + +kvmd: + auth: !include auth.yaml + + hid: + type: spi + chip: 0 + bus: 0 + sw_cs_pin: 7 + sw_cs_per_byte: true + reset_pin: 25 + reset_inverted: true + reset_self: true + + atx: + type: gpio + + msd: + type: disabled + + streamer: + 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" diff --git a/configs/kvmd/main/v1-hdmi-rpi3.yaml b/configs/kvmd/main/v1-hdmi-rpi3.yaml new file mode 100644 index 00000000..e5421544 --- /dev/null +++ b/configs/kvmd/main/v1-hdmi-rpi3.yaml @@ -0,0 +1,63 @@ +# 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.d, override.yaml] + +logging: !include logging.yaml + +kvmd: + auth: !include auth.yaml + + hid: + type: spi + chip: 0 + bus: 0 + sw_cs_pin: 7 + sw_cs_per_byte: true + reset_pin: 25 + reset_inverted: true + reset_self: true + + atx: + type: gpio + + msd: + type: disabled + + streamer: + 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}" + + +vnc: + memsink: + jpeg: + sink: "kvmd::ustreamer::jpeg" + h264: + sink: "kvmd::ustreamer::h264" diff --git a/configs/kvmd/main/v1-hdmi-zero2w.yaml b/configs/kvmd/main/v1-hdmi-zero2w.yaml new file mode 100644 index 00000000..e5421544 --- /dev/null +++ b/configs/kvmd/main/v1-hdmi-zero2w.yaml @@ -0,0 +1,63 @@ +# 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.d, override.yaml] + +logging: !include logging.yaml + +kvmd: + auth: !include auth.yaml + + hid: + type: spi + chip: 0 + bus: 0 + sw_cs_pin: 7 + sw_cs_per_byte: true + reset_pin: 25 + reset_inverted: true + reset_self: true + + atx: + type: gpio + + msd: + type: disabled + + streamer: + 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}" + + +vnc: + memsink: + jpeg: + sink: "kvmd::ustreamer::jpeg" + h264: + sink: "kvmd::ustreamer::h264" diff --git a/configs/kvmd/main/v1-hdmiusb-rpi2.yaml b/configs/kvmd/main/v1-hdmiusb-rpi2.yaml new file mode 100644 index 00000000..d2c6be4b --- /dev/null +++ b/configs/kvmd/main/v1-hdmiusb-rpi2.yaml @@ -0,0 +1,59 @@ +# 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.d, override.yaml] + +logging: !include logging.yaml + +kvmd: + auth: !include auth.yaml + + hid: + type: spi + chip: 0 + bus: 0 + sw_cs_pin: 7 + sw_cs_per_byte: true + reset_pin: 25 + reset_inverted: true + reset_self: true + + atx: + type: gpio + + msd: + type: disabled + + streamer: + quality: 0 + resolution: + default: 1920x1080 + available: + - 1920x1080 + - 1600x1200 + - 1360x768 + - 1280x1024 + - 1280x960 + - 1280x720 + - 1024x768 + - 800x600 + - 720x576 + - 720x480 + - 640x480 + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-video" + - "--persistent" + - "--format=mjpeg" + - "--resolution={resolution}" + - "--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" diff --git a/configs/kvmd/main/v1-hdmiusb-rpi3.yaml b/configs/kvmd/main/v1-hdmiusb-rpi3.yaml new file mode 100644 index 00000000..ec3fbe21 --- /dev/null +++ b/configs/kvmd/main/v1-hdmiusb-rpi3.yaml @@ -0,0 +1,67 @@ +# 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.d, override.yaml] + +logging: !include logging.yaml + +kvmd: + auth: !include auth.yaml + + hid: + type: spi + chip: 0 + bus: 0 + sw_cs_pin: 7 + sw_cs_per_byte: true + reset_pin: 25 + reset_inverted: true + reset_self: true + + atx: + type: gpio + + msd: + type: disabled + + streamer: + quality: 0 + resolution: + default: 1920x1080 + available: + - 1920x1080 + - 1600x1200 + - 1360x768 + - 1280x1024 + - 1280x960 + - 1280x720 + - 1024x768 + - 800x600 + - 720x576 + - 720x480 + - 640x480 + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-video" + - "--persistent" + - "--format=mjpeg" + - "--resolution={resolution}" + - "--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" + + +vnc: + memsink: + jpeg: + sink: "kvmd::ustreamer::jpeg" diff --git a/configs/kvmd/main/v1-hdmiusb-zero2w.yaml b/configs/kvmd/main/v1-hdmiusb-zero2w.yaml new file mode 100644 index 00000000..ec3fbe21 --- /dev/null +++ b/configs/kvmd/main/v1-hdmiusb-zero2w.yaml @@ -0,0 +1,67 @@ +# 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.d, override.yaml] + +logging: !include logging.yaml + +kvmd: + auth: !include auth.yaml + + hid: + type: spi + chip: 0 + bus: 0 + sw_cs_pin: 7 + sw_cs_per_byte: true + reset_pin: 25 + reset_inverted: true + reset_self: true + + atx: + type: gpio + + msd: + type: disabled + + streamer: + quality: 0 + resolution: + default: 1920x1080 + available: + - 1920x1080 + - 1600x1200 + - 1360x768 + - 1280x1024 + - 1280x960 + - 1280x720 + - 1024x768 + - 800x600 + - 720x576 + - 720x480 + - 640x480 + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-video" + - "--persistent" + - "--format=mjpeg" + - "--resolution={resolution}" + - "--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" + + +vnc: + memsink: + jpeg: + sink: "kvmd::ustreamer::jpeg" |