diff options
Diffstat (limited to 'configs/kvmd/v2.yaml')
-rw-r--r-- | configs/kvmd/v2.yaml | 72 |
1 files changed, 72 insertions, 0 deletions
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 |