Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

I am developing a .NET MAUI Mac Catalyst app (sandboxed) that communicates with a custom vendor-specific HID USB device. Within the Catalyst app, I’m using a native iOS library (built with Objective-C ...
Swetha's user avatar
  • 9
0 votes
0 answers
62 views

I am writing a program for MacOs to generate midi commands from key strokes on a computer keyboard. After identifying the device and sending the midi command to a client, I would like to prevent the ...
masterpiga's user avatar
0 votes
1 answer
217 views

I am trying to use the IOKit power management functions for keeping the screen on. However there is something wrong as I am getting linker errors. What I have done is: In Build Settings -> Search ...
reaktor24's user avatar
0 votes
1 answer
185 views

I am trying to connect to and initiate a USB scanner from my macOS swift app so that I can capture the scanned image. I can detect the USB device successfully and match it with the expected productID ...
Andrew Hunt's user avatar
2 votes
1 answer
159 views

In my DriverKit driver, I'd like to create a custom class that inherits from OSObject so that I can store it in an OSArray (and other OSObject derived collections). The documentation for kexts and ...
Andrew Madsen's user avatar
3 votes
0 answers
294 views

I've written a DriverKit driver for iPadOS for a USB device. It's working fine. I'm trying to package up the app-side code in an SDK for it in a framework. The framework includes both Swift and C/...
Andrew Madsen's user avatar
0 votes
0 answers
51 views

I am writing a custom device driver for a USB device which is quite old. The driver is written on the basis on Sample code given by Apple for IOKit. I am able to do communication to the device and I ...
user2101977's user avatar
1 vote
1 answer
114 views

I have an Xcode project where I am using C to handle a low level task so I created the C file and the bridging header. However, I am getting a linker error when I try to build my project: "...
aor11's user avatar
  • 19
0 votes
1 answer
973 views

The Apple Developer article Installing a Custom Kernel Extension states: Unloading a kext on macOS 11 and later requires a call to kmutil or kextunload, followed by a system reboot. The kmutil tool ...
Desert Scuba's user avatar
1 vote
1 answer
267 views

In a Xcode project (macOS app), I'm using the DriverKit(and HIDDriverKit) framework. I have encountered a problem in the connection between the client app and the driver, which is implemented by the &...
Jafar Heidary's user avatar
3 votes
0 answers
265 views

I am currently developing a macOS application that involves communication with a System Extension (DEXT) created using DriverKit. Despite the extension appearing to be correctly installed and ...
Henhen1227's user avatar
1 vote
0 answers
605 views

I'm trying to get a display name from CGDirectDisplayID in pure C++ (or C.) I can do it in Objective-C++, similar to this: #import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics....
c00000fd's user avatar
  • 22.8k
3 votes
1 answer
440 views

My question I already have the correct entitlements, provisioning profile and development certification, and I have turned off SIP, turned on systemextensions developer on, but it still shows provider ...
xmx's user avatar
  • 51
2 votes
1 answer
506 views

I'm trying to remove a key-value-pair from the property table of an IORegistryEntry, but I just can't figure out how. I can use IORegistryEntrySetCFProperty() or IORegistryEntrySetCFProperties() to ...
Noah Nuebling's user avatar
1 vote
1 answer
256 views

I'm aware that it's possible to find the file system type (apfs, hfs, msdos etc.) and also the disks's mount path by disk's BSD name using the Disk Arbitration framework and also the POSIX statfs() ...
user1548418's user avatar
1 vote
1 answer
245 views

I am studying kext development. I'm trying to implement a simple "generic" kext that would publish a key in the IORegistry and react to its changes then. The class is quite trivial, it just ...
BUKTOP's user avatar
  • 989
1 vote
1 answer
962 views

I am attempting to fetch hardware information on macOS using IOKit FFI bindings in rust. I am on a apple silicon machine running macOS 13.1, apple clang 14.0.0, xcode 14.2, and command line tools 14.2....
curlin's user avatar
  • 29
1 vote
1 answer
341 views

We are developing a custom audio driver for a USB microphone in order to do simple processing (EQs) on the input audio stream (comparable to an APO for Windows). Our code is based on the ...
kinaar's user avatar
  • 51
3 votes
1 answer
362 views

We are developing a custom audio driver for a USB microphone in order to do simple processing (EQs) on the input audio stream (comparable to an APO for Windows). After some help, we managed to assign ...
kinaar's user avatar
  • 51
1 vote
1 answer
464 views

need to use IOServiceAddMatchingNotification routine for supporing multiple product identifications. To show the concept, I got part of this code from a site and revised it.Kept it short. // Set up ...
fra87kdk's user avatar
1 vote
1 answer
479 views

I'm using DriverKit in my iPadOS. I'm trying to create a IOBufferMemoryDescriptor and add the data I've got in an OSData object. I'm creating the IOBufferMemoryDescriptor with: ret = ivars->...
xarly's user avatar
  • 2,134
1 vote
1 answer
311 views

I'm building a driver in C++ for my iPad using DriverKit. I'm trying to make a request to a control endpoint, so I'm trying to use IOUSBHostInterface::DeviceRequest(). For the first parameter, ...
xarly's user avatar
  • 2,134
2 votes
1 answer
741 views

I am trying to unmount/eject usb device programmatically on macOS. Using IOkit I tried to register to IOServiceMatching(kIOUSBInterfaceClassName) and iterate over all devices and for each device i ...
puris's user avatar
  • 29
2 votes
1 answer
324 views

I'm trying to use IOConnectCallAsyncStructMethod in order set a callback between a client and a driver in DriverKit for iPadOS. This is how I call IOConnectCallAsyncStructMethod ret = ...
xarly's user avatar
  • 2,134
2 votes
2 answers
918 views

What's the best way I can get a list of BSD names of all USB devices (and maybe including internal Mac drives) without using a diskutil CLI wrapper? I don't want to use any wrappers that interact with ...
TechUnRestricted's user avatar

1
2 3 4 5
11