From e97a2ea251dc2063998122f750940cf8e690d211 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 24 Sep 2019 05:50:21 +0300 Subject: otg service and helper --- kvmd/apps/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'kvmd/apps/__init__.py') diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 9ec8050d..1f937241 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -241,6 +241,17 @@ def _get_config_scheme() -> Dict: }, }, + "otg": { + "gadget": Option("pikvm"), + "vendor_id": Option(0x1D6B, type=valid_number), # Linux Foundation + "product_id": Option(0x0104, type=valid_number), # Multifunction Composite Gadget + "manufacturer": Option("Pi-KVM"), + "product": Option("Composite KVM Device"), + "serial_number": Option("CAFEBABE"), + "udc": Option(""), + "acm": Option(True, type=valid_bool), + }, + "ipmi": { "server": { "host": Option("::", type=valid_ip_or_host), -- cgit v1.2.3