diff options
-rw-r--r-- | configs/kvmd/main/v0-hdmi.yaml | 2 | ||||
-rw-r--r-- | configs/kvmd/main/v0-vga.yaml | 2 | ||||
-rw-r--r-- | kvmd/apps/__init__.py | 6 | ||||
-rw-r--r-- | kvmd/plugins/atx/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/plugins/atx/disabled.py (renamed from kvmd/plugins/atx/none.py) | 0 | ||||
-rw-r--r-- | kvmd/plugins/hid/serial.py (renamed from kvmd/plugins/hid/tty.py) | 0 | ||||
-rw-r--r-- | kvmd/plugins/msd/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/plugins/msd/disabled.py (renamed from kvmd/plugins/msd/none.py) | 0 |
8 files changed, 9 insertions, 5 deletions
diff --git a/configs/kvmd/main/v0-hdmi.yaml b/configs/kvmd/main/v0-hdmi.yaml index 44469158..37e9f755 100644 --- a/configs/kvmd/main/v0-hdmi.yaml +++ b/configs/kvmd/main/v0-hdmi.yaml @@ -25,7 +25,7 @@ kvmd: reset_switch_pin: 27 msd: - type: none + type: disabled streamer: desired_fps: 30 diff --git a/configs/kvmd/main/v0-vga.yaml b/configs/kvmd/main/v0-vga.yaml index 0d510743..d70648c4 100644 --- a/configs/kvmd/main/v0-vga.yaml +++ b/configs/kvmd/main/v0-vga.yaml @@ -25,7 +25,7 @@ kvmd: reset_switch_pin: 27 msd: - type: none + type: disabled streamer: unix: /run/kvmd/ustreamer.sock diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 60df70fc..a17a89c5 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -169,6 +169,7 @@ def _get_config_scheme(sections: List[str]) -> Dict: "internal": { "type": Option("htpasswd"), "force_users": Option([], type=valid_users_list), + # Dynamic content }, "external": { "type": Option(""), @@ -181,15 +182,18 @@ def _get_config_scheme(sections: List[str]) -> Dict: }, "hid": { - "type": Option("tty"), + "type": Option("serial"), + # Dynamic content }, "atx": { "type": Option("gpio"), + # Dynamic content }, "msd": { "type": Option("relay"), + # Dynamic content }, "streamer": { diff --git a/kvmd/plugins/atx/__init__.py b/kvmd/plugins/atx/__init__.py index 77091c07..da08afd5 100644 --- a/kvmd/plugins/atx/__init__.py +++ b/kvmd/plugins/atx/__init__.py @@ -79,4 +79,4 @@ class BaseAtx(BasePlugin): # ===== def get_atx_class(name: str) -> Type[BaseAtx]: - return get_plugin_class("atx", (name or "none")) # type: ignore + return get_plugin_class("atx", (name or "disabled")) # type: ignore diff --git a/kvmd/plugins/atx/none.py b/kvmd/plugins/atx/disabled.py index 09fad2f8..09fad2f8 100644 --- a/kvmd/plugins/atx/none.py +++ b/kvmd/plugins/atx/disabled.py diff --git a/kvmd/plugins/hid/tty.py b/kvmd/plugins/hid/serial.py index 18930504..18930504 100644 --- a/kvmd/plugins/hid/tty.py +++ b/kvmd/plugins/hid/serial.py diff --git a/kvmd/plugins/msd/__init__.py b/kvmd/plugins/msd/__init__.py index 64d339eb..2c46a663 100644 --- a/kvmd/plugins/msd/__init__.py +++ b/kvmd/plugins/msd/__init__.py @@ -110,4 +110,4 @@ class BaseMsd(BasePlugin): # ===== def get_msd_class(name: str) -> Type[BaseMsd]: - return get_plugin_class("msd", (name or "none")) # type: ignore + return get_plugin_class("msd", (name or "disabled")) # type: ignore diff --git a/kvmd/plugins/msd/none.py b/kvmd/plugins/msd/disabled.py index dab0f406..dab0f406 100644 --- a/kvmd/plugins/msd/none.py +++ b/kvmd/plugins/msd/disabled.py |