Akai MPK mini - Linux - Device Name Issue

As here are obviously many Akai MPK mini users with Linux, I ask this question also here as it might be partially related to Renoise.

I recently replaced an Akai LP 25 with an Akai MPK mini midi keyboard. While the LPK 25 was always listed as “Akai LPK 25” in Renoise, the MPK sometimes comes up as “MPK mini MK II Midi 1” and sometimes as “USB device 09e8:0026 midi”. When I unplug and plug it in again it comes up as “MPK mini MK II Midi 1”.
Does anyone know why this can change from time to time?

lsusb gives me:

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 0bda:0411 Realtek Semiconductor Corp. 
Bus 006 Device 002: ID 04e8:61f5 Samsung Electronics Co., Ltd 
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 010: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 005 Device 009: ID 09e8:0026 AKAI  Professional M.I. Corp. 
Bus 005 Device 008: ID 0835:8502 Action Star Enterprise Co., Ltd 
Bus 005 Device 007: ID 0835:8500 Action Star Enterprise Co., Ltd 
Bus 005 Device 006: ID 046a:0011 Cherry GmbH G83 (RS 6000) Keyboard
Bus 005 Device 005: ID 0835:8501 Action Star Enterprise Co., Ltd 
Bus 005 Device 004: ID 0835:8500 Action Star Enterprise Co., Ltd 
Bus 005 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. 
Bus 005 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1686:014f ZOOM Corporation 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here are two journal logs. 1) is from yesterday when the Akai came up with “MPK mini MK II Midi 1”.
2) is from today when it came up with “USB device 09e8:0026 midi” and 3) from today after replugging it.

After booting
Shown as MPK mini MK II Midi 1" in Renoise

Mai 28 20:17:25 fox kernel: usb 5-1.4.5.3: Product: MPK Mini Mk II Mai 28 20:17:35 fox kernel: hid-generic 0003:09E8:0026.0004: hiddev0,hidraw3: USB HID v1.11 Device [AKAI MPK Mini Mk II] on usb-0000:03:00.0-1.4.5.3/input0

After booting
Shown as “USB device 09e8:0026 midi” in Renoise

Mai 29 13:56:38 fox kernel: usb 5-1.4.5.3: Product: MPK Mini Mk II Mai 29 13:56:48 fox kernel: hid-generic 0003:09E8:0026.0004: hiddev0,hidraw3: USB HID v1.11 Device [AKAI MPK Mini Mk II] on usb-0000:03:00.0-1.4.5.3/input0

After replugging the keyboard
Shown as MPK mini MK II Midi 1" in Renoise

Mai 29 14:27:27 fox kernel: usb 5-1.4.5.2: Product: MPK Mini Mk II Mai 29 14:27:37 fox kernel: hid-generic 0003:09E8:0026.0006: hiddev0,hidraw3: USB HID v1.11 Device [AKAI MPK Mini Mk II] on usb-0000:03:00.0-1.4.5.2/input0

Don’t know if this is related, but with the new MPK mini I see such entries in the journal:

journalctl -b -0 | grep AKAI
Mai 29 22:09:07 fox kernel: usb 5-1.4.5.2: Manufacturer: AKAI
Mai 29 22:09:17 fox kernel: hid-generic 0003:09E8:0026.0005: hiddev0,hidraw4: USB HID v1.11 Device [AKAI MPK Mini Mk II] on usb-0000:03:00.0-1.4.5.2/input0

while with the LPK 25 there’s only one entry

journalctl -b -33 | grep AKAI
Apr 30 21:22:35 fox kernel: usb 5-1.4.5.2: Manufacturer: AKAI professional LLC

Found another thing: There are some timeouts (likely when initializing the keyboard) in the journal.

Mai 24 21:08:11 fox kernel: hid-generic 0003:09E8:0026.0004: timeout initializing reports

I also observed that my mouse takes some seconds until I can use it. I make a test without the keyboard if this is related.

edit: the timeout can be solved by adding "“usbhid.quirks=0x09E8:0x0026:0x20000000,” to /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=“quiet threadirqs usbhid.quirks=0x09E8:0x0026:0x20000000”

followed by “grub-mkconfig -o /boot/grub/grub.cfg” as superuser.

where 09E8 is the vendor ID and 0026 the product ID in my case.

see also this link: https://forums.linuxmint.com/viewtopic.php?t=156993

Maybe this also solved the other issue. bbl