[Linux] microKEY Air bluetooth support

Discussion relating to Korg Controller products.

Moderators: Sharp, X-Trade, Pepperpotty, karmathanever

Post Reply
pypy
Posts: 3
Joined: Sun Dec 17, 2017 10:39 pm

[Linux] microKEY Air bluetooth support

Post by pypy »

Hello,

Ubuntu 17.10 shows the device over bluetooth but cannot connect..

Suggestions? Drivers?
rehans
Posts: 1
Joined: Sat Jan 20, 2018 8:10 pm

Re: [Linux] microKEY Air bluetooth support

Post by rehans »

pypy wrote: Suggestions? Drivers?
+1

I would like to know as well. Connecting the keyboard to Linux Ubuntu or Raspberry PI3 does not work though it shows up in the list of found devices.

The Raspberry PI3 throws an error message:

Code: Select all

Pairing failed - GDBus.Error:org.bluez.Error.AuthenticationFailed: Authentication Failed
dreamcat4
Posts: 2
Joined: Sun Aug 26, 2018 5:00 pm

Post by dreamcat4 »

Hi there, on a desktop PC with ubuntu 18.04. And budgie desktop. I was finally able to get this device to pair over bluetooth.

It would keep coming up with authentication failure. Until eventually I turned bluetooth off, then on again. And did some other messing about. Then it would no longer appear anymore (the device, when searching). At that point the found and selected "Setup New Device..." from the system tray indicator.

Not sure which of the installed programs that was.


Anyhow, after paiiring, the device did appear under /dev/snd/ folder. Like this:


ls -lsa /dev/snd/by-id/usb-_Multimedia_Air_Mouse_Keyboard-02
0 lrwxrwxrwx 1 root root 12 Aug 25 21:34 /dev/snd/by-id/usb-_Multimedia_Air_Mouse_Keyboard-02 -> ../controlC3
${debian_chroot:+($debian_chroot)}id@apex:~$ ls /dev/snd
by-id by-path controlC0 controlC1 controlC2 controlC3 hwC0D0 hwC1D0 midiC2D0 pcmC0D0c pcmC0D0p pcmC0D1p pcmC0D2c pcmC1D3p pcmC1D7p pcmC2D0c pcmC2D0p pcmC3D0c seq timer


Unfortunately I could not get any further after that over bluetooth. Because in the dmesg, if kept printing:

[72912.123126] Bluetooth: hci0: last event is not cmd complete (0x0f)
[72927.994115] Bluetooth: hci0: last event is not cmd complete (0x0f)
[72944.378073] Bluetooth: hci0: last event is not cmd complete (0x0f)
[72960.196197] Bluetooth: hci0: last event is not cmd complete (0x0f)
[72976.124112] Bluetooth: hci0: last event is not cmd complete (0x0f)
[72991.940148] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73008.380191] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73024.250200] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73040.123002] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73055.995079] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73072.378057] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73088.251190] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73104.068010] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73119.996204] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73136.324193] Bluetooth: hci0: last event is not cmd complete (0x0f)
[73152.250192] Bluetooth: hci0: last event is not cmd complete (0x0f)


Every 2 seconds.

However before getting my 1st successful bluetooth pairing, I also messed about and ran this cmd:

sudo hciconfig hci0 sspmode 0


Which might have messed something up. It seems related (hciconfig --> hci0). Not sure though. Because I dont actually know what the command did to my system, or how to reverse it!

And also, no new midi device appeared in the midi devices tab of qjcakctrl connections window.

And it did not appear listed by the 'amidi -l' command either.

Perhaps this is because korg only provides a bluetooth midi driver for win10 and os x. And not linux. However somebody else would need to confirm that.

This is recognized as a midi device over USB though. At least in alsa midi.

[edited]

And through usb, running the program a2jmidid will let you then connect it through qjackctl, by routing it through the virtual device named a2jmidid. Then it can jump over from the 'alsa' midi devices tab into the jack midi devices tab. Again, tn the same connections window.
dreamcat4
Posts: 2
Joined: Sun Aug 26, 2018 5:00 pm

Post by dreamcat4 »

ah: this is interesting

If you do 'man hciconfig' on your rpi / linux terminal. It will print out all sorts of useful stuff about the bluetooth device pairing. and give you options how to configure it. For example like list detected devices, enable / disable authentication on them. etc.

Very interesting. Therefore I would recommend you try to play with that command and see if there is a way to coax it into being paired up / successful pairing.

That is: assuming the korg micro keys air2 presents itself as an 'HCI' type of bluetooth device.
pypy
Posts: 3
Joined: Sun Dec 17, 2017 10:39 pm

Post by pypy »

dreamcat4 wrote: And through usb, running the program a2jmidid will let you then connect it through qjackctl, by routing it through the virtual device named a2jmidid. Then it can jump over from the 'alsa' midi devices tab into the jack midi devices tab. Again, tn the same connections window.
Hi, Thanks!

but ... it's not entirely clear how you got to connect it.

Could you rebuild the installation again?

Does the piano appear on Jack devices?
Post Reply

Return to “Korg Kontrol49, microKontrol, padKontrol, nano and K series controllers”