summaryrefslogtreecommitdiff
path: root/configs/kvmd/platforms/kvmd.v1-hdmi.yaml
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-16 09:35:34 +0300
committerDevaev Maxim <[email protected]>2018-11-16 09:35:34 +0300
commitf38b6ae595da8e203d451c9b85fa9e24eb872c70 (patch)
tree6903aae1e91198b4aeb0ca75113d17ba29d33924 /configs/kvmd/platforms/kvmd.v1-hdmi.yaml
parentcd6e490d0f68147980dcf62bea5aace1b05d59e6 (diff)
refactoring
Diffstat (limited to 'configs/kvmd/platforms/kvmd.v1-hdmi.yaml')
-rw-r--r--configs/kvmd/platforms/kvmd.v1-hdmi.yaml80
1 files changed, 80 insertions, 0 deletions
diff --git a/configs/kvmd/platforms/kvmd.v1-hdmi.yaml b/configs/kvmd/platforms/kvmd.v1-hdmi.yaml
new file mode 100644
index 00000000..43b3278e
--- /dev/null
+++ b/configs/kvmd/platforms/kvmd.v1-hdmi.yaml
@@ -0,0 +1,80 @@
+# Don't touch this file otherwise your device may stop working.
+# You can find a workable configuration in /usr/share/kvmd/configs/kvmd.
+
+kvmd:
+ server:
+ host: 127.0.0.1
+ port: 8081
+ heartbeat: 3.0
+
+ info:
+ meta: /etc/kvmd/meta.yaml
+
+ log:
+ services:
+ - kvmd.service
+ - kvmd-tc358743.service
+
+ hid:
+ pinout:
+ reset: 4
+
+ device: /dev/ttyAMA0
+ speed: 115200
+ reset_delay: 0.1
+
+ atx:
+ pinout:
+ power_led: 24
+ hdd_led: 22
+ power_switch: 23
+ reset_switch: 27
+
+ click_delay: 0.1
+ long_click_delay: 5.5
+ state_poll: 0.1
+
+ msd:
+ pinout:
+ target: 12
+ reset: 13
+
+ device: "/dev/kvmd-msd"
+ init_delay: 2.0
+ reset_delay: 1.0
+ write_meta: true
+ chunk_size: 65536
+
+ streamer:
+ pinout:
+ cap: -1
+ conv: -1
+
+ sync_delay: 0.0
+ init_delay: 1.0
+ init_restart_after: 0.0
+ shutdown_delay: 10.0
+ state_poll: 1.0
+
+ quality: 80
+ desired_fps: 0
+
+ host: 127.0.0.1
+ port: 8082
+ timeout: 2.0
+
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-streamer"
+ - "--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