Skip to content

Failure claim interface with MacOS Big Sur #246

@almatthew

Description

@almatthew

I'm unable to flash an i.mx6 device using uuu version uuu_1.4.43 in MacOS Big Sur. Specifically, I get the error:

20:34    1/ 2 [Failure claim interface               ] ... 

Digging a bit more in dmesg, I find:

[  977.389928]: 000977.389927 uuu@: AppleUSBHostUserClient::openGated: could not open provider Freescale Flash. provider already opened for exclusive access by a kernel client

Looking at ioreg, I find:

| +-o AppleUSB20HubPort@14340000  <class IORegistryEntry:IOService:AppleUSBHostPort:AppleUSBHubPort:AppleUSB20HubPort, id 0x100000ad2, registered, matched, active, busy 0 (31 m$
  |   +-o SE Blank ARIK@14340000  <class IORegistryEntry:IOService:IOUSBNub:IOUSBDevice, id 0x100000b1a, registered, matched, active, busy 0 (31 ms), retain 32>
  |     | {
  |     |   "sessionID" = 44121558910
  |     |   "USBSpeed" = 3
  |     |   "IOServiceLegacyMatchingRegistryID" = 4294970140
  |     |   "idProduct" = 84
  |     |   "iManufacturer" = 1
  |     |   "bDeviceClass" = 0
  |     |   "IOPowerManagement" = {"PowerOverrideOn"=Yes,"CapabilityFlags"=32768,"MaxPowerState"=2,"DevicePowerState"=2,"DriverPowerState"=0,"ChildrenPowerState"=1,"CurrentPowerS$
  |     |   "bcdDevice" = 1
  |     |   "bMaxPacketSize0" = 64
  |     |   "iProduct" = 2
  |     |   "iSerialNumber" = 0
  |     |   "bNumConfigurations" = 1
  |     |   "USB Product Name" = "SE Blank ARIK"
  |     |   "USB Address" = 2
  |     |   "locationID" = 338952192
  |     |   "bDeviceSubClass" = 0
  |     |   "bcdUSB" = 512
  |     |   "Built-In" = No
  |     |   "non-removable" = "no"
  |     |   "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBHostFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
  |     |   "kUSBCurrentConfiguration" = 1
  |     |   "bDeviceProtocol" = 0
  |     |   "USBPortType" = 0
  |     |   "IOServiceDEXTEntitlements" = (("com.apple.developer.driverkit.transport.usb"))
  |     |   "USB Vendor Name" = "Freescale SemiConductor Inc "
  |     |   "Device Speed" = 2
  |     |   "idVendor" = 5538
  |     |   "kUSBProductString" = "SE Blank ARIK"
  |     |   "IOGeneralInterest" = "IOCommand is not serializable"
  |     |   "kUSBAddress" = 2
  |     |   "kUSBVendorString" = "Freescale SemiConductor Inc "
  |     |   "IOClassNameOverride" = "IOUSBDevice"
  |     | }
  |     | 
  |     +-o AppleUSBHostLegacyClient  <class IORegistryEntry:IOService:AppleUSBHostLegacyClient, id 0x100000b1d, !registered, !matched, active, busy 0, retain 8>
  |     +-o AppleUSBHostCompositeDevice  <class IORegistryEntry:IOService:AppleUSBHostCompositeDevice, id 0x100000b25, !registered, !matched, active, busy 0, retain 4>
  |     +-o Freescale Flash@0  <class IORegistryEntry:IOService:IOUSBNub:IOUSBInterface, id 0x100000b27, registered, matched, active, busy 0 (23 ms), retain 12>
  |     | +-o AppleUserUSBHostHIDDevice  <class IORegistryEntry:IOService:IOHIDDevice:AppleUserHIDDevice, id 0x100000b29, registered, matched, active, busy 0 (3 ms), retain 13>
  |     |   +-o IOHIDInterface  <class IORegistryEntry:IOService:IOHIDInterface, id 0x100000b4a, registered, matched, active, busy 0 (2 ms), retain 9>
  |     +-o Google Chrome  <class IORegistryEntry:IOService:IOUserClient:IOUSBDeviceUserClient:IOUSBDeviceUserClientV2:IOUSBInterfaceUserClient:IOUSBInterfaceUserClientV2:IOUSBIn$

This same devices flashes just fine in Linux. This appears to be due to some driver conflict in MacOS, but it is not clear to me how to further debug this. Any support is greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions