summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-30 10:13:13 +0300
committerDevaev Maxim <[email protected]>2019-09-30 10:13:13 +0300
commitb106716ce0d3347e995538349a413e5ae890549b (patch)
tree74ee1210c280c5aa40351684c1b758a3cc24d777
parent4e262c7c003259a3391fff0a045161ab903e98bf (diff)
changed otg gadget name to kvmd
-rw-r--r--kvmd/apps/__init__.py2
-rw-r--r--kvmd/apps/otgmsd/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index b04f13a6..ae5368b4 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -245,7 +245,7 @@ def _get_config_scheme() -> Dict:
},
"otg": {
- "gadget": Option("pikvm"),
+ "gadget": Option("kvmd"),
"vendor_id": Option(0x1D6B, type=valid_number), # Linux Foundation
"product_id": Option(0x0104, type=valid_number), # Multifunction Composite Gadget
"manufacturer": Option("Pi-KVM"),
diff --git a/kvmd/apps/otgmsd/__init__.py b/kvmd/apps/otgmsd/__init__.py
index ef341dec..5116922c 100644
--- a/kvmd/apps/otgmsd/__init__.py
+++ b/kvmd/apps/otgmsd/__init__.py
@@ -61,7 +61,7 @@ def main() -> None:
parser = argparse.ArgumentParser(description="KVMD OTG MSD Helper")
parser.add_argument("--reset", action="store_true", help="Send SIGUSR1 to MSD kernel thread")
parser.add_argument("--set-image", dest="image_path", default=None, help="Change active image path")
- parser.add_argument("--gadget", default="pikvm", help="USB gadget name")
+ parser.add_argument("--gadget", default="kvmd", help="USB gadget name")
options = parser.parse_args()
if options.reset: