UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Bluetooth keyboard(s) and mouse not working

    Scheduled Pinned Locked Moved Unsolved Support
    11 Posts 7 Posters 984 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • L Offline
        libreboot
        last edited by libreboot

        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 Keys

        They 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?

        arubislanderA K 2 Replies Last reply Reply Quote 0
        • arubislanderA Offline
          arubislander @libreboot
          last edited by

          @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?

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

          1 Reply Last reply Reply Quote 0
          • K Offline
            kugiigi
            last edited by

            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.

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              libreboot @kugiigi
              last edited by libreboot

              @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.

              LuksusL 1 Reply Last reply Reply Quote 0
              • LuksusL Offline
                Luksus @libreboot
                last edited by Luksus

                @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.

                Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                1 Reply Last reply Reply Quote 0
                • K Offline
                  KJU @libreboot
                  last edited by

                  @libreboot
                  Hello,
                  I have UBTouch 20.04 OTA4 on Pixel 3a XL bonito.

                  • Microsoft Wedge Bluetooth keyboard connected straightaway. Very welcome, especially in Morph Browser!
                  • New Logitech Pebble Bluetooth mouse showed 'connected' but no cursor appeared on the Pixel's display.
                  • Old Logitech Pebble failed the same way on Bluetooth.
                  • Old Logitech Pebble connected with its little dongle on a USB OTG adaptor. Cursor appeared and functioned.
                    (But it doesn't replace the basic UBTouch gestures...)
                    Cheers,
                    KJU
                  AppLeeA 1 Reply Last reply Reply Quote 0
                  • GermanAizekG Offline
                    GermanAizek
                    last edited by GermanAizek

                    @libreboot,
                    Im tested network card 1Gb AX88179, and it works on Ubuntu Touch, there is no corresponding icon for wired connection, I will report this bug to UT maintainers. In short, any devices will work if there are drivers in linux kernel, kernel in Ubuntu Touch is very old and older than Lineage OS. So list of devices is very small, I also don't know why LOS can't take a newer version 5.x kernel

                    Xiaomi Redmi Note 7.... And more...
                    I have too many devices...

                    1 Reply Last reply Reply Quote 0
                    • AppLeeA Offline
                      AppLee @KJU
                      last edited by

                      @KJU
                      Have you tried without the keyboard.

                      IIRC a long time ago I did some testing and I was able to have either a BT keyboard or a BT mouse.
                      If I wanted both they had to be the same bundled device I guess ?!

                      But as I said it was a long time ago (before COVID, imagine that) and it might have been a limitation from my device at the time.

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        KJU @AppLee
                        last edited by

                        @AppLee Thanks for the tip. I like the UBTouch gestures, (which didn't seem to respond to the mouse) but the virtual keyboard hasn't impressed me, so I'd forego the mouse.
                        Cheers,
                        KJU

                        AppLeeA 1 Reply Last reply Reply Quote 0
                        • AppLeeA Offline
                          AppLee @KJU
                          last edited by

                          @KJU
                          IIRC, you have to push the mouse pointer far left to get the swipe from left, and similarly to the right for the app drawer.
                          I'm not sure that's what you were looking for.
                          And I'm not positive that my explanation is the correct one.
                          You can try to connect the BT mouse only and then try to add the BT keyboard to confirm my diagnostic.

                          Have a good day.

                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            KJU @AppLee
                            last edited by KJU

                            @AppLee I've had another go with the usbotg-dongled mouse.
                            On my device, it's not doing everything I'd like, or I'm missing the way... Or is it my mouse?

                            • I can see open applications, by swiping from right side, but cannot position the pointer to swipe any up & away.
                            • The mouse doesn't open the application drawer with a swipe from the left [aha! just solved this one - push left edge and wait]
                            • In Morph browser, how can open tabs be closed by mouse?
                            • Scrolling is very slow.
                              Cheers,
                              KJU
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post