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

RFCOMM TTY support non available

Scheduled Pinned Locked Moved General
9 Posts 4 Posters 808 Views 3 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.
    • P Offline
      Pulsar33
      last edited by 29 Aug 2021, 18:24

      Re : "The other" Bluetooth Thread

      As seen a long time ago with E5 HD Canonical last version, but tested today with up to date E5 HD UBports OTA-18:
      phablet@ubuntu-phablet ~ $ hcitool scan
      Scanning ...
      [GPS ADDRESS] BT-GPS-3197E9
      phablet@ubuntu-phablet ~ $ sudo rfcomm bind 0 [GPS ADDRESS] 1
      RFCOMM TTY support not available
      phablet@ubuntu-phablet ~ $ ls /dev/rf*
      /dev/rfkill

      Does someone know why "TTY support" is not available ?
      Would be glad to connect some hardware through low level TTY protocols ...

      Best regards
      Pulsar33

      Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
      Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
      Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

      F 1 Reply Last reply 30 Aug 2021, 09:35 Reply Quote 0
      • F Offline
        flohack @Pulsar33
        last edited by 30 Aug 2021, 09:35

        @pulsar33 said in RFCOMM TTY support non available:

        RFCOMM TTY support not available

        Well that means probably that the kernel option BT_RFCOMM_TTY is not set. Unfortunately we cannot change this, the build trees for the legacy BQ and Meizu devices are not public and therefore we cannot rebuild those device.

        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

        P 1 Reply Last reply 30 Aug 2021, 16:27 Reply Quote 1
        • P Offline
          Pulsar33 @flohack
          last edited by 30 Aug 2021, 16:27

          @flohack thank you for your reply but I'm not sure to understand one point. You speak about "the build trees for the legacy BQ and Meizu". As said in my signature, I've now 2 BQ E5, one with last canonical version (is this what you call "legacy" ?) and one with your UBports OTA-18. Do you mean that there's parts of the kernel that you can't modify ? If this is unfortunately true, this can imply huge limits 😞
          On Raspberry Pi4, developers have been able to modify on request a kernel option concerning apparmor and even if it was long to be accepted, it was done. No such possibility exists for UBports or only for BQ and Meizu ?
          BR
          Pulsar33

          Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
          Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
          Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

          K F 2 Replies Last reply 30 Aug 2021, 17:03 Reply Quote 0
          • K Offline
            Keneda @Pulsar33
            last edited by Keneda 30 Aug 2021, 17:03

            @pulsar33
            Legacy is for devices sold with Ubuntu Touch preinstalled in the Canonical era, wich are Meizu and BQ.

            But you can have a "legacy" device with a UBports uTouch version on it, like you, and i, have πŸ˜‰

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
            πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

            1 Reply Last reply Reply Quote 1
            • F Offline
              flohack @Pulsar33
              last edited by 30 Aug 2021, 18:30

              @pulsar33 we combine the final code that runs in your device out of a common part, our so-called "rootfs" and the Android adaption parts, that is: Kernel, device and vendor tree. Latter were not released by BR (and in turn by Mediatek) so that we could rebuild the kernel, yes, your assumption is true.
              Thats also the reason why it will be very hard to continue to support this hardware in the future.

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              P N 2 Replies Last reply 30 Aug 2021, 20:53 Reply Quote 1
              • P Offline
                Pulsar33 @flohack
                last edited by 30 Aug 2021, 20:53

                @flohack @Keneda thank you once more to you
                I was not prepared to be informed that this hardware has so much limitations for the future. My current experience with OTA-18 is good after some days of trials, including Libertine which I didn't know before. I hope you will maintain this hardware as long as possible
                BR
                Pulsar33

                Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                F 1 Reply Last reply 30 Aug 2021, 20:55 Reply Quote 0
                • F Offline
                  flohack @Pulsar33
                  last edited by 30 Aug 2021, 20:55

                  @pulsar33 Well Android phones are not made like PCs, you are not meant to decide what you can do with it but the vendor does for you πŸ˜‰

                  BR and yes we will give our best

                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  K 1 Reply Last reply 30 Aug 2021, 22:49 Reply Quote 0
                  • K Offline
                    Keneda @flohack
                    last edited by Keneda 30 Aug 2021, 22:49

                    @flohack
                    Well, even on PC it depends on hardware vendors to provide drivers, specially opensource ones are a thing by themselves like you must know, and now for OS like windows 11, microsoft decides on what hardware you can, or not, install it...

                    They really don't like us to be libre users πŸ˜…

                    For phones, the only long term solution for me is devices like Pinephone, and i think it will be my phone when my MX4 will be deprecated, hopefully uTouch will 100% support it by then... πŸ™

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                    πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nero355 @flohack
                      last edited by 20 Sept 2021, 16:21

                      @flohack said in RFCOMM TTY support non available:

                      @pulsar33 we combine the final code that runs in your device out of a common part, our so-called "rootfs" and the Android adaption parts, that is: Kernel, device and vendor tree. Latter were not released by BR (and in turn by Mediatek) so that we could rebuild the kernel, yes, your assumption is true.
                      Thats also the reason why it will be very hard to continue to support this hardware in the future.

                      Can you give me a link with a explanation of the way these things are related to one another ?

                      I have recently bought a Xiaomi 9T which has some "Not daily useable builds" for :

                      • Jolla Sailfish
                      • Ubuntu Touch

                      Via Hybris and GSI ports somehow but I can't get either one of them to run so I want to know what the heck I am doing wrong... 😒

                      Flashing the Stock ROM (any version) and TWRP afterwards is no issue at all πŸ™‚

                      My phones :

                      • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                      • ZUK Z2 Pro - ZUI Android 8.x
                      • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                      P.S. : I am NOT a developer! ;)

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post