IQ.Pilot Release Commit @ 92b3bb6

This commit is contained in:
IQ.Lvbs CI [bot]
2026-08-31 21:43:09 -05:00
parent dec9bace9f
commit 091e08e893
9 changed files with 125 additions and 2 deletions

View File

@@ -300,6 +300,10 @@ def main(demo: bool = False) -> None:
cloudlog.error(f"iqegpumodeld giving up after {attempt} setup failures; exiting for a clean restart")
sys.exit(1)
if not usbgpu_present():
from iqpilot.system.hardware.usb import ensure_host_role
if ensure_host_role():
cloudlog.warning("iqegpumodeld: Type-C controller was out of host mode; restored")
time.sleep(2.0)
_wait_for_egpu(params)
time.sleep(min(SETUP_RETRY_MAX_S, SETUP_RETRY_BASE_S * attempt))