os configs

This commit is contained in:
Devaev Maxim
2019-02-16 21:16:53 +03:00
parent 7d79f48fd8
commit 303715ee61
20 changed files with 69 additions and 6 deletions

View File

@@ -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

View File

@@ -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