diff options
author | Devaev Maxim <[email protected]> | 2019-05-21 04:38:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-05-21 04:38:21 +0300 |
commit | b9e6ffee9756dadb769dc6391d8cd1e6570e4632 (patch) | |
tree | 82c9f3ab014f57a4569de9c030050e6880750f9e /configs/kvmd | |
parent | d5d07c48c0f7c4bdf51f330d976de3cab86bb069 (diff) |
v0 configs
Diffstat (limited to 'configs/kvmd')
-rw-r--r-- | configs/kvmd/main/v0-hdmi.yaml | 46 | ||||
-rw-r--r-- | configs/kvmd/main/v0-vga.yaml | 47 |
2 files changed, 93 insertions, 0 deletions
diff --git a/configs/kvmd/main/v0-hdmi.yaml b/configs/kvmd/main/v0-hdmi.yaml new file mode 100644 index 00000000..a76cbb70 --- /dev/null +++ b/configs/kvmd/main/v0-hdmi.yaml @@ -0,0 +1,46 @@ +# Don't touch this file otherwise your device may stop working. +# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd. + +logging: !include logging.yaml + +kvmd: + server: + unix: /run/kvmd/kvmd.sock + unix_rm: true + unix_mode: 0660 + + auth: !include auth.yaml + + hid: + reset_pin: 4 + device: /dev/kvmd-hid + + atx: + power_led_pin: 24 + hdd_led_pin: 22 + power_switch_pin: 23 + reset_switch_pin: 27 + + msd: + enabled: false + + streamer: + unix: /run/kvmd/ustreamer.sock + 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" + - "--unix={unix}" + - "--unix-rm" + - "--unix-mode=0660" + +ipmi: + kvmd: + unix: /run/kvmd/kvmd.sock diff --git a/configs/kvmd/main/v0-vga.yaml b/configs/kvmd/main/v0-vga.yaml new file mode 100644 index 00000000..4b8a418f --- /dev/null +++ b/configs/kvmd/main/v0-vga.yaml @@ -0,0 +1,47 @@ +# Don't touch this file otherwise your device may stop working. +# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd. + +logging: !include logging.yaml + +kvmd: + server: + unix: /run/kvmd/kvmd.sock + unix_rm: true + unix_mode: 0660 + + auth: !include auth.yaml + + hid: + reset_pin: 4 + device: /dev/kvmd-hid + + atx: + power_led_pin: 24 + hdd_led_pin: 22 + power_switch_pin: 23 + reset_switch_pin: 27 + + msd: + enabled: false + + streamer: + unix: /run/kvmd/ustreamer.sock + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-video" + - "--tv-standard=pal" + - "--format=yuyv" + - "--encoder=cpu" + - "--quality={quality}" + - "--desired-fps={desired_fps}" + - "--width=720" + - "--height=576" + - "--fake-width=800" + - "--fake-height=600" + - "--unix={unix}" + - "--unix-rm" + - "--unix-mode=0660" + +ipmi: + kvmd: + unix: /run/kvmd/kvmd.sock |