diff options
author | Devaev Maxim <[email protected]> | 2019-02-16 21:16:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-16 21:16:53 +0300 |
commit | 303715ee613fca518644df63c10be3c06d4bfa72 (patch) | |
tree | 05fa4600ba5873827e0d2871f6e6c2a702f7472d /configs/kvmd/main | |
parent | 7d79f48fd87083ffe38158fc456cad4737ab0242 (diff) |
os configs
Diffstat (limited to 'configs/kvmd/main')
-rw-r--r-- | configs/kvmd/main/v1-hdmi.yaml | 41 | ||||
-rw-r--r-- | configs/kvmd/main/v1-vga.yaml | 45 |
2 files changed, 86 insertions, 0 deletions
diff --git a/configs/kvmd/main/v1-hdmi.yaml b/configs/kvmd/main/v1-hdmi.yaml new file mode 100644 index 00000000..ed5edb7d --- /dev/null +++ b/configs/kvmd/main/v1-hdmi.yaml @@ -0,0 +1,41 @@ +# Don't touch this file otherwise your device may stop working. +# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd. + +kvmd: + server: + host: 127.0.0.1 + port: 8081 + + 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: + target_pin: 12 + reset_pin: 13 + device: /dev/kvmd-msd + + streamer: + host: 127.0.0.1 + port: 8082 + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-video" + - "--device-persistent" + - "--format=uyvy" + - "--encoder=omx" + - "--workers=3" + - "--quality={quality}" + - "--desired-fps={desired_fps}" + - "--dv-timings" + - "--host={host}" + - "--port={port}" + - "--drop-same-frames=30" + +logging: !include logging.yaml diff --git a/configs/kvmd/main/v1-vga.yaml b/configs/kvmd/main/v1-vga.yaml new file mode 100644 index 00000000..8cb931b5 --- /dev/null +++ b/configs/kvmd/main/v1-vga.yaml @@ -0,0 +1,45 @@ +# Don't touch this file otherwise your device may stop working. +# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd. + +kvmd: + server: + host: 127.0.0.1 + port: 8081 + + 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: + target_pin: 12 + reset_pin: 13 + device: /dev/kvmd-msd + + streamer: + cap_pin: 17 + conv_pin: 18 + init_restart_after: 1 + host: 127.0.0.1 + port: 8082 + 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" + - "--host={host}" + - "--port={port}" + +logging: !include logging.yaml |