summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-24 05:50:21 +0300
committerDevaev Maxim <[email protected]>2019-09-24 05:50:21 +0300
commite97a2ea251dc2063998122f750940cf8e690d211 (patch)
treead14f1be5ff626302315d27a1189e2a46a798e8c /kvmd/apps/__init__.py
parentaee005787c1c1082e50224fc492409e49b60d389 (diff)
otg service and helper
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py11
1 files changed, 11 insertions, 0 deletions
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),