I am trying to open the CommunicationControl class IOUSBHostInterface in my USB driver, but it only seems to open on iPad Airs and not iPad Pros.
I'm calling
ivars->interruptInterface->Open(this, 0, NULL);
After retrieving the interruptInterface from the device's InterfaceIterator. I try and open this, but on iPad Pros it returns kIOReturnNotOpen. I've tried closing and reopening the IOUSBHostDevice, closing and reopening the Interface, AbortDeviceRequests before opening, etc. but it just seems to work on iPad Air and not iPad Pro.
I've tried on both iPadOS 17.6.1 and 18.2
Has anyone else seen this?
Post
Replies
Boosts
Views
Activity
I'm trying to copy a DriverKit project's dext output after building it, but it's not getting signed in the DerivedData until after the copy to my location. I've tried to select the "Code Sign On Copy" option in the Copy Files steps, but the checkbox is just not there (there's some kind of text box there instead that doesn't take any text?). It works for every other Copy Files selection; it only doesn't work for drivers.
I've also tried adding the CodeSignOnCopy attribute to the .dext product in the xcode project's Copy Files step manually without using the Xcode UI, but that doesn't do anything either.
Is there a way to set this attribute or otherwise mimic its functionality?