diff --git a/config/main.yaml b/config/main.yaml index a3dac126..664a0471 100644 --- a/config/main.yaml +++ b/config/main.yaml @@ -35,6 +35,7 @@ kvmd: - 800x600 - 720x576 - 720x480 + - 640x480 cmd: - "/usr/bin/ustreamer" - "--device=/dev/kvmd-video" @@ -51,6 +52,8 @@ kvmd: - "--process-name-prefix={process_name_prefix}" - "--notify-parent" - "--no-log-colors" + - "--sink=kvmd::ustreamer::jpeg" + - "--sink-mode=0660" vnc: diff --git a/config/override.yaml b/config/override.yaml index 63f664c2..4ee8e24e 100644 --- a/config/override.yaml +++ b/config/override.yaml @@ -20,6 +20,9 @@ kvmd: type: disabled gpio: drivers: + wol_server1: + type: wol + mac: 2c:56:dc:db:7c:1e short_press: type: cmd cmd: [/usr/bin/sudo, short_press_gpio420] @@ -27,6 +30,11 @@ kvmd: type: cmd cmd: [/usr/bin/sudo, long_press_gpio420] scheme: + wol_server1: + driver: wol_server1 + pin: 0 + mode: output + switch: false short_button: driver: short_press pin: 0 @@ -45,3 +53,6 @@ kvmd: - [] - ["#短按(开/关机):", short_button|按下] - ["#长按(强制关机):", long_button|按下] + - [] + - ["#网络唤醒"] + - ["#被控机设备", wol_server1|网络唤醒]