We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ed952 commit 31f4742Copy full SHA for 31f4742
utilities/sdsio-server.py
@@ -890,6 +890,7 @@ async def start(self):
890
dev_class = usb1.HOTPLUG_MATCH_ANY
891
)
892
except (AttributeError, usb1.USBError):
893
+ # Hotplug not available; use polling monitor thread
894
self.running = True
895
self._monitor_thread = threading.Thread(
896
target=self._monitor_loop,
@@ -915,6 +916,8 @@ async def start(self):
915
916
x.submit()
917
self.in_transfers.append(x)
918
919
+ # Mark server active in the normal path too (hotplug working)
920
+ self.running = True
921
printer.info(f"USB Server running.")
922
923
# start polling thread
0 commit comments