summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-12-27 03:01:18 +0200
committerMaxim Devaev <[email protected]>2024-12-27 03:01:18 +0200
commit253231adaced32440e0b334e72100bfcbe8ced47 (patch)
tree852f9f49b509973cdeddc65f86fc2e22694a736a
parente4910578916a55d09c72e4255f7254e1d7ee7469 (diff)
enabled remote wakeup by default
-rw-r--r--configs/kvmd/main/v4mini-hdmi-rpi4.yaml4
-rw-r--r--configs/kvmd/main/v4plus-hdmi-rpi4.yaml4
-rw-r--r--kvmd/apps/__init__.py2
3 files changed, 1 insertions, 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),