From 253231adaced32440e0b334e72100bfcbe8ced47 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 27 Dec 2024 03:01:18 +0200 Subject: enabled remote wakeup by default --- configs/kvmd/main/v4mini-hdmi-rpi4.yaml | 4 ---- configs/kvmd/main/v4plus-hdmi-rpi4.yaml | 4 ---- kvmd/apps/__init__.py | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/configs/kvmd/main/v4mini-hdmi-rpi4.yaml b/configs/kvmd/main/v4mini-hdmi-rpi4.yaml index 0ab4412f..117637ab 100644 --- a/configs/kvmd/main/v4mini-hdmi-rpi4.yaml +++ b/configs/kvmd/main/v4mini-hdmi-rpi4.yaml @@ -97,7 +97,3 @@ vnc: sink: "kvmd::ustreamer::jpeg" h264: sink: "kvmd::ustreamer::h264" - - -otg: - remote_wakeup: true diff --git a/configs/kvmd/main/v4plus-hdmi-rpi4.yaml b/configs/kvmd/main/v4plus-hdmi-rpi4.yaml index 484b728a..7b979dc6 100644 --- a/configs/kvmd/main/v4plus-hdmi-rpi4.yaml +++ b/configs/kvmd/main/v4plus-hdmi-rpi4.yaml @@ -100,7 +100,3 @@ vnc: sink: "kvmd::ustreamer::jpeg" h264: sink: "kvmd::ustreamer::h264" - - -otg: - remote_wakeup: true diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 8a1fc96e..7357307f 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -563,7 +563,7 @@ def _get_config_scheme() -> dict: "device_version": Option(-1, type=functools.partial(valid_number, min=-1, max=0xFFFF)), "usb_version": Option(0x0200, type=valid_otg_id), "max_power": Option(250, type=functools.partial(valid_number, min=50, max=500)), - "remote_wakeup": Option(False, type=valid_bool), + "remote_wakeup": Option(True, type=valid_bool), "gadget": Option("kvmd", type=valid_otg_gadget), "config": Option("PiKVM device", type=valid_stripped_string_not_empty), -- cgit v1.2.3