mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-04 03:42:44 +08:00
v1
This commit is contained in:
47
configs/kvmd/main/v1-hdmi-rpi2.yaml
Normal file
47
configs/kvmd/main/v1-hdmi-rpi2.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
# 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.d, override.yaml]
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: spi
|
||||
chip: 0
|
||||
bus: 0
|
||||
sw_cs_pin: 7
|
||||
sw_cs_per_byte: true
|
||||
reset_pin: 25
|
||||
reset_inverted: true
|
||||
reset_self: true
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--dv-timings"
|
||||
- "--format=uyvy"
|
||||
- "--encoder=omx"
|
||||
- "--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}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
63
configs/kvmd/main/v1-hdmi-rpi3.yaml
Normal file
63
configs/kvmd/main/v1-hdmi-rpi3.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
# 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.d, override.yaml]
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: spi
|
||||
chip: 0
|
||||
bus: 0
|
||||
sw_cs_pin: 7
|
||||
sw_cs_per_byte: true
|
||||
reset_pin: 25
|
||||
reset_inverted: true
|
||||
reset_self: true
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
h264_bitrate:
|
||||
default: 5000
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--dv-timings"
|
||||
- "--format=uyvy"
|
||||
- "--encoder=omx"
|
||||
- "--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}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
- "--sink=kvmd::ustreamer::jpeg"
|
||||
- "--sink-mode=0660"
|
||||
- "--h264-sink=kvmd::ustreamer::h264"
|
||||
- "--h264-sink-mode=0660"
|
||||
- "--h264-bitrate={h264_bitrate}"
|
||||
- "--h264-gop={h264_gop}"
|
||||
|
||||
|
||||
vnc:
|
||||
memsink:
|
||||
jpeg:
|
||||
sink: "kvmd::ustreamer::jpeg"
|
||||
h264:
|
||||
sink: "kvmd::ustreamer::h264"
|
||||
63
configs/kvmd/main/v1-hdmi-zero2w.yaml
Normal file
63
configs/kvmd/main/v1-hdmi-zero2w.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
# 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.d, override.yaml]
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: spi
|
||||
chip: 0
|
||||
bus: 0
|
||||
sw_cs_pin: 7
|
||||
sw_cs_per_byte: true
|
||||
reset_pin: 25
|
||||
reset_inverted: true
|
||||
reset_self: true
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
h264_bitrate:
|
||||
default: 5000
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--dv-timings"
|
||||
- "--format=uyvy"
|
||||
- "--encoder=omx"
|
||||
- "--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}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
- "--sink=kvmd::ustreamer::jpeg"
|
||||
- "--sink-mode=0660"
|
||||
- "--h264-sink=kvmd::ustreamer::h264"
|
||||
- "--h264-sink-mode=0660"
|
||||
- "--h264-bitrate={h264_bitrate}"
|
||||
- "--h264-gop={h264_gop}"
|
||||
|
||||
|
||||
vnc:
|
||||
memsink:
|
||||
jpeg:
|
||||
sink: "kvmd::ustreamer::jpeg"
|
||||
h264:
|
||||
sink: "kvmd::ustreamer::h264"
|
||||
59
configs/kvmd/main/v1-hdmiusb-rpi2.yaml
Normal file
59
configs/kvmd/main/v1-hdmiusb-rpi2.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
# 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.d, override.yaml]
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: spi
|
||||
chip: 0
|
||||
bus: 0
|
||||
sw_cs_pin: 7
|
||||
sw_cs_per_byte: true
|
||||
reset_pin: 25
|
||||
reset_inverted: true
|
||||
reset_self: true
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
quality: 0
|
||||
resolution:
|
||||
default: 1920x1080
|
||||
available:
|
||||
- 1920x1080
|
||||
- 1600x1200
|
||||
- 1360x768
|
||||
- 1280x1024
|
||||
- 1280x960
|
||||
- 1280x720
|
||||
- 1024x768
|
||||
- 800x600
|
||||
- 720x576
|
||||
- 720x480
|
||||
- 640x480
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--format=mjpeg"
|
||||
- "--resolution={resolution}"
|
||||
- "--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}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
67
configs/kvmd/main/v1-hdmiusb-rpi3.yaml
Normal file
67
configs/kvmd/main/v1-hdmiusb-rpi3.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
# 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.d, override.yaml]
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: spi
|
||||
chip: 0
|
||||
bus: 0
|
||||
sw_cs_pin: 7
|
||||
sw_cs_per_byte: true
|
||||
reset_pin: 25
|
||||
reset_inverted: true
|
||||
reset_self: true
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
quality: 0
|
||||
resolution:
|
||||
default: 1920x1080
|
||||
available:
|
||||
- 1920x1080
|
||||
- 1600x1200
|
||||
- 1360x768
|
||||
- 1280x1024
|
||||
- 1280x960
|
||||
- 1280x720
|
||||
- 1024x768
|
||||
- 800x600
|
||||
- 720x576
|
||||
- 720x480
|
||||
- 640x480
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--format=mjpeg"
|
||||
- "--resolution={resolution}"
|
||||
- "--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}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
- "--sink=kvmd::ustreamer::jpeg"
|
||||
- "--sink-mode=0660"
|
||||
|
||||
|
||||
vnc:
|
||||
memsink:
|
||||
jpeg:
|
||||
sink: "kvmd::ustreamer::jpeg"
|
||||
67
configs/kvmd/main/v1-hdmiusb-zero2w.yaml
Normal file
67
configs/kvmd/main/v1-hdmiusb-zero2w.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
# 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.d, override.yaml]
|
||||
|
||||
logging: !include logging.yaml
|
||||
|
||||
kvmd:
|
||||
auth: !include auth.yaml
|
||||
|
||||
hid:
|
||||
type: spi
|
||||
chip: 0
|
||||
bus: 0
|
||||
sw_cs_pin: 7
|
||||
sw_cs_per_byte: true
|
||||
reset_pin: 25
|
||||
reset_inverted: true
|
||||
reset_self: true
|
||||
|
||||
atx:
|
||||
type: gpio
|
||||
|
||||
msd:
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
quality: 0
|
||||
resolution:
|
||||
default: 1920x1080
|
||||
available:
|
||||
- 1920x1080
|
||||
- 1600x1200
|
||||
- 1360x768
|
||||
- 1280x1024
|
||||
- 1280x960
|
||||
- 1280x720
|
||||
- 1024x768
|
||||
- 800x600
|
||||
- 720x576
|
||||
- 720x480
|
||||
- 640x480
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
- "--persistent"
|
||||
- "--format=mjpeg"
|
||||
- "--resolution={resolution}"
|
||||
- "--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}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
- "--sink=kvmd::ustreamer::jpeg"
|
||||
- "--sink-mode=0660"
|
||||
|
||||
|
||||
vnc:
|
||||
memsink:
|
||||
jpeg:
|
||||
sink: "kvmd::ustreamer::jpeg"
|
||||
Reference in New Issue
Block a user