sebseb7 Posted July 25, 2014 Report Share 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 Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 25, 2014 Report Share 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. Quote Link to comment Share on other sites More sharing options...
sebseb7 Posted July 25, 2014 Author Report Share 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. Quote Link to comment Share on other sites More sharing options...
sebseb7 Posted July 25, 2014 Author Report Share 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. Quote Link to comment Share on other sites More sharing options...
TK. Posted July 26, 2014 Report Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.