Post

Replies

Boosts

Views

Activity

How can my MIDI driver seize control of my USB device from AppleMIDIUSBDriver.plugin?
I am developing my own MIDI driver for macOS based on SampleUSBMIDIDriver.When I open the Audio MIDI Setup and then connect my USB MIDI device to my Mac, my MIDI driver loads properly.However, when I connect my USB MIDI device to my Mac and then open Audio MIDI Setup, my MIDI driver fails at IOUSBDeviceInterface::USBDeviceOpen().This is because AppleMIDIUSBDriver.plugin has already opened the device.Can my MIDI driver seize control of my USB device from AppleMIDIUSBDriver.plugin?Thank you.
0
0
527
Feb ’20
Will “AudioDriverKit.framework” be available in the future?
We would like to support our USB audio drivers based on IOAudioFamily, on macOS 10.16 or later.We know that IOAudioFamily has been deprecated for a long time and IOAudioDevice.h has the following warning:#warning IOAudioDevice is deprecated use <CoreAudio/AudioServerPlugIn.h> instead.However, IOAudioFamily is still supported in 10.15, and AppleUSBAudio.kext uses it as usual.Should we stay at the IOAudioFamily, migrate to AudioServerPlugIn, or wait for the DriverKit to support audio?If the DriverKit framework for audio (which might be called “AudioDriverKit.framework”) is planned to be available in the future, we will be patient enough to wait for it.
2
0
806
Mar ’20
How to make an uninstaller on macOS 13 Ventura?
Our audio driver uninstaller does not work properly on macOS 13 Ventura Beta. The uninstaller is for removing our Audio Server Plug-in as well as its associated app that resides in /Library/Application Support/ folder. The Audio Server Plug-in can be removed without any problems, but the associated app cannot be removed if it is notarized. Our uninstaller uses SMJobSubmit function to execute a shell script with administrator privileges. I found the following error in the system log: kernel: (Sandbox) System Policy: rm(676) deny(1) file-write-unlink /Library/Application Support/MyDriver/MyApp.app I guess that the app cannot be removed because Gatekeeper protects notarized apps on Ventura. How can our uninstaller remove our notarized app? Thank you.
2
0
1.1k
Jul ’22