summaryrefslogtreecommitdiff
path: root/configs/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-11-08 17:20:06 +0300
committerDevaev Maxim <[email protected]>2019-11-08 17:20:06 +0300
commit976130bcd9ba2822428f5358efe5e9395b89a55f (patch)
treeab0380b7ffbc18a98a9c08c39324ebf4d6a69941 /configs/kvmd
parentfa40676136483dd287caf5df324ca429e5adbace (diff)
zerow configs
Diffstat (limited to 'configs/kvmd')
-rw-r--r--configs/kvmd/main/v0-hdmi-rpi2.yaml (renamed from configs/kvmd/main/v0-hdmi.yaml)0
-rw-r--r--configs/kvmd/main/v0-hdmi-rpi3.yaml54
-rw-r--r--configs/kvmd/main/v0-vga-rpi2.yaml (renamed from configs/kvmd/main/v0-vga.yaml)0
-rw-r--r--configs/kvmd/main/v0-vga-rpi3.yaml55
-rw-r--r--configs/kvmd/main/v1-hdmi-rpi2.yaml (renamed from configs/kvmd/main/v1-hdmi.yaml)0
-rw-r--r--configs/kvmd/main/v1-hdmi-rpi3.yaml57
-rw-r--r--configs/kvmd/main/v1-vga-rpi2.yaml (renamed from configs/kvmd/main/v1-vga.yaml)0
-rw-r--r--configs/kvmd/main/v1-vga-rpi3.yaml61
-rw-r--r--configs/kvmd/main/v2-hdmi-rpi4.yaml (renamed from configs/kvmd/main/v2-hdmi.yaml)0
-rw-r--r--configs/kvmd/main/v2-hdmi-zerow.yaml56
10 files changed, 283 insertions, 0 deletions
diff --git a/configs/kvmd/main/v0-hdmi.yaml b/configs/kvmd/main/v0-hdmi-rpi2.yaml
index 3840d16e..3840d16e 100644
--- a/configs/kvmd/main/v0-hdmi.yaml
+++ b/configs/kvmd/main/v0-hdmi-rpi2.yaml
diff --git a/configs/kvmd/main/v0-hdmi-rpi3.yaml b/configs/kvmd/main/v0-hdmi-rpi3.yaml
new file mode 100644
index 00000000..3840d16e
--- /dev/null
+++ b/configs/kvmd/main/v0-hdmi-rpi3.yaml
@@ -0,0 +1,54 @@
+# Don't touch this file otherwise your device may stop working.
+# Use override.yaml to modify required settings.
+# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
+
+override: !include override.yaml
+
+logging: !include logging.yaml
+
+kvmd:
+ server:
+ unix: /run/kvmd/kvmd.sock
+
+ auth: !include auth.yaml
+
+ hid:
+ type: serial
+ reset_pin: 4
+ device: /dev/kvmd-hid
+
+ atx:
+ type: gpio
+ power_led_pin: 24
+ hdd_led_pin: 22
+ power_switch_pin: 23
+ reset_switch_pin: 27
+
+ msd:
+ type: disabled
+
+ streamer:
+ unix: /run/kvmd/ustreamer.sock
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-video"
+ - "--persistent"
+ - "--dv-timings"
+ - "--format=uyvy"
+ - "--encoder=omx"
+ - "--glitched-resolutions=720x480,720x576"
+ - "--workers=3"
+ - "--quality={quality}"
+ - "--desired-fps={desired_fps}"
+ - "--drop-same-frames=30"
+ - "--last-as-blank=0"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
+ - "--exit-on-parent-death"
+ - "--process-name-prefix={process_name_prefix}"
+ - "--no-log-colors"
+
+ipmi:
+ kvmd:
+ unix: /run/kvmd/kvmd.sock
diff --git a/configs/kvmd/main/v0-vga.yaml b/configs/kvmd/main/v0-vga-rpi2.yaml
index cc3ff62a..cc3ff62a 100644
--- a/configs/kvmd/main/v0-vga.yaml
+++ b/configs/kvmd/main/v0-vga-rpi2.yaml
diff --git a/configs/kvmd/main/v0-vga-rpi3.yaml b/configs/kvmd/main/v0-vga-rpi3.yaml
new file mode 100644
index 00000000..cc3ff62a
--- /dev/null
+++ b/configs/kvmd/main/v0-vga-rpi3.yaml
@@ -0,0 +1,55 @@
+# Don't touch this file otherwise your device may stop working.
+# Use override.yaml to modify required settings.
+# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
+
+override: !include override.yaml
+
+logging: !include logging.yaml
+
+kvmd:
+ server:
+ unix: /run/kvmd/kvmd.sock
+
+ auth: !include auth.yaml
+
+ hid:
+ type: serial
+ reset_pin: 4
+ device: /dev/kvmd-hid
+
+ atx:
+ type: gpio
+ power_led_pin: 24
+ hdd_led_pin: 22
+ power_switch_pin: 23
+ reset_switch_pin: 27
+
+ msd:
+ type: disabled
+
+ streamer:
+ sync_delay: 1.0
+ init_delay: 3.0
+ desired_fps: 0
+ unix: /run/kvmd/ustreamer.sock
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-video"
+ - "--tv-standard=pal"
+ - "--format=yuyv"
+ - "--encoder=cpu"
+ - "--quality={quality}"
+ - "--desired-fps={desired_fps}"
+ - "--resolution=720x576"
+ - "--fake-resolution=800x600"
+ - "--last-as-blank=0"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
+ - "--exit-on-parent-death"
+ - "--process-name-prefix={process_name_prefix}"
+ - "--no-log-colors"
+
+ipmi:
+ kvmd:
+ unix: /run/kvmd/kvmd.sock
diff --git a/configs/kvmd/main/v1-hdmi.yaml b/configs/kvmd/main/v1-hdmi-rpi2.yaml
index f24bfccf..f24bfccf 100644
--- a/configs/kvmd/main/v1-hdmi.yaml
+++ b/configs/kvmd/main/v1-hdmi-rpi2.yaml
diff --git a/configs/kvmd/main/v1-hdmi-rpi3.yaml b/configs/kvmd/main/v1-hdmi-rpi3.yaml
new file mode 100644
index 00000000..f24bfccf
--- /dev/null
+++ b/configs/kvmd/main/v1-hdmi-rpi3.yaml
@@ -0,0 +1,57 @@
+# Don't touch this file otherwise your device may stop working.
+# Use override.yaml to modify required settings.
+# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
+
+override: !include override.yaml
+
+logging: !include logging.yaml
+
+kvmd:
+ server:
+ unix: /run/kvmd/kvmd.sock
+
+ auth: !include auth.yaml
+
+ hid:
+ type: serial
+ reset_pin: 4
+ device: /dev/kvmd-hid
+
+ atx:
+ type: gpio
+ power_led_pin: 24
+ hdd_led_pin: 22
+ power_switch_pin: 23
+ reset_switch_pin: 27
+
+ msd:
+ type: relay
+ target_pin: 12
+ reset_pin: 13
+ device: /dev/kvmd-msd
+
+ streamer:
+ unix: /run/kvmd/ustreamer.sock
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-video"
+ - "--persistent"
+ - "--dv-timings"
+ - "--format=uyvy"
+ - "--encoder=omx"
+ - "--glitched-resolutions=720x480,720x576"
+ - "--workers=3"
+ - "--quality={quality}"
+ - "--desired-fps={desired_fps}"
+ - "--drop-same-frames=30"
+ - "--last-as-blank=0"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
+ - "--exit-on-parent-death"
+ - "--process-name-prefix={process_name_prefix}"
+ - "--no-log-colors"
+
+ipmi:
+ kvmd:
+ unix: /run/kvmd/kvmd.sock
diff --git a/configs/kvmd/main/v1-vga.yaml b/configs/kvmd/main/v1-vga-rpi2.yaml
index 43b3349a..43b3349a 100644
--- a/configs/kvmd/main/v1-vga.yaml
+++ b/configs/kvmd/main/v1-vga-rpi2.yaml
diff --git a/configs/kvmd/main/v1-vga-rpi3.yaml b/configs/kvmd/main/v1-vga-rpi3.yaml
new file mode 100644
index 00000000..43b3349a
--- /dev/null
+++ b/configs/kvmd/main/v1-vga-rpi3.yaml
@@ -0,0 +1,61 @@
+# Don't touch this file otherwise your device may stop working.
+# Use override.yaml to modify required settings.
+# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
+
+override: !include override.yaml
+
+logging: !include logging.yaml
+
+kvmd:
+ server:
+ unix: /run/kvmd/kvmd.sock
+
+ auth: !include auth.yaml
+
+ hid:
+ type: serial
+ reset_pin: 4
+ device: /dev/kvmd-hid
+
+ atx:
+ type: gpio
+ power_led_pin: 24
+ hdd_led_pin: 22
+ power_switch_pin: 23
+ reset_switch_pin: 27
+
+ msd:
+ type: relay
+ target_pin: 12
+ reset_pin: 13
+ device: /dev/kvmd-msd
+
+ streamer:
+ cap_pin: 17
+ conv_pin: 18
+ sync_delay: 1.0
+ init_delay: 3.0
+ init_restart_after: 1.0
+ desired_fps: 0
+ unix: /run/kvmd/ustreamer.sock
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-video"
+ - "--tv-standard=pal"
+ - "--format=yuyv"
+ - "--encoder=cpu"
+ - "--quality={quality}"
+ - "--desired-fps={desired_fps}"
+ - "--resolution=720x576"
+ - "--fake-resolution=800x600"
+ - "--last-as-blank=0"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
+ - "--exit-on-parent-death"
+ - "--process-name-prefix={process_name_prefix}"
+ - "--no-log-colors"
+
+ipmi:
+ kvmd:
+ unix: /run/kvmd/kvmd.sock
diff --git a/configs/kvmd/main/v2-hdmi.yaml b/configs/kvmd/main/v2-hdmi-rpi4.yaml
index 32904c20..32904c20 100644
--- a/configs/kvmd/main/v2-hdmi.yaml
+++ b/configs/kvmd/main/v2-hdmi-rpi4.yaml
diff --git a/configs/kvmd/main/v2-hdmi-zerow.yaml b/configs/kvmd/main/v2-hdmi-zerow.yaml
new file mode 100644
index 00000000..842d750e
--- /dev/null
+++ b/configs/kvmd/main/v2-hdmi-zerow.yaml
@@ -0,0 +1,56 @@
+# Don't touch this file otherwise your device may stop working.
+# Use override.yaml to modify required settings.
+# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
+
+override: !include override.yaml
+
+logging: !include logging.yaml
+
+kvmd:
+ server:
+ unix: /run/kvmd/kvmd.sock
+
+ auth: !include auth.yaml
+
+ hid:
+ type: otg
+ keyboard:
+ device: /dev/kvmd-hid-keyboard
+ mouse:
+ device: /dev/kvmd-hid-mouse
+
+ atx:
+ type: gpio
+ power_led_pin: 24
+ hdd_led_pin: 22
+ power_switch_pin: 23
+ reset_switch_pin: 27
+
+ msd:
+ type: otg
+
+ streamer:
+ unix: /run/kvmd/ustreamer.sock
+ cmd:
+ - "/usr/bin/ustreamer"
+ - "--device=/dev/kvmd-video"
+ - "--persistent"
+ - "--dv-timings"
+ - "--format=uyvy"
+ - "--encoder=omx"
+ - "--glitched-resolutions=720x480,720x576"
+ - "--workers=1"
+ - "--quality={quality}"
+ - "--desired-fps={desired_fps}"
+ - "--drop-same-frames=30"
+ - "--last-as-blank=0"
+ - "--unix={unix}"
+ - "--unix-rm"
+ - "--unix-mode=0660"
+ - "--exit-on-parent-death"
+ - "--process-name-prefix={process_name_prefix}"
+ - "--no-log-colors"
+
+ipmi:
+ kvmd:
+ unix: /run/kvmd/kvmd.sock