MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    No Country (Bluetooth) For Old Men

    Scheduled Pinned Locked Moved Troubleshooting
    45 Posts 5 Posters 33.1k Views 6 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Mykle1

      Unfortunately, my last post was only partially displayed. I described in detail what was happening. I don’t have the will to retype it.

      In short, I got an mp3 to play through the BT speaker but it stopped when the Pi’s BT failed about 3/4 of the way through the song. Unable to reconnect the speaker. Rebooting. I’ll keep you both posted. Thank you both, Sean and d3r

      EDIT 5 minutes later

      Rebooted, in the RUN CMD window I type start-pulseaudio-x11 because I don’t have it in startup yet. Pulseaudio enables the Volume Control window. Bluetooth connects to the speaker nicely when I right click on the speaker in the Bluetooth Device window. I played the mp3 file again using mpg123. The song started playing immediately but only played 10 seconds before BT failed again. Here is a picture of the Bluetooth Devices window showing the speaker in its frozen state. The activity indicator is frozen as you see it in the picture.
      0_1504920122261_bt.JPG

      EDIT - 15 minutes later

      I’ve determined that BOTH pulseaudio and BT are failing. I don’t know if one is causing the other to fail but both are definitely failing. The Bluetooth Devices window is easy to see because the activity indicator freezes. I know now that pulseaudio fails because the speaker disappears from the Output Devices of Volume Control which is pulseaudio.

      Reboot #4! I really hope one of you can give me some advice. Thanks again!

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        @d3r
        @Sean
        With each successive reboot the failure seemed to come sooner and sooner, wherein the crash came before I even got to play the sound file. I’ve had it for the night. Maybe I’ll run into you guys tomorrow.

        Peace!

        Create a working config
        How to add modules

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          d3r @Mykle1
          last edited by

          @Mykle1 If you’re on jessie (with pixel), keep reading this post. I think you mentioned you have blueman installed. You don’t need blueman anymore. I would recommend getting rid of it. Pixel comes with pi-bluetooth which is supposed to make things easier for audio. Notice how you have 2 bluetooth icons in your taskbar? They could be conflicting.
          Please also see this link https://www.raspberrypi.org/blog/another-update-raspbian/ for how to connect the speaker. It should work.
          Of course do back up your card in case something goes wrong.

          Raspbian Stretch also changed some stuff about bluetooth, maybe take a look at that if you have a spare sd card lying around. I personally haven’t tried it yet.
          https://www.raspberrypi.org/blog/raspbian-stretch/

          This is how mine looks
          0_1504926341290_46aad08f-a75c-4d95-a88d-8edc17504ae3-image.png

          Mykle1M 3 Replies Last reply Reply Quote 3
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @d3r
            last edited by

            @d3r said in No Country (Bluetooth) For Old Men:

            You don’t need blueman anymore

            I really can’t wait to try your suggestions. I have other household matters to take care of first (says the wife). I will report back to you later when I’ve tried. Many thanks for your input and advice!

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer
              last edited by

              Finally finished working my butt off today. Now, I take a stab at your suggestions. Wish me luck!

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @d3r
                last edited by

                @d3r said in No Country (Bluetooth) For Old Men:

                You don’t need blueman anymore.

                Just to clarify, pulseaudio stays? I’ve removed Blueman

                Create a working config
                How to add modules

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  d3r @Mykle1
                  last edited by

                  @Mykle1
                  Ya. Pulseaudio stays.

                  Mykle1M 1 Reply Last reply Reply Quote 1
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @d3r
                    last edited by

                    @d3r said in No Country (Bluetooth) For Old Men:

                    Ya. Pulseaudio stays.

                    Ok, I thought so. I’ll have an update in a little while

                    Create a working config
                    How to add modules

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      d3r @Mykle1
                      last edited by

                      @Mykle1 you might have to be remove (forget) the speaker on your pi bluetooth and restart the pi again once you remove blueman.

                      Mykle1M 1 Reply Last reply Reply Quote 1
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @d3r
                        last edited by Mykle1

                        @d3r said in No Country (Bluetooth) For Old Men:

                        you might have to be remove (forget) the speaker on your pi bluetooth and restart the pi again once you remove blueman.

                        I haven’t tried that. Pairing doesn’t seem to be my problem. The speaker pairs automatically.

                        Let me explain my sequence and result

                        The first thing I have to do is RUN start-pulseaudio-x11 because I don’t have it in startup yet. This enables the Volume Control where I clearly see the speaker connected.
                        0_1505003038494_44.JPG

                        Click on the Bluetooth icon and again, I see the speaker is paired
                        0_1505003116377_55.JPG

                        Right click the Volume icon and I see the speaker but it is not chosen yet.
                        0_1505003180903_66.JPG

                        Following the directions of the link you gave, I click on HMDX in the drop down menu of the volume icon, but this is the result
                        0_1505003355073_77.JPG

                        My pulseaudio is up to date.

                        I’ll remove the speaker and add it again if you think that will help

                        Create a working config
                        How to add modules

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @Mykle1
                          last edited by Mykle1

                          @Mykle1 said in No Country (Bluetooth) For Old Men:

                          I’ll remove the speaker and add it again

                          As it turns out, that was a bad idea. Now the Pi does not see the speaker.
                          0_1505006184803_aa.JPG0_1505006291708_bb.JPG

                          Create a working config
                          How to add modules

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            d3r @Mykle1
                            last edited by

                            @Mykle1 Sorry to hear it’s not working.
                            When you reboot try it without running the start-pulseaudio-x11 command. If that doesn’t work, I’m lost.
                            Iirc, when I set mine up, I paired the speaker, then did the right click on the speaker icon to change it to the bluetooth speaker.

                            Mykle1M 1 Reply Last reply Reply Quote 1
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @d3r
                              last edited by

                              @d3r

                              I can’t try anything right now. The Pi doesn’t see the speaker since I removed it. I can’t add it because it doesn’t appear in the Add Device window

                              Create a working config
                              How to add modules

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                d3r @Mykle1
                                last edited by

                                @Mykle1 try the command line instead of the gui to pair your speaker.
                                Run bluetoothctl in terminal.
                                Then type:
                                power on
                                Default-agent
                                Agent on
                                Scan on
                                then see if bluetoothct sees the speaker.

                                Mykle1M 1 Reply Last reply Reply Quote 1
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @d3r
                                  last edited by

                                  @d3r

                                  Seemed like it pair, but then says COnnected: no

                                  Discovery started
                                  [CHG] Controller B8:27:EB:78:6F:82 Discovering: yes
                                  [NEW] Device 5D:7C:05:CD:53:E2 5D-7C-05-CD-53-E2
                                  [NEW] Device A0:E9:DB:89:37:82 HMDX RAVE
                                  [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -72
                                  [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -89
                                  [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -72
                                  [CHG] Device A0:E9:DB:89:37:82 RSSI: -66
                                  [CHG] Device A0:E9:DB:89:37:82 RSSI: -53
                                  [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -90
                                  [bluetooth]# pair A0:E9:DB:89:37:82
                                  Attempting to pair with A0:E9:DB:89:37:82
                                  [CHG] Device A0:E9:DB:89:37:82 Connected: yes
                                  Request PIN code
                                  [agent] Enter PIN code: 0000
                                  [CHG] Device A0:E9:DB:89:37:82 UUIDs:
                                  	0000110b-0000-1000-8000-00805f9b34fb
                                  	0000110e-0000-1000-8000-00805f9b34fb
                                  [CHG] Device A0:E9:DB:89:37:82 Paired: yes
                                  Pairing successful
                                  [CHG] Device A0:E9:DB:89:37:82 Connected: no
                                  [bluetooth]#

                                  Create a working config
                                  How to add modules

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    d3r @Mykle1
                                    last edited by

                                    @Mykle1 Can you try the right click on the speaker icon now to see if it works?

                                    Mykle1M 1 Reply Last reply Reply Quote 1
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @d3r
                                      last edited by

                                      @d3r

                                      The speaker was there but I got this error when I clicked on it

                                      FatalError: Unable to connect to PulseAudio: OK

                                      Create a working config
                                      How to add modules

                                      D 1 Reply Last reply Reply Quote 0
                                      • Mykle1M Offline
                                        Mykle1 Project Sponsor Module Developer
                                        last edited by

                                        Getting something to drink, in lieu of a sedative.

                                        Create a working config
                                        How to add modules

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          d3r @Mykle1
                                          last edited by

                                          @Mykle1 Getting close.
                                          Run pulseaudio --start then try the speaker thing again.

                                          Mykle1M 3 Replies Last reply Reply Quote 1
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @d3r
                                            last edited by

                                            @d3r said in No Country (Bluetooth) For Old Men:

                                            pulseaudio --start

                                            0_1505009177531_111.JPG

                                            Create a working config
                                            How to add modules

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy