martinjos / rb3_driver

Experimental RB3 Wireless MIDI Keyboard Driver
MIT License
33 stars 17 forks source link

Running on OSX #2

Open karlsander opened 8 years ago

karlsander commented 8 years ago

I just tried to compile and run this on OSX (10.11).

It successfully compiles with the libusb include changed from to <libusb-1.0/libusb.h> with libusb and portmidi installed via homebrew.

But trying to run it, libusb fails to claim to the device. It gives the following CLI Output:

Got MIDI output device! Brilliant news! Found input device! Got input device endpoint! Failed to claim input device interface

As far as i can tell this has something to do with the system already having loaded the device. Running as root does not fix it. This seems to be a somewhat common issue and the only fix i see recommended is unloading certain kernel extensions. I checked to see if any extra kernel extensions where loaded when i plugged in the device with kextstat and couldnt see any, so i figured i couldnt safely unload any of them without messing with other devices.

So yeah, i dont know how to fix it, maybe someone else does.

SgtSalmon commented 10 months ago

It’s been a while (almost 10 years), but I compiled a Sonoma-specific version under my repositories. Let me know if this helps