sebseb7 Posted July 25, 2014 Report Posted July 25, 2014 Hi, libportmidi shows the port-names as: found in device 'Midi Through Port-0' with interf 'ALSA' found out device 'Midi Through Port-0' with interf 'ALSA' while OSX shows them as: found in device 'USB-MIDI-Gerät' with interf 'CoreMIDI' found out device 'USB-MIDI-Gerät' with interf 'CoreMIDI' How can I customize the Port names ? I have a KORG NanoKontroll and it has custom (and consistent) port names on Linux and OSX. thank you! Sebastian
Shuriken Posted July 25, 2014 Report Posted July 25, 2014 The KORG nanokontroll probably has drivers which take care of this. CoreMIDI and ALSA sound like names from the build in drivers from the OS. So not sure how you would fix this. Maybe with some kexts and kernel driver hacking. But that seems like a lot of trouble to me.
sebseb7 Posted July 25, 2014 Author Report Posted July 25, 2014 I don't want to change the interface name, but the device name. And no, the KORG does not have drivers that take care of that.
sebseb7 Posted July 25, 2014 Author Report Posted July 25, 2014 got it working: - you have to use "#define USB_SUPPORT_USER_STRING_DESC" in the stm32f4 usb driver - set string indexes in the jack definition correctly - and implement the "GetUsrStrDescriptor" callback. now I have consistent and custom device names for each midi jack.
TK. Posted July 26, 2014 Report Posted July 26, 2014 - set string indexes in the jack definition correctly - and implement the "GetUsrStrDescriptor" callback. You are a champ! :rofl: Could you please elaborate what you've changed exactly? Best Regards, Thorsten.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now