summaryrefslogtreecommitdiff
path: root/testenv/kvmd.yaml
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-09-26 02:57:24 +0300
committerDevaev Maxim <[email protected]>2018-09-26 02:57:24 +0300
commit81a5311349564a1016c4af2bf18ae872b650e85b (patch)
treed01fd027948494e22ae2c14334b98c1515e5e8a4 /testenv/kvmd.yaml
parentf3946f102fc167efdc53c73412b2c0d6ac6c72c5 (diff)
moved kvmd to the root
Diffstat (limited to 'testenv/kvmd.yaml')
-rw-r--r--testenv/kvmd.yaml71
1 files changed, 71 insertions, 0 deletions
diff --git a/testenv/kvmd.yaml b/testenv/kvmd.yaml
new file mode 100644
index 00000000..a94dcb2b
--- /dev/null
+++ b/testenv/kvmd.yaml
@@ -0,0 +1,71 @@
+kvmd:
+ server:
+ host: 0.0.0.0
+ port: 8081
+ heartbeat: 3.0
+
+ hid:
+ device: /dev/ttyS10
+ speed: 115200
+
+ atx:
+ pinout:
+ power_led: 16
+ hdd_led: 12
+ power_switch: 26
+ reset_switch: 20
+
+ click_delay: 0.1
+ long_click_delay: 5.5
+
+ state_poll: 0.1
+
+ msd:
+ device: "/dev/kvmd-msd"
+ init_delay: 2.0
+ write_meta: true
+ chunk_size: 65536
+
+ streamer:
+ pinout:
+ cap: 21
+ conv: 25
+
+ sync_delay: 1.0
+ init_delay: 1.0
+ init_restart_after: 1.0
+ shutdown_delay: 10.0
+
+ quality: 80
+
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-streamer"
+ - "--jpeg-quality={quality}"
+ - "--width=800"
+ - "--height=600"
+ - "--host=0.0.0.0"
+ - "--port=8082"
+
+logging:
+ version: 1
+ disable_existing_loggers: false
+
+ formatters:
+ console:
+ (): logging.Formatter
+ style: "{"
+ datefmt: "%H:%M:%S"
+ format: "[{asctime}] {name:20.20} {levelname:>7} --- {message}"
+
+ handlers:
+ console:
+ level: DEBUG
+ class: logging.StreamHandler
+ stream: ext://sys.stdout
+ formatter: console
+
+ root:
+ level: INFO
+ handlers:
+ - console