Skip to main content
Filter by
Sorted by
Tagged with
3 votes
0 answers
625 views

I have a special label printer (GoDEX RT863i) connected to a Mac. It uses the CUPS system and is configured through a PPD file. Printing through the macOS print system generally works. Now, I need to ...
Thomas Tempelmann's user avatar
2 votes
1 answer
428 views

I have written a system extension using DriverKit and USBDriverKit that seems to work well (running with developer mode on, SIP off, ... still waiting for entitlements). When I plug my USB device and ...
ScottBraun's user avatar
1 vote
0 answers
127 views

I have written a DriverKit for a USB device and it seems to work well. It is a port from an existing KExt. In the KExt I could call SuspendDevice(true) on IOUsbDevice and it would tell the hub to ...
ScottBraun's user avatar
5 votes
1 answer
873 views

I know how to send data to DriverKit and get back some values, that is application calling IOConnectCallStructMethod() and driver fill the OSData in structureOutput from application. In my Application ...
Vannes Yang's user avatar
3 votes
0 answers
561 views

I am building an external cooling fan controller and I need to read the CPU temperature in my Swift app. For this purpose, I applied the answer to this thread and I managed to read the temperatures in ...
user142985's user avatar
1 vote
1 answer
395 views

I had developed a kernel extension(kext) by IOKit, but it will be deprecated in the future. So I want develope another driver use dext to replace kext using the DriverKit. But I don't find the ...
Dirk's user avatar
  • 21
4 votes
1 answer
2k views

I have allocated memory in my application and passed its pointer and size to IOConnectCallStructMethod. Using IOMemoryDescriptor::CreateMapping I have then mapped this memory to the DriverKit system ...
tuple_cat's user avatar
  • 1,396
4 votes
1 answer
1k views

I have a special disk image format (compressed and with extra information such as bad blocks) and would like to make that available as a block device (e.g. under /dev/rdisk) in macOS. I am looking for ...
Thomas Tempelmann's user avatar
1 vote
2 answers
126 views

If I use the IOKit methods to list USB devices, I can get something like "AirPod Case", but I don't know how to get "Francisco's AirPods". I've looked around a the various keys you can ask for, but ...
Francisco Ryan Tolmasky I's user avatar
5 votes
2 answers
4k views

I am planning to write driver for USB or Bluetooth multi-touch device similar to Apple Magic Trackpad or Logitech trackpad for Mac. The idea is that all macOS applications can use this multi-touch ...
xbing6's user avatar
  • 63
3 votes
1 answer
1k views

I am working on migrating a codeless KEXT to DriverKit. It is used to disable the IOKit HID driver for USB devices that present themselves as HID compliant in firmware upgrade mode. So far I have ...
Jonas Due Vesterheden's user avatar
3 votes
1 answer
2k views

I am trying to interact with a dext from an application. I am able to find the service using IOServiceOpen and I get a call to NewUserClient of my dext (I can see the type parameter passed being ...
tuple_cat's user avatar
  • 1,396
0 votes
1 answer
104 views

I am new to KEXT and DEXT for Mac OS. Trying to port the KEXT driver to DEXT for development purpose. my Question is: When we unplug a USB device, in case of KEXT we recieve ...
seeni's user avatar
  • 11
0 votes
0 answers
322 views

I am getting an error building my c++ program on xcode. For each of the various fuctions of the IOKit I am getting "use of undeclared identifier". I really don't know why I am getting this error. ...
aleeeee's user avatar
7 votes
1 answer
1k views

EDIT: I have heavily edited this question after making some significant new discoveries and the question not having any answers yet. Historically/AFAIK, keeping your Mac awake while in closed-...
William Gustafson's user avatar
4 votes
0 answers
339 views

The need is to access S.M.A.R.T. data (Self-Monitoring, Analysis and Reporting Technology) for a storage diagnostic tool. From Wikipedia: S.M.A.R.T. (Self-Monitoring, Analysis and Reporting ...
Adrian Maire's user avatar
2 votes
1 answer
1k views

The drivers for the interfaces of USB device with 2nd configuration are getting KIOServiceTerminated . The same drivers for similar interfaces in configuration 1 are loading and working properly. I ...
david's user avatar
  • 421
3 votes
2 answers
468 views

The DiskArbitration framework on macOS provides a simple way to intercept volumes mounts and authorise it or not using DARegisterDiskMountApprovalCallback. I'm looking for something similar for all ...
Kappe's user avatar
  • 9,553
2 votes
1 answer
678 views

Does MacOS have a utility/command for tracing I/O activity (e.g. via IOKit) for a process for debugging purposes? There exists tools for network, syscall, etc. activity but I can't find any ...
Qix - MONICA WAS MISTREATED's user avatar
3 votes
1 answer
698 views

I used this import definition in OSX32 successfully: uses MacApi.ObjectiveC, MacApi.Foundation, Macapi.CoreFoundation, Macapi.Mach, Macapi.IOKit; type io_iterator_t = io_object_t; ...
Schneider Infosystems Ltd's user avatar
1 vote
1 answer
194 views

I have a USB device attached. I decided to try to write some code where I open the USB device as a FileDescriptor like on Linux where I can use ioctl function on the fd to send commands. I ended up ...
Brandon's user avatar
  • 23.6k
0 votes
1 answer
312 views

I am trying to intercept/interact with a Maschine Mikro 2 plugged into my Mac via USB. I have a IOUSBInterfaceInterface reference to the correct USB HID interface. However, whenever I try to call, ...
genghiskhan's user avatar
  • 1,159
2 votes
1 answer
2k views

For example, in the following example from IOKit documentation, each entry for this device has different types, such as Data, Number, etc How can I use IOKit to read the type of it? I know that we ...
Patroclus's user avatar
  • 1,262
1 vote
1 answer
559 views

I get the GPU infos from IOKit in an iOS app on iPhone device, and I get the @"PerformanceStatistics" values of GPU info, I'm confused what's the key-values mean here: { CommandBufferRenderCount ...
Joe's user avatar
  • 13
2 votes
1 answer
362 views

I'd like to write a macOS app which detects when you disconnect an external GPU via the Disconnect "GPU Name" Menu Extra and then takes some action. What API do I use to detect the presence of the GPU?...
alfwatt's user avatar
  • 2,020

1 2
3
4 5
11