From 5df65b35f484763e6db366040d240933b63c7543 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 7 Oct 2018 22:18:11 +0300 Subject: renamed platform configs --- configs/kvmd/v1-hdmi.yaml | 82 +++++++++++++++++++++++++++++++++++++++++++++ configs/kvmd/v1-vga.yaml | 85 +++++++++++++++++++++++++++++++++++++++++++++++ configs/kvmd/v1.yaml | 85 ----------------------------------------------- configs/kvmd/v2.yaml | 82 --------------------------------------------- 4 files changed, 167 insertions(+), 167 deletions(-) create mode 100644 configs/kvmd/v1-hdmi.yaml create mode 100644 configs/kvmd/v1-vga.yaml delete mode 100644 configs/kvmd/v1.yaml delete mode 100644 configs/kvmd/v2.yaml diff --git a/configs/kvmd/v1-hdmi.yaml b/configs/kvmd/v1-hdmi.yaml new file mode 100644 index 00000000..b7eb4f29 --- /dev/null +++ b/configs/kvmd/v1-hdmi.yaml @@ -0,0 +1,82 @@ +kvmd: + server: + host: localhost + port: 8081 + heartbeat: 3.0 + + hid: + pinout: + reset: 4 + + device: /dev/ttyAMA0 + speed: 115200 + reset_delay: 0.1 + + 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: + 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 + + quality: 20 + + cmd: + - "/usr/bin/ustreamer" + - "--device=/dev/kvmd-streamer" + - "--format=uyvy" + - "--encoder=omx" + - "--quality={quality}" + - "--dv-timings" + - "--host=localhost" + - "--port=8082" + - "--drop-same-frames=30" + +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/v1-vga.yaml b/configs/kvmd/v1-vga.yaml new file mode 100644 index 00000000..a01435e2 --- /dev/null +++ b/configs/kvmd/v1-vga.yaml @@ -0,0 +1,85 @@ +kvmd: + server: + host: localhost + port: 8081 + heartbeat: 3.0 + + hid: + pinout: + reset: 4 + + device: /dev/ttyAMA0 + speed: 115200 + reset_delay: 0.1 + + 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: + 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: 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=cpu" + - "--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/v1.yaml b/configs/kvmd/v1.yaml deleted file mode 100644 index a01435e2..00000000 --- a/configs/kvmd/v1.yaml +++ /dev/null @@ -1,85 +0,0 @@ -kvmd: - server: - host: localhost - port: 8081 - heartbeat: 3.0 - - hid: - pinout: - reset: 4 - - device: /dev/ttyAMA0 - speed: 115200 - reset_delay: 0.1 - - 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: - 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: 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=cpu" - - "--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 deleted file mode 100644 index b7eb4f29..00000000 --- a/configs/kvmd/v2.yaml +++ /dev/null @@ -1,82 +0,0 @@ -kvmd: - server: - host: localhost - port: 8081 - heartbeat: 3.0 - - hid: - pinout: - reset: 4 - - device: /dev/ttyAMA0 - speed: 115200 - reset_delay: 0.1 - - 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: - 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 - - quality: 20 - - cmd: - - "/usr/bin/ustreamer" - - "--device=/dev/kvmd-streamer" - - "--format=uyvy" - - "--encoder=omx" - - "--quality={quality}" - - "--dv-timings" - - "--host=localhost" - - "--port=8082" - - "--drop-same-frames=30" - -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 -- cgit v1.2.3