diff options
author | Devaev Maxim <[email protected]> | 2018-09-26 02:57:24 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-09-26 02:57:24 +0300 |
commit | 81a5311349564a1016c4af2bf18ae872b650e85b (patch) | |
tree | d01fd027948494e22ae2c14334b98c1515e5e8a4 /configs/kvmd | |
parent | f3946f102fc167efdc53c73412b2c0d6ac6c72c5 (diff) |
moved kvmd to the root
Diffstat (limited to 'configs/kvmd')
-rw-r--r-- | configs/kvmd/v1.yaml | 76 | ||||
-rw-r--r-- | configs/kvmd/v2.yaml | 72 |
2 files changed, 148 insertions, 0 deletions
diff --git a/configs/kvmd/v1.yaml b/configs/kvmd/v1.yaml new file mode 100644 index 00000000..bd763c81 --- /dev/null +++ b/configs/kvmd/v1.yaml @@ -0,0 +1,76 @@ +kvmd: + server: + host: localhost + port: 8081 + heartbeat: 3.0 + + hid: + device: /dev/ttyAMA0 + 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" + - "--tv-standard=pal" + - "--format=yuyv" + - "--encoder=omx" + - "--jpeg-quality={quality}" + - "--width=720" + - "--height=576" + - "--fake-width=800" + - "--fake-height=600" + - "--host=localhost" + - "--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 diff --git a/configs/kvmd/v2.yaml b/configs/kvmd/v2.yaml new file mode 100644 index 00000000..09c4eb33 --- /dev/null +++ b/configs/kvmd/v2.yaml @@ -0,0 +1,72 @@ +kvmd: + server: + host: localhost + port: 8081 + heartbeat: 3.0 + + hid: + device: /dev/ttyAMA0 + 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: -1 + conv: -1 + + sync_delay: 0.0 + init_delay: 1.0 + init_restart_after: 0.0 + shutdown_delay: 10.0 + + quality: 80 + + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-streamer" + - "--format=uyvy" + - "--encoder=omx" + - "--jpeg-quality={quality}" + - "--dv-timings" + - "--host=localhost" + - "--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 |