From fbd4f60d8265fac4c7050102c369d399173dbd82 Mon Sep 17 00:00:00 2001 From: Andi Radulescu Date: Mon, 9 Feb 2026 22:53:35 +0200 Subject: [PATCH] fix usb connect on macos (#2326) fix claim on macos --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/__init__.py b/python/__init__.py index 11f9ac65..b3c93e5a 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -274,7 +274,7 @@ class Panda: handle = device.open() if sys.platform not in ("win32", "cygwin", "msys", "darwin"): handle.setAutoDetachKernelDriver(True) - if claim: + if claim or sys.platform == "darwin": handle.claimInterface(0) # handle.setInterfaceAltSetting(0, 0) # Issue in USB stack