Unsolved Bluetooth keyboard(s) and mouse not working
-
I have been trying to connect a bluetooth keyboard to my Pixel 3a but nothing I do works.
I tried these 3 brands of keyboards:
Rii K06 Mini
G60S Pro - two of them
Logitech MX KeysThey appear connected in the bluetooth menu, but none of the buttons or the trackpad do anything. I tried manually connecting some of them through the terminal, setting them to trusted, but they still don't work.
Specifically the G60S Pro - I tested it and it worked out of the box on a Pinephone running Arch + Phosh, but it didn't work on the Pinephone running Ubuntu Touch.
I have also tried connecting a bluetooth mouse, an MX Master 3, but that gives the same problem - connected, but not working.
Has anyone been able to get a bluetooth keyboard to work with their phone? Is there some X/Wayland config file that I need edit?
-
@libreboot, Not having any of those keyboards, I would not be able to offer any practical hands-on help. You mention the keyboard working with Arch on a PinePhone, so this leads me to believe the issue might be with (the age of) the Bluetooth stack running on your UT devices. Are you running Xenial or Focal on your P3a? Do you still have your PinePhone? You could try running Focal on that and trying to connect also.
I have a Microsoft deluxe Bluetooth keyboard and mouse, and both connect without issue to any of my UT devices.
PS.
I wonder, do you have a Desktop Focal install laying around? Are your Bluetooth peripherals able to connect to it? -
Sadly bluetooth compatibility is very finicky in UT. In my experience, UT struggles with BLE, keyboard + trackpad and mouse with extra buttons such as back/forward. With BLE, it usually have a hard time connecting and disconnects. With the latter 2, I'm just guessing but maybe the system gets confused with the keyboard and mouse inputs?
In any case, it's also worth rebooting because I also notice that sometimes my keyboard works fine then it gets disconnected but after reconnecting, it won't work anymore.
-
@arubislander
I am running Ubuntu Touch 20.04 (r767) right now.
I tried connecting the keyboards on the stable version in the past, but since it didn't work I installed this version.
I tried running Focal on the Pinephone as well, but that didn't work.
I don't have a computer with bluetooth that I can test the desktop version on unfortunately so I can't test that, sorry. I know they work on android though@kugiigi
Fascinating.... Maybe I need to find one without a trackpad, since that is something I haven't tried yet. I ordered ones with one since having a trackpad is useful, but i'd rather have a working one.
What you mention with having to reboot I also experienced, but when I have a keyboard connected through a 2.4GHz USB dongle. Sometimes when I plug it in, nothing works, then I restart the phone while having the 2.4GHz dongle connected, then it works.
It seems mice/keyboards, bluetooth or not are very janky in UT at the moment. Maybe the fix is something simple, but I'm not knowledgable enough to do it myself. -
@libreboot I just tested with my bluetooth mouse (Logitech G603, I don't have a bt-keyboard) and it works without issues on the OnePlus5T.