mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# 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
|
|
unix_rm: true
|
|
unix_mode: 0660
|
|
|
|
auth: !include auth.yaml
|
|
|
|
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:
|
|
enabled: false
|
|
|
|
streamer:
|
|
desired_fps: 30
|
|
max_fps: 60
|
|
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"
|
|
- "--unix={unix}"
|
|
- "--unix-rm"
|
|
- "--unix-mode=0660"
|
|
|
|
ipmi:
|
|
kvmd:
|
|
unix: /run/kvmd/kvmd.sock
|