piCorePlayer 6.x.x - Bluetooth

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • paul-
    Senior Member
    • Jan 2013
    • 5777

    There is no way to make it behave the old way (Except to use an old version of pCP)

    I'm not sure what you are trying to say though.

    The player should only disappear when you disconnect the bluetooth device.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

    Comment

    • amatos
      Junior Member
      • Mar 2013
      • 4

      Hi everyone,

      Apologies, I'm not sure if this is the right thread or if I should create another one.

      I'm trying to stream bluetooth from a Windows laptop to pCP (in other words using pCP as a speaker. Not trying to stream to a web stream). I've clicked discover in pCP and my Windows laptop was able to find it. I've changed the type to be "Player" as mentioned in this forum. My windows laptop is able to connect with no issues but when I try to play no sound comes out.

      The only thing I can think of is that my pCP box is connected to an external DAC via USB. This works fine with LMS however.

      Can you please advise?

      Comment

      • paul-
        Senior Member
        • Jan 2013
        • 5777

        I would suspect that window isn’t encoding the audio in a standard way. Can you post the Bluetooth log.
        piCorePlayer a small player for the Raspberry Pi in RAM.
        Homepage: https://www.picoreplayer.org

        Please donate if you like the piCorePlayer

        Comment

        • bobcoupee
          Member
          • Sep 2020
          • 75

          piCorePlayer and bluetooth on Raspberry Pi 3b+

          Hi

          I ma trying to get piCorePlayer and Bluetooth working on my Raspberry Pi 3b+. I have enabled the Raspberry Pi built-in bluetooth and installed the Bluetooth software in pcp. The first time I click "Power On" it hangs at "Turning the BT Controller power on...".

          Subsequent attempts shows the following in the logs:

          "pCP Bluetooth extension build:0012
          Starting BT Controller
          bcm43xx_init
          Bluetooth loaded, but no controller detected."

          Any ideas how to resolve this?

          Thanks.

          Comment

          • Paul Webster
            Senior Member
            • Apr 2005
            • 10338

            Originally posted by bobcoupee
            Any ideas how to resolve this?
            Perhaps try connecting via Ethernet and disabling the on-board WiFi to see if that makes a difference.
            Paul Webster
            Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
            and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

            Comment

            • bobcoupee
              Member
              • Sep 2020
              • 75

              piCorePlayer and bluetooth on Raspberry Pi 3b+

              Originally posted by Paul Webster
              Perhaps try connecting via Ethernet and disabling the on-board WiFi to see if that makes a difference.
              Thanks for the reply. The problem occurs with the Pi on Ethernet and WiFi disabled.

              I have uninstalled and reinstalled the bluetooth software and disabled and reenabled the onboard bluetooth.

              I have also tested that the bluetooth works on the board by running up Moodeaudio and using the bluetooth functionality that comes with that software.

              Any other ideas to try?

              Comment

              • Paul Webster
                Senior Member
                • Apr 2005
                • 10338

                perhaps try the step in
                Paul Webster
                Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
                and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

                Comment

                • bobcoupee
                  Member
                  • Sep 2020
                  • 75

                  piCorePlayer and bluetooth on Raspberry Pi 3b+

                  Originally posted by Paul Webster
                  Thanks for the suggestion Paul. I have tried turning the RPi's bluetooth off and on again (with reboots) several times to no avail.

                  I also saw the same behavior exhibited with a fresh install of piCorePlayer on the same RPi 3B+ and on a different RPi 3B+.

                  I have previously seen it work on my RPi 3B.

                  Comment

                  • paul-
                    Senior Member
                    • Jan 2013
                    • 5777

                    Are there any clues in dmesg? For sure at the end of dmesg, you should see the bluetooth controller enabling and loading firmware.
                    Last edited by paul-; 2020-09-28, 17:45.
                    piCorePlayer a small player for the Raspberry Pi in RAM.
                    Homepage: https://www.picoreplayer.org

                    Please donate if you like the piCorePlayer

                    Comment

                    • bobcoupee
                      Member
                      • Sep 2020
                      • 75

                      PiCorePlayer and bluetoothnp and Rpi 3b+

                      Originally posted by paul-
                      Are there any clues in dmesg? For sure at the end of dmesg, you should see the bluetooth controller enabling and loading firmware.
                      I see the following in dmesg:

                      “ 12.135665] Bluetooth: Core ver 2.22
                      [ 12.135742] NET: Registered protocol family 31
                      [ 12.135747] Bluetooth: HCI device and connection manager initialized
                      [ 12.135827] Bluetooth: HCI socket layer initialized
                      [ 12.135837] Bluetooth: L2CAP socket layer initialized
                      [ 12.135888] Bluetooth: SCO socket layer initialized
                      [ 12.141409] Bluetooth: HCI UART driver ver 2.3
                      [ 12.141420] Bluetooth: HCI UART protocol H4 registered
                      [ 12.141486] Bluetooth: HCI UART protocol Three-wire (H5) registered
                      [ 12.141708] Bluetooth: HCI UART protocol Broadcom registered
                      [ 12.213494] uart-pl011 3f201000.serial: no DMA platform data
                      [ 12.821389] fuse init (API version 7.27)
                      [ 30.021203] pcm512x 1-004d: No SCLK, using BCLK: -2
                      [ 30.042543] pcm512x 1-004d: No SCLK, using BCLK: -2
                      [ 30.827028] Finished piCorePlayer v6.1.0 startup.
                      [ 42.400707] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
                      [ 42.400713] Bluetooth: BNEP filters: protocol multicast
                      [ 42.400725] Bluetooth: BNEP socket layer initialized
                      [ 84.748834] pcm512x 1-004d: No SCLK, using BCLK: -2“

                      Comment

                      • Silver1omo
                        Junior Member
                        • Sep 2020
                        • 2

                        -s

                        Originally posted by paul-
                        The source code is on your device, 99% is text scripts. For binary content, take a look at the extension .info files on our repo. Or on our github.

                        What makes the most sense in your case is use the LMS is setting from the squeezelite page. I can make that update.
                        This would be great, my LMS is not discoverable.
                        Thanks for all the hard work!

                        Comment

                        • bobcoupee
                          Member
                          • Sep 2020
                          • 75

                          piCorePlayer and bluetooth on Raspberry Pi 3b+

                          Originally posted by bobcoupee
                          I see the following in dmesg:

                          “ 12.135665] Bluetooth: Core ver 2.22
                          [ 12.135742] NET: Registered protocol family 31
                          [ 12.135747] Bluetooth: HCI device and connection manager initialized
                          [ 12.135827] Bluetooth: HCI socket layer initialized
                          [ 12.135837] Bluetooth: L2CAP socket layer initialized
                          [ 12.135888] Bluetooth: SCO socket layer initialized
                          [ 12.141409] Bluetooth: HCI UART driver ver 2.3
                          [ 12.141420] Bluetooth: HCI UART protocol H4 registered
                          [ 12.141486] Bluetooth: HCI UART protocol Three-wire (H5) registered
                          [ 12.141708] Bluetooth: HCI UART protocol Broadcom registered
                          [ 12.213494] uart-pl011 3f201000.serial: no DMA platform data
                          [ 12.821389] fuse init (API version 7.27)
                          [ 30.021203] pcm512x 1-004d: No SCLK, using BCLK: -2
                          [ 30.042543] pcm512x 1-004d: No SCLK, using BCLK: -2
                          [ 30.827028] Finished piCorePlayer v6.1.0 startup.
                          [ 42.400707] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
                          [ 42.400713] Bluetooth: BNEP filters: protocol multicast
                          [ 42.400725] Bluetooth: BNEP socket layer initialized
                          [ 84.748834] pcm512x 1-004d: No SCLK, using BCLK: -2“
                          FYI: For anyone else who has this problem. I fixed it using the suggestion here, https://forums.slimdevices.com/showt...l=1#post979020. Enabling the RPi WiFi (but setting wifi to off on the WiFi Settings tab) resolved the issue. Thanks to user paul- for all of their help yesterday.

                          Comment

                          • bobcoupee
                            Member
                            • Sep 2020
                            • 75

                            Originally posted by bobcoupee
                            FYI: For anyone else who has this problem. I fixed it using the suggestion here, https://forums.slimdevices.com/showt...l=1#post979020. Enabling the RPi WiFi (but setting wifi to off on the WiFi Settings tab) resolved the issue. Thanks to user paul- for all of their help yesterday.

                            I might have spoken too soon. So I can get the BT Controller to Power On now, but can't pair with a device (as a streaming source). The following is logged:

                            "[ INFO ] Attempting to pair , /dev/mmcblk0p1....
                            Device /dev/mmcblk0p1 not available
                            [ ERROR ] Try to reboot device and start over"

                            I have tried rebooting but the same happens.

                            Any ideas?

                            Comment

                            • paul-
                              Senior Member
                              • Jan 2013
                              • 5777

                              What are you trying to pair? I would suspect a device with special characters in it's name.
                              Last edited by paul-; 2020-09-29, 16:28.
                              piCorePlayer a small player for the Raspberry Pi in RAM.
                              Homepage: https://www.picoreplayer.org

                              Please donate if you like the piCorePlayer

                              Comment

                              • bobcoupee
                                Member
                                • Sep 2020
                                • 75

                                PiCorePlayer and Bluetooth and Rpi 3b+

                                Originally posted by paul-
                                What are you trying to pair? I would suspect a device with special characters in it's name.
                                Hi Paul

                                Thanks for the reply. One item was a laptop with a name similar to ‘UK-PLE-J-Smith’ and also my Android phone with a name of ‘moto g(8) power’. Are these considered special characters?

                                Once again both devices connected via Bluetooth when using PiCorePlayer with a Rpi 3b.

                                Comment

                                Working...