mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
otg service and helper
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user