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

    "The" Bluetooth Thread

    Scheduled Pinned Locked Moved OS
    99 Posts 45 Posters 51.3k Views 8 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.
      • M Offline
        MDJ
        last edited by

        I have a 2012 Ford Focus (SYNC) and a OnePlus One. The BT connection is OK once connected, however quite frequently when I have turned the ignition on, it may appear that they have automatically paired but when I play from Podbird or from the Music app, nothing happens.

        I then have to (from the car console) disconnect the phone, begin to play something on the phone and then reconnect it. Once I've done this there's no further issue.

        Unfortunately so far, calls don't seem to be working with either Mic or Speakers.

        M 1 Reply Last reply Reply Quote 1
        • M Offline
          MDJ @MDJ
          last edited by

          @MarkDJ said in "The" Bluetooth Thread:

          I have a 2012 Ford Focus (SYNC) and a OnePlus One. The BT connection is OK once connected, however quite frequently when I have turned the ignition on, it may appear that they have automatically paired but when I play from Podbird or from the Music app, nothing happens.

          I then have to (from the car console) disconnect the phone, begin to play something on the phone and then reconnect it. Once I've done this there's no further issue.

          Unfortunately so far, calls don't seem to be working with either Mic or Speakers.

          A couple of hours after posting the above, the BT connection to the car had a complete meltdown and refused to connect even after several restarts of the phone.

          However the next day, it connected OK again and I was able to listen to audio from the phone. Suddenly a call comes in and lo and behold I was able to answer it from the steering wheel control! I had the call come through to the car speakers and the microphone was working too!

          This is the first time I've had a successful hands-free phone call using the OnePlus One. I'm now guessing that there are intermittent issues with the BT connection between these devices.

          1 Reply Last reply Reply Quote 0
          • TheBirdT Offline
            TheBird
            last edited by TheBird

            At the moment I am testing a Jabra Drive. So this is a very standard car kit. No telephonebook or other fancy stuff. Only phonecalls. For now it looks good. It connects very fast. And the sound works!

            But the first time I connected the device everything went very smooth. After someone called me the trouble began. Could not connect anymore. Pushing the button (for answering a call) I could only see the device connecting and then it was disconnected again.
            So I tested a lot of things with the phone and the Jabra Drive. Nothing worked. Finaly I pushed the button again, for a very long time. Since then, everyting is fine again!

            I installed a log viewer. Now that the device works fine, I'm still keep getting errors for bluetooth: http://paste.ubuntu.com/25508920/

            So, it is not rock sollid stable. But it works a lot better then my Parrot CK3100 which never gave any sound.
            I wil keep you posted testing the device.

            UDPATE
            Sad, but after one day the sound didn't work. Rebooting the Jabra solves the problem. So, not very reliable connections

            alt text

            BQ Aquaris E4.5
            Pixel 3a XL on Focal which realy rocks!

            1 Reply Last reply Reply Quote 0
            • Vehi_MVV Offline
              Vehi_MV
              last edited by

              Hi. It's been a long time since this topic was created, so I would like to know if any progress has been made on bluetooth connectivity with cars and hands free systems.

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

                @Vehi_MV Currently we decided to wait for 16.04 as it will bring a new upstream version of Bluez stack, and then we will re-visit this long list of issues πŸ˜‰

                BR

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

                1 Reply Last reply Reply Quote 0
                • J Offline
                  josephtocci
                  last edited by josephtocci

                  OnePlus One
                  Motorola Whisper HZ850
                  Bluetooth connected

                  Received a phone call, did not hear ringing through earpiece, heard ringing from phone, loud. Pressing button did not answer like it did on the iPhone. After answering using the OnePlus One, Audio worked through the earpiece. Both in and out.

                  Basically audio works but not controls.

                  This was testing just a few days ago.

                  Edit, just saw last message, sorry lol

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

                    Hello Guys,

                    after some long time small update for this thread: As it seems, Bluez and all its problems in 15.04 might persist on 16.04, since it seems it has been backported from xenial to vivid. So we are in very small hope that things will improve. Sorry to not give a better answer at the moment. But we can finally only tell if its like this when 16.04 is out.

                    In the meanwhile I hacked around a small problem that might affect you also: https://forums.ubports.com/topic/1030/howto-change-the-name-of-your-device-for-bluetooth-pairing - Just to let you know we did not forget about Bluetooth πŸ™‚

                    BR Florian

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

                    1 Reply Last reply Reply Quote 4
                    • K Online
                      kugiigi
                      last edited by

                      That's quite a sad news. I thought bluetooth will significantly improve in 16.04 considering that it is the latest LTS release.
                      Anyway, any chance we get the media controls working soon?
                      I bought a bluetooth headset a year ago and I've never used its media controls as I use it exclusively with my Ubuntu Phone πŸ˜„

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

                        @kugiigi Hmm the latest LTS releases is 18.04 πŸ˜‰

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

                        1 Reply Last reply Reply Quote 0
                        • miousernameM Offline
                          miousername
                          last edited by

                          Hi,
                          i've a meizu pro 5, bluetooth is working fine with my music app but no with phone app, I hear a lot of noise and I notice that bluetooth speaker controller doesn't come up when I try to adjust volume with the physical buttons during a call. Is it possible that phone app doesn't use the right audio device during bluetooth connection?
                          thanks

                          1 Reply Last reply Reply Quote 0
                          • miousernameM Offline
                            miousername
                            last edited by

                            Hello Guys,

                            I did some tests about bluetooth and I would to share some results for help in solving this annoying bug.
                            I have a Meizu pro 5 with 15.04r3and as I said before with Bluetooth Music Player is working fine but calls sound is disturbed.
                            I realized that:

                            1. Music Player comunincates with bluetooth headphone trough a2dp_sink (ACL) protocol;
                            2. SCO (HSP/HFP) protocol is not working.

                            I did some modification to the file:

                            /etc/pulse/touch.pa

                            I commented out the load of the two module-null-sink and I modified the module-bluez5-discover
                            in the following way:

                            load-module module-bluez5-discover headset=both

                            With this modification I tryied to reproduce some wav tracks with the tools paplay in this way:

                            pactl set-card-profile <bluetooth card number> a2sp_sink
                            paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

                            Sound it's ok, and with hciconfig I saw ACL TX packtes growing, in this way:

                            pactl set-card-profile <bluetooth card number> headsset_head_unit
                            paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

                            paplay hangs and with hciconfig not packtes are sent. So I apply this patch to broadcom bluetooth chip:

                            https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/

                            hcitool cmd 0x3F 0x01C 0x01 0x02 0x00 0x01 0x01

                            And I try again to reproduce the track with this command:
                            pactl set-card-profile <bluetooth card number> headsset_head_unit
                            paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

                            Finally it works and with hciconfig I saw TX SCO packets growing.
                            Then I try to start a Call with telephony-service but not sound!
                            Can you say me which is the default sink for telephony-service??

                            Conclusion: I think that the sound it's disturbed because OFONO packets are sent to "bluetooth haedset" with ACL protocol and not SCO protocol as it should.

                            I hope that this can help you. I continue to debug the problem and I hope to find a solution.

                            Best Regards

                            S flohackF 2 Replies Last reply Reply Quote 4
                            • S Offline
                              Stefano @miousername
                              last edited by

                              @miousername If you can fix that issue, you'll be a genius. Fingers crossed.

                              1 Reply Last reply Reply Quote 1
                              • mihaelM Offline
                                mihael
                                last edited by mihael

                                @miousername I'm really, really folowing you on this!

                                1 Reply Last reply Reply Quote 2
                                • flohackF Offline
                                  flohack @miousername
                                  last edited by

                                  @miousername Good Job! If you are that far, it would be good if you start also commenting on an issue in our GH tracker. Probably there are a few Bluetooth related issues already opened. Finally, we must identify where to patch and then spin up a package build job to override the defaults in Ubuntu root fs. For this to be successful, it would be nice to know the source package that eventually could fix this.

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

                                  1 Reply Last reply Reply Quote 3
                                  • zx81Z Offline
                                    zx81
                                    last edited by

                                    I'm trying to pair a meizu pro 5 with the audio system in my vauxhall/opel antara
                                    The phone recognises the system but doesnt bring up a screen to input the pin code generated, it then fails to connect with the audio unit display saying 'connection failed'

                                    Somewhere, the sun is shining β˜€

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

                                      I have been using Ubuntu touch now for a little more than a week as my main phone.
                                      One issue I have been bothered by is the call quality on my end for Bluetooth connections. on my nexus 5 I am able to pair with several devices, such as our 2018 ford explorer, a set of cheap bluetooth headphones, a jabra ear piece and a high end bluetooth headphones set. In every case In, music and podcast sound great. Audio quality is great, volume fine, no strange compression sound that one can hear over Bluetooth running under some protocols. However in every case call quality is so poor its not worth using. The audio is digitized sounding almost as if the caller is using a transformers voice changer toy for Megatron.
                                      Is this just my nexus 5? is it Ubuntu touch? any ideas???

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

                                        OK...
                                        So Bluetooth working correctly will make or break it for me to use touch as my OS.
                                        Two days ago I was pulled over and was given a $206.00 fine for talking on my phone. this is 4x more than the cost of my nexus 5!!!
                                        I can use earbuds, they work great... But strange thing is I can't plug into my aux in my car, I get a similar result as I do with Bluetooth. I'm starting to think this is a specific problem with the phone I have, not Ubuntu, or a problem with nexus 5 only... Does anyone else have issues with call quality while on Bluetooth in nexus 5??

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          hummlbach
                                          last edited by

                                          @matridium just have a look at the 7th and 8th post in this thread to find someone else having problems with bluetooth on the nexus 5... The thread as a hole shows, that Ubuntu touch has some fundamental issues with bluetooth (i.e. audio quality on calls). You may check wether the problem is with you phone by flashing android or lineage os... But I doubt it is... Unfortunately... πŸ˜•

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

                                            Yup did that this morning, I flashed back to stock and BT works fine, switch back to UBuntu, and same issue as before... Bummer...:( I hope this is something that can be fixed. My Xperia X compact runs fine on Sailfish X, and bluetooth is great on it. I'm just not that into Sailfish.

                                            1 Reply Last reply Reply Quote 0
                                            • F Offline
                                              floop2
                                              last edited by

                                              [xenial] Nexus 5 (r387) bluetooth shows connection to Bose Sound Link II speaker. Speaker does not acknowledge connection, which it does when connected to from Android device. Does Bluetooth work with audio devices (headphones/speakers)? Is this a bug which should be raised in 16.04 Backlog or 16.04 OTA-4/5? Thanks

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