133 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
43
views
AudioDriverKit example driver stops working
What I do:
Build the the AudioDriverKit example driver from Apple and install to an M1 Ipad.
Allow the driver in the settings.
Open some browser and go to Youtube.
Play some video.
Stop playback and ...
1
vote
0
answers
27
views
idVendor and idProduct for apple.developer.driverkit.transport.usb
My driver is configured to match a specific USB device using both idVendor and idProduct, as defined in its Info.plist:
<key>idVendor</key>
<integer>1234</integer>
<key>...
1
vote
1
answer
51
views
DriverKit driver does not appear in iPadOS app settings
The driver does not show up in the app settings after switching to "DriverKit USB Transport - VendorID". Previously, the app used "DriverKit USB Transport (development)" and everything worked as ...
2
votes
0
answers
37
views
Is it possible to create a fake SCSI target on macOS DriverKit
I am migrating a KEXT driver to DEXT, using PCIDriverKit and SCSIControllerDriverKit on macOS.
But I also want to write a loopback SCSI target in the DEXT for testing purpose.
Is it possible to create ...
1
vote
0
answers
66
views
IOUSBHostInterface::Open for interrupt interfaces works on iPad Air but not iPad Pro
I am trying to open the Communication Control 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(...
1
vote
0
answers
32
views
Ownership of OSObject passed to RequestDeviceConfigurationChange
If I call RequestDeviceConfigurationChange with an OBObject created with OSNumber::withNumber, where do I need to call release() on the OBObject object. The documentation of OSNumber::withNumber says ...
1
vote
1
answer
81
views
How to get my extension’s process ID of the dext for debugging with lldb
I follow this guide Debugging and testing system extensions, and try to debug my dext code.
In the Attach the debugger to your system extension, it said After your system extension launches, run the ...
1
vote
0
answers
92
views
Debug with Xcode while connecting a usb device to iPad Pro
We are developing a iPad accessory that connects to the USB-C port of an iPad Pro.
For debugging, we are using iPad pro M4 and iPad Pro 12.9 (fifth gen).
We are aware we can debug the app over wifi, ...
1
vote
0
answers
36
views
Difference between super:: and SUPERDISPATCH
What is the difference between for example:
SetPowerState(powerFlags, SUPERDISPATCH);
and
super::SetPowerState(powerFlags);
The documentation for SetPowerState says that super:: should be called at ...
1
vote
0
answers
81
views
IOServiceNameMatching can't consistently find dext service
I'm using the following code to find the dext service. The code is executed on start-up. This is an app we develop for iPads and the driver is enabled in iOS settings before launching the app.
...
1
vote
1
answer
84
views
macOS app and extension: How to send x,y data from HIDStylusDriver to StylusApp to Pen/Draw?
I am using HIDStylusDriver to handle stylus input:
I have a touch screen and I want to:
Control the screen. I can enable the extension and control the touch screen successfully.
Draw on this screen. ...
1
vote
0
answers
59
views
How to transfer large data with IOUserClient AsyncCompletion
I'm trying to make an asynchronous bulk data read using IOUSBHostPipe AsyncIO/CompleteAsyncIO and send the data back to the user-space application using AsyncCompletion.
virtual void AsyncCompletion(...
2
votes
0
answers
92
views
Driver using driverKit stop working with iOS 17.4
We have a project that uses a custom driver and has entitlements for DriverKit and DriverKit USB transport.
We do the detection of the device using IOKit but for transferring data we use DriverKit
The ...
1
vote
0
answers
110
views
How to create IOUSBHostPipe::CompleteAsyncIO callback
I'm creating a driver to communicate with a USB device. I try to make an asynchronous bulk data read by using AsyncIO. The problem I'm facing is that my CompleteAsyncIO doesn't get called when the ...
3
votes
1
answer
177
views
How do I distribute a DriverKit Extension to multiple third parties on iOS?
We're developing a framework that needs to talk to a camera on iOS. We've written a Driverkit Extension to enable this but we're having trouble working out how to distribute this to third parties.
We ...