You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS introduced a security control with BigSur which prevents un trusted developers from detaching the Kernel USB driver. The attached patch file implement the fix.
Please note that I have introduced a new dependency, from packaging import version , to allow a simple version test:
if not sys.platform.startswith('darwin'):
try:
self.device.detach_kernel_driver(0)
except usb.core.USBError as e:
raise BlinkStickException("Could not detach kernel driver: %s" % str(e))
elif version.parse(os.uname().release)<version.parse('20.0.0'):
try:
self.device.detach_kernel_driver(0)
except usb.core.USBError as e:
raise BlinkStickException("Could not detach kernel driver: %s" % str(e))
MacOS introduced a security control with BigSur which prevents un trusted developers from detaching the Kernel USB driver. The attached patch file implement the fix.
Please note that I have introduced a new dependency,
from packaging import version
, to allow a simple version test:The attached file contains the patch
patch-diff.txt
The text was updated successfully, but these errors were encountered: