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

    The newest bluetooth thread (MX4 and OPO)

    Scheduled Pinned Locked Moved Support
    13 Posts 7 Posters 2.0k 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.
      • WendigoW Offline
        Wendigo
        last edited by

        It might even be a general issue with bluetooth.
        There is also a related issue on Github.

        1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack @Lakotaubp
          last edited by

          @lakotaubp You need:

          • Time
          • Motivation
          • All different kinds of devices
          • Spend lot of your time with the laptop in the car debugging the car kit, since you cant bring it into the living room
          • Optional: Own a few cars

          ๐Ÿ™‚ Thats the truth, how developers can fix all the million combinations of car kits and BT hardware on devices? this one really makes me idealess ^^

          My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

          1 Reply Last reply Reply Quote 0
          • M Offline
            mprotic
            last edited by

            Yes, same here: https://forums.ubports.com/topic/1864/ota5-meizumx4-bluetooth-regression

            This seems like general issue to me to. Dialer app regression maybe ?

            1 Reply Last reply Reply Quote 0
            • M Offline
              mprotic
              last edited by

              Quote from https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/5.0/

              Changes in More Detail
              BlueZ 5 support (A2DP only)

              First some background: The BlueZ project decided to redesign their client interface. They also decided to drop support for the old client interface. BlueZ 4 has the old interface and BlueZ 5 has the new interface. The decision to drop support for the old interface in BlueZ 5 meant that all applications, including PulseAudio, that used to work with BlueZ 4 didn't work with BlueZ 5.

              The support for BlueZ 5 has been gradually added in various applications, and this is the first PulseAudio version that supports BlueZ 5. This means that everything is great, right? Not so. **The BlueZ project also decided to drop support for the HSP and HFP profiles, which were the profiles responsible for handling telephony audio. If you have a headset, its microphone won't work with BlueZ 5, because the microphone is only supported by the HSP and HFP profiles.

              There are distributions that have migrated to BlueZ 5 without providing users the alternative of staying with BlueZ 4. Some of those distributions probably made the transition without understanding the consequences - they now have a serious regression in functionality, because their users' Bluetooth headsets have stopped working (well, the headsets can still be used for listening to music, but they're useless for VoIP applications).

              GNOME made also a decision, possibly misinformed one, to drop support for BlueZ 4 in their last release, which means that upgrading to the current GNOME version (3.10) has one of two problems depending on the BlueZ version in the system: with BlueZ 4, the GNOME UI for managing Bluetooth won't work, and with BlueZ 5 the headset audio functionality will be crippled.

              So what's the way forward with getting the HSP and HFP profiles work with BlueZ 5? There is partial support for those in oFono (a telephony daemon), which will hopefully be completed soon, and the next PulseAudio release will then hopefully support HSP/HFP through oFono. This pulls in a telephony stack as a dependency for using your Bluetooth headset, which might be considered overkill. This issue is yet to be resolved with the BlueZ developers.**

              Now, the technical details of the BlueZ 5 support in PulseAudio: there are now separate modules for BlueZ 4 and BlueZ 5: module-bluez4-discover and module-bluez5-discover. The old module-bluetooth-discover still exists and is used in the default configuration. The role of module-bluetooth-discover is now to act as an abstraction layer: it will load module-bluez4-discover and/or module-bluez5-discover based on what's present in the system. This means that the migration to BlueZ 5 can be done without changing the PulseAudio configuration.

              WTF ??? Is this the case here ?

              flohackF corvusdC 2 Replies Last reply Reply Quote 2
              • M Offline
                mprotic
                last edited by

                My current version of bluez:

                bluez/xenial,now 5.42+ubports armhf [installed,automatic]

                1 Reply Last reply Reply Quote 0
                • flohackF Offline
                  flohack @mprotic
                  last edited by

                  @mprotic Finally some light into the problems of many people maybe. We will investigate...

                  My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

                  1 Reply Last reply Reply Quote 1
                  • advocatuxA Offline
                    advocatux
                    last edited by

                    @mprotic are you sure about that info being up to date? That article in freedesktop.org states "Last edited Tue 04 Mar 2014 12:45:19 PM UTC"

                    1 Reply Last reply Reply Quote 0
                    • corvusdC Offline
                      corvusd @mprotic
                      last edited by corvusd

                      @mprotic maybe @advocatux have right. I explain. The actual version on Pulseaudio and BlueZ in xenial:

                      BlueZ
                      xenial (16.04LTS) (admin): Bluetooth tools and daemons
                      5.37-0ubuntu5.1 [security]: amd64 i386
                      5.37-0ubuntu5 [ports]: arm64 armhf powerpc ppc64el s390x

                      PulseAudio
                      xenial (16.04LTS) (sound): PulseAudio sound server
                      1:8.0-0ubuntu3: amd64 arm64 armhf i386 powerpc ppc64el s390x

                      The correct release notes of actual Xenial PulseAudio are 8.0. We should are track and find from v5 pulseaudio to actual xenial to try to find if make something new to support all this types of devices.

                      UPDATE: In this release yet make some commits for this issue: https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/6.0/

                      UPDATE 2: Talk about oFono 1.13 and apply this patch for this function: https://lists.freedesktop.org/archives/pulseaudio-discuss/2015-February/023102.html

                      Same situation to the actual BlueZ version for xenial.

                      And finally will see if oFono support or can handle somethig whit this versions.

                      What do you think?

                      David Gรกmiz Jimรฉnez
                      Industrial Designer, 3D CAD/CAM designer.

                      1 Reply Last reply Reply Quote 1
                      • M Offline
                        mprotic
                        last edited by mprotic

                        Yeah, this does seem to be patched:

                        https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/122

                        Though, bug is still open

                        1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack
                          last edited by

                          https://wiki.archlinux.org/index.php/bluetooth#Pairing => bluetoothctl can be a very nice tool for debugging BT problems. You can pair/unpair and interrogate devices etc. I would give it a try whenever there are BT problems.

                          My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

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