mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
42 lines
980 B
YAML
42 lines
980 B
YAML
# Don't touch this file otherwise your device may stop working.
|
|
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
|
|
kvmd:
|
|
server:
|
|
host: 127.0.0.1
|
|
port: 8081
|
|
|
|
hid:
|
|
reset_pin: 4
|
|
device: /dev/kvmd-hid
|
|
|
|
atx:
|
|
power_led_pin: 24
|
|
hdd_led_pin: 22
|
|
power_switch_pin: 23
|
|
reset_switch_pin: 27
|
|
|
|
msd:
|
|
target_pin: 12
|
|
reset_pin: 13
|
|
device: /dev/kvmd-msd
|
|
|
|
streamer:
|
|
host: 127.0.0.1
|
|
port: 8082
|
|
cmd:
|
|
- "/usr/bin/ustreamer"
|
|
- "--device=/dev/kvmd-video"
|
|
- "--device-persistent"
|
|
- "--format=uyvy"
|
|
- "--encoder=omx"
|
|
- "--workers=3"
|
|
- "--quality={quality}"
|
|
- "--desired-fps={desired_fps}"
|
|
- "--dv-timings"
|
|
- "--host={host}"
|
|
- "--port={port}"
|
|
- "--drop-same-frames=30"
|
|
|
|
logging: !include logging.yaml
|