So I have this annoying Yamaha kext for my Yamaha MX. The *only* useful thing it...

@lina@vt.social

So I have this annoying Yamaha kext for my Yamaha MX. The *only* useful thing it achieves is enable HID support.

Is there some "easy" way in macOS to:
- Force the chosen USB config for a device, and
- Patch the USB interface descriptors
?

That's all I need to make it redundant.

Explanation: This thing has two configs. In one it has standard USB audio+MIDI. In the other it has proprietary USB audio+MIDI plus standard HID. Prop audio/MIDI is just nonstandard descriptors, the endpoints are the same. It's dumb...

On Linux I used to just override the chosen config via udev, and the Linux USB audio driver already has quirks for Yamaha devices.

As far as I can tell it has standard Audio Device Class descriptors in prop mode... it just sets bInterfaceClass to 255 so they aren't recognized.

Kinda tempted to see if I can just patch the firmware TBH...