[UPDATE BUG FIX] Bluetooth Addon BETA

Max2Play Home 2016 (en) Forums Max2Play Add-ons [UPDATE BUG FIX] Bluetooth Addon BETA

This topic contains 464 replies, has 104 voices, and was last updated by  awalsh99 premium 5 months, 1 week ago.

Viewing 30 posts - 211 through 240 (of 465 total)
  • 1. Februar 2017 at 11:17 #26530

    Gary, have you updated to the BETA version of Max2Play to test it?

    The command I added, was just to show how it basically works. The Fix in the Max2Play Beta is little different. You have to edit the card number or use the cards name in the example command, if you want it to work in your setup. If you really want to use the command line, use „pacmd list-cards“ to see the index of your Echo, and use this instead of „2“.

    1. Februar 2017 at 21:42 #26551

    I had forgotten about updating to beta. However, I had listed the cards to ensure that I was using the correct index.

    Tonight I did the update to beta and tried again without success. After rebooting again, the command started working without error. Unfortunately, it didn’t fix the problem and I’m still getting silence out of my Echo.

    Just to check I did connect my Galaxy S6 to it and managed to play music using VLC.

    [email protected]:~ $ pacmd list-cards
    3 card(s) available.                                                                                       
        index: 0
            name: <alsa_card.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device>
            driver: <module-alsa-card.c>
            owner module: 6
            properties:
                    alsa.card = "1"
                    alsa.card_name = "USB PnP Sound Device"
                    alsa.long_card_name = "C-Media Electronics Inc. USB PnP Sound Device at usb-3f980000.usb-1.4, full spe"
                    alsa.driver_name = "snd_usb_audio"
                    device.bus_path = "platform-3f980000.usb-usb-0:1.4:1.0"
                    sysfs.path = "/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/sound/card1"
                    udev.id = "usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device"
                    device.bus = "usb"
                    device.vendor.id = "0d8c"
                    device.vendor.name = "C-Media Electronics, Inc."
                    device.product.id = "013c"
                    device.product.name = "CM108 Audio Controller"
                    device.serial = "C-Media_Electronics_Inc._USB_PnP_Sound_Device"
                    device.string = "1"
                    device.description = "CM108 Audio Controller"
                    module-udev-detect.discovered = "1"
                    device.icon_name = "audio-card-usb"
            profiles:
                    input:analog-mono: Analog Mono Input (priority 1, available: unknown)
                    off: Off (priority 0, available: unknown)
            active profile: <input:analog-mono>
            sources:
                    alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-mono/#0: CM108 Audio Controller Analog Mono
            ports:
                    analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
                            properties:
                                    device.icon_name = "audio-input-microphone"
        index: 1
            name: <alsa_card.0>
            driver: <module-alsa-card.c>
            owner module: 7
            properties:
                    alsa.card = "0"
                    alsa.card_name = "bcm2835 ALSA"
                    alsa.long_card_name = "bcm2835 ALSA"
                    device.bus_path = "/devices/virtual/sound/card0"
                    sysfs.path = "/devices/virtual/sound/card0"
                    device.string = "0"
                    device.description = "bcm2835 ALSA"
                    module-udev-detect.discovered = "1"
                    device.icon_name = "audio-card"
            profiles:
                    output:analog-mono: Analog Mono Output (priority 100, available: unknown)
                    output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                    off: Off (priority 0, available: unknown)
            active profile: <output:analog-stereo>
            sinks:
                    alsa_output.0.analog-stereo/#0: bcm2835 ALSA Analog Stereo
            sources:
                    alsa_output.0.analog-stereo.monitor/#1: Monitor of bcm2835 ALSA Analog Stereo
            ports:
                    analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                            properties:
    
        index: 2
            name: <bluez_card.88_71_E5_7F_B8_D1>
            driver: <module-bluez5-device.c>
            owner module: 28
            properties:
                    device.description = "Echo-0NQ"
                    device.string = "88:71:E5:7F:B8:D1"
                    device.api = "bluez"
                    device.class = "sound"
                    device.bus = "bluetooth"
                    device.form_factor = "speaker"
                    bluez.path = "/org/bluez/hci0/dev_88_71_E5_7F_B8_D1"
                    bluez.class = "0x2c0414"
                    bluez.alias = "Echo-0NQ"
                    device.icon_name = "audio-speakers-bluetooth"
            profiles:
                    a2dp_source: High Fidelity Capture (A2DP Source) (priority 10, available: unknown)
                    a2dp: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
                    off: Off (priority 0, available: yes)
            active profile: <a2dp>
            sinks:
                    bluez_sink.88_71_E5_7F_B8_D1/#1: Echo-0NQ
            sources:
                    bluez_sink.88_71_E5_7F_B8_D1.monitor/#2: Monitor of Echo-0NQ
            ports:
                    speaker-output: Speaker (priority 0, latency offset 0 usec, available: unknown)
                            properties:
    
                    speaker-input: Bluetooth Input (priority 0, latency offset 0 usec, available: no)
                            properties:
    
    [email protected]:~ $ pacmd set-card-profile 2 a2dp 
    [email protected]:~ $ 
    
    5. Februar 2017 at 20:39 #26686

    Just bought a new external bluetooth adapter. So far it works much better, as long the distance of echo dot ist not more than 4-5m. On problem still persists. When connecting from my win 10 notebook streaming seem to buffer, means, when starting to play a song it takes up to 36 seconds till sound is comming out of the speakers. Same happens, when stopping a song, eg. in groove. The song keeps playing for quite a while.

    7. Februar 2017 at 19:14 #26736

    Hello heinzelrumpel,

    besides the streaming buffer issues, can you recommend the external bluetooth adapter? Which brand is it?

    Thanks,
    oli

    7. Februar 2017 at 19:18 #26737

    Update: I upgraded to a raspi3 with internal Bluetooth and now both connecting from the Pixel and to the UE Boom 2 works fine (although I did not have enough time for testing for testing streaming for more than a few seconds)

    7. Februar 2017 at 20:08 #26738

    LogiLink BT0015 USB bluetooth V4.0 EDR Class1 Micro, CSR Chip https://www.amazon.de/dp/B0096Y2HFW/ref=cm_sw_r_cp_apa_TVGMybGX7ES7A

    I bought this one. As I wrote it works better than the integrated one, but still, not close of beeing satisfactoraly. Streaming buffer is one issue, the other one is that echo dot sometimes looses Connection. In Orange Squeeze I then push play for that device again and streaming continues.Very annoying.

    10. Februar 2017 at 15:56 #26811

    @flysurfer

    I’m new to M2P and I’m have some issues with the Bluetooth addon. I’ve purchased a licence and installed the Bluetooth addon, I’m now at the point of trying to connect my phone to M2P so I can stream from my phone. I can successfully scan for devices and my phone is listed, but when trying to connect I get the following error

    If you connected Bluetooth Speakers, make sure to set the soundcard of your audioplayers to PULSE (advanced settings Squeezelite) to get them to play with Bluetooth!
    If you connected a Smartphone to stream to Squeezebox Server, NO further setting to your soundcard is needed (do NOT set your soundcard to pulse)!
    User pi is Set
    Device 00:11:68:02:38:CE 00-11-68-02-38-CE
    Device 58:48:22:32:40:D6 Xperia Z3 Compact
    trust 58:48:22:32:40:D6
    Changing 58:48:22:32:40:D6 trust succeeded
    pair 58:48:22:32:40:D6
    Attempting to pair with 58:48:22:32:40:D6
    Device 58:48:22:32:40:D6 Connected: yes
    Failed to pair: org.bluez.Error.AuthenticationRejected
    Device 58:48:22:32:40:D6 Connected: no
    connect 58:48:22:32:40:D6
    Attempting to connect to 58:48:22:32:40:D6
    Device 58:48:22:32:40:D6 Connected: yes
    Failed to connect: org.bluez.Error.Failed
    Device 58:48:22:32:40:D6 Connected: no
    quit
    Device 00:11:68:02:38:CE 00-11-68-02-38-CE
    Device 58:48:22:32:40:D6 Xperia Z3 Compact
    connect 58:48:22:32:40:D6
    Attempting to connect to 58:48:22:32:40:D6
    Device 58:48:22:32:40:D6 Connected: yes
    quit
    Name: Xperia Z3 Compact
    Address: 58:48:22:32:40:D6
    Icon: phone
    Class: 0x5a020c
    Paired: 0
    Connected: 0
    
    Update Configfile - existing Entry changed 

    I have noticed that at no point do I get a request to pair on my phone. I have the Bluetooth setting screen open throughout the whole process.

    Thanks

    Lee

    10. Februar 2017 at 16:28 #26813

    Hi Lee,

    I also tested with a Z3 compact before it was ruined by a spider app… I had no problems with pairing – can you try scan for devices on your phone and if you see Max2Play, try to connect to it? Could you also try to disable Bluetooth on your Z3 and enable it again? This should also bring the phone into the Bluetooth discovery mode.

    10. Februar 2017 at 16:31 #26814

    @heinzelrumpel: the only problems I had with Bluetooth (same as yours: disconnect sometimes while playing) was, when the powersupply was not giving enough power. If you have some kind of powered USB-Hub, you could try to connect the Bluetooth stick there and see if this solves your problem. What else do you have connected to your Pi? You may also (just for testing) remove everything but the Bluetooth dongle, to see if the power is a problem.

    • This reply was modified 3 years, 9 months ago by  flysurfer.
    10. Februar 2017 at 16:56 #26817

    Thanks for the quick reply.

    Using some guides on the Internet I’ve managed to Ssh into the raspberry pi and use the hciconfig hci0 piscan command to make M2P visible to my phone (as before using the command my phone was unable to see M2P). But if I select M2P and pair using my phone I am asked to enter a pin but I have no idea what the pin is.

    Thanks

    Lee

    15. Februar 2017 at 14:19 #26936

    Hallo, seit ein paar Tagen kann ich meine BT Box nicht mehr mit meine RP3 verbinden,
    Habe das Addon Multisqueezer laufen, da ich 2 Player über ein Hardware laufen lasse. Ein Player per BT und einen Über eine USB Soundkarte.

    In der Max2Play Oberfläche wird angezeigt, das er Verbunden ist, aber die Box hat keine Verbindung.
    Ein Reconnect, hat leider auch keine Auswirkungen.
    Mache ich ein Disconnect, zeigt er trotzdem an das er noch verbunden ist.

    Habe auch schon den Kompletten Raspberry neu gestartet.

    P.s. Konnte bei der Ersteinrichtung die Box nicht über das WebIF verbinden, es ging nur über das Terminal. erst als ich die Box dort Verbunden habe, hat er sie mir im WebIF angezeigt, was für mich jetzt nicht so schlimm war, denn danach konnte ich normal immer ein Reconnect durchführen.
    leider Funktioniert das grade nicht mehr.

    15. Februar 2017 at 15:49 #26943

    Hallo zusammen!
    Ich habe Bluetooth auf dem RPi3 eingerichtet und soweit geht auch das Musik-Streamen vom iPhone6 (iOS 10.2.1) über Bluetooth.
    Allerdings kann ich die Lautstärke über die iPhone-Buttons (HW und SW) nicht regeln. Sie ist immer gleich laut, egal wo der Slider steht – nur bei null ist der Ton aus.
    Hat jemand eine Idee?

    Danke und Gruß

    Meine grobe Config:
    RPi3 mit HifiBerry AMP+
    Lizenziertes Max2Play v2.41
    Beide Player (SqueezeLite und SharePort) auf „pulse“
    Autostart Desktop, JiveLite
    Integriertes Audio deaktiviert
    Mit und Ohne „Enable I2S-MMAP“ probiert

    15. Februar 2017 at 19:01 #26947

    Hallo Community,

    ich überlege ob max2play das richtige für meine Zwecke ist; habe deshalb eine kurze Frage:

    Ist es möglich, das Bluetooth Addon oder das komplette Bluetooth device per SSH oder httprequest zu de- bzw. aktivieren?
    Hintergrund ist, das mein bestehendes Setup aus LMS und 2 Squeezelite Raspberries besteht und ich gerne noch den Amazon Echo Dot
    einbinden möchte. Wäre prinzipell ein leichtes, jedoch soll die Bluetooth Verbindung nur stehen wenn auch wirklich Musik gehört wird, da sonst auch die Ansagen über Bluetooth laufen würden wenn zwar die BT Verbindung zu Max2Play besteht aber die Lautsprecher aus sind.
    Bei uns wird alles per Automation gesteuert, demnach müsste ich einen Weg finden beim Kommando “ Mach die Stereoanlage an“ noch die BT Verbindung aufzubauen ohne noch extra dem Echo das Kommando zum pairen zu geben zu müssen.

    Kompliziert, ich weiß:)

    Besten Dank
    Unlight

    15. Februar 2017 at 22:05 #26948

    Hallo!

    Vielleicht noch einen Hinweis zum Regeln der Lautstärke über iPhone:
    Prinzipiell muss das gehen. Wenn ich mein iPhone mit meiner Sound2Go BT-Lautsprecher Box verbinde, kann ich die Lautstärke regeln. Im Display des iPhones sehe ich dann einen Kopfhörer.
    Kann es sein, dass bei Max2Play eine falsche BT Class-ID (Capabilities) oder so gesetzt wird?

    Gruß

    20. Februar 2017 at 17:51 #27052

    Hallo!

    Auf https://github.com/BaReinhard/Raspberry-Pi-Audio-Receiver-Install-Car-Install habe ich eine BT-Implementierung gefunden, bei welcher die Problematik mit der iOS Lautstärkeregelung nicht besteht.
    Laut dessen Doku sei dafür der SSD_Parameter „–plugin=a2dp“ für den Bluetooth-Daemon verantwortlich, wenn ich diesen aber bei max2play einfüge, kommt gar kein Ton mehr heraus. ;-(
    Wäre nett, wenn das hier mal jemand prüfen könnte.

    Ein weiteres nettes Feature in diesem Projekt ist, dass Bluetooth-Pairing/Connect automatisch geschieht und man bei einem Headless System nicht erst per VNC oder Monitor-anschliessen ein Smartphone o.ä. explizit akzeptieren muss.
    Könnte man das nicht auch in m2p einbauen???

    Danke und Gruß

    21. Februar 2017 at 15:28 #27088

    Ich warte auch auf das Addon. Leider läst sich Alexa nicht verbinden.

    Gibt es hierzu schon etwas neues?

    11. März 2017 at 14:36 #27576

    BT Plugin lässt sich nicht installieren

    Ich habe ein ganz frisches Image „m2p_rpi3_default_241_wps_autoexpand.img“ herunter geladen und
    auf meinem RP2B installiert.
    Dann habe ich den Squeezebox Server konfiguriert
    Das hinzufügen des Plugins funktioniert noch.
    Aber, die eigentliche Installation klappt nicht.
    Ich klicke auf den Button „Installiere Bluetooth“ und warte ab.
    Ich erhalte diese Meldungen:

    Bluetooth Installation gestartet
    Installation gestartet - Diese Meldung zeigt den aktuellen Status der Installation aller 3 Sekunden an. Wenn diese abgeschlossen ist verschwindet die Meldung und der Server läuft.
    Hit http://archive.raspberrypi.org jessie/main armhf Packages
    Hit http://archive.raspberrypi.org jessie/ui armhf Packages
    Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
    Ign http://archive.raspberrypi.org jessie/main Translation-en
    Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
    Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
    Ign http://archive.raspberrypi.org jessie/ui Translation-en
    Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
    You need to choose pulse as audio output for your audioplayer AND run a X-Server (e.g. Jivelite - workaround for pulseaudio)
    Finished - now connect the Bluetooth dongle or Reboot Click here to reboot now

    Nach dem Neustart habe ich wieder nur den Button „Installiere Bluetooth“

    11. März 2017 at 14:52 #27577

    Nachtrag:
    Die Max2Play-Lizenz ist aktiviert

    11. März 2017 at 17:59 #27584

    So, nachdem ich jetzt Stunden lang gesucht habe…

    Für das Addon ist es notwendig vorher Shairtunes2 zu installieren.

    Das sollte in der Installationsanleitung erwähnt werden!!!

    21. März 2017 at 22:20 #27825

    Dear All,

    I successfully connect my echo dot to max2play by bluetooth. (beta version)
    And stream to my squeezebox. 😛
    But when I start pause or tell something to alexa, it takes 30 sec to play on the squeezebox.
    Do you how to reduce the delay guys?
    Also between action (alexa play next, play prince) the music is distorded…

    Thanks for your help.
    Nice job anyway, fantastic distro 🙂
    Kall

    22. März 2017 at 4:21 #27827

    Hello I am having difficulty with bluetooth. I have installed and setup bluetooth. My phone and speakers are detected and it even looks like they connect but are instantly disconnected

    Rpi 2
    m2p image m2p_rpi3_7zoll_232.img (using 7in official touch screen)
    using dongle – unknown perhaps this is the problem? do the errors below have meaning relevance?
    in the mean time I will look for my powered usb hub and see if better power helps
    THanks
    Tree Dweller

    User pi is Set
    Device 08:D4:2B:61:0D:43 SGH-I317M
    Device 04:52:C7:1B:4D:B0 Bose SoundSport
    trust 08:D4:2B:61:0D:43
    Changing 08:D4:2B:61:0D:43 trust succeeded
    pair 08:D4:2B:61:0D:43
    Attempting to pair with 08:D4:2B:61:0D:43
    Device 08:D4:2B:61:0D:43 Connected: yes
    Failed to pair: org.bluez.Error.AuthenticationFailed
    Device 08:D4:2B:61:0D:43 Connected: no
    connect 08:D4:2B:61:0D:43
    Attempting to connect to 08:D4:2B:61:0D:43
    Device 08:D4:2B:61:0D:43 Connected: yes
    Failed to connect: org.bluez.Error.Failed
    Device 08:D4:2B:61:0D:43 Connected: no
    Device 08:D4:2B:61:0D:43 Connected: yes
    Device 08:D4:2B:61:0D:43 Connected: no
    quit
    Device 08:D4:2B:61:0D:43 SGH-I317M
    Device 04:52:C7:1B:4D:B0 Bose SoundSport
    connect 08:D4:2B:61:0D:43
    Attempting to connect to 08:D4:2B:61:0D:43
    quit
    Name: SGH-I317M
    Address: 08:D4:2B:61:0D:43
    Icon: phone
    Class: 0x5a020c
    Paired: 0
    Connected: 0

    22. März 2017 at 12:08 #27828

    Hi – sorry for the delayed answers:

    @axels: Ggf. war zum Zeitpunkt deiner Installation von Bluetooth der Raspbian Download-Server nicht erreichbar (hatten wir schon ein paar mal). Normalerweise müssen keine zusätzlichen Installationen durchgeführt werden.

    @kall: I assume that you connect Bluetooth to the Squeezebox Server running on Max2Play and then stream to one of your Squeezeboxes. The normal delay should be in 3 to 5 seconds, as the stream is recorded on Max2Play and then send to the connected squeezeplayer. If you stream directly to the soundcard of the Max2Play device (Audioplayer set up with Pulse) you will have no delay but then you are restricted to the device (not using Squeezebox Server to share the stream). Anyway 30 seconds seems to much and you may try to restart the device (Max2Play) and see if that helps.

    @treedweller: after the first pairing from the Max2Play web interface (device is trusted and paired), the bluetooth device should be connected and also available for further connections on your smartphone, even if the connection drops. Can you check your smartphone and initiate the connection from your smartphone (open bluetooth settings and connect to Max2Play). When using the web interface to connect, it will trust & pair ( & maybe connect) -> disconnect -> connect again. When reloading the bluetooth page with the reload button on the web interface the connection should be indicated as green.

    @phil86: Alexa (mit Lautsprecher) sollte mit Max2PLay Version 2.41 funktionieren als Bluetooth Lautsprecher (Pulse in Audioplayer als Soundkarte wählen). Der Dot kann als Bluetooth-Zuspieler für Max2Play verwendet werden (Streaming über Soundkarte oder Squeezebox Server).

    @terryk: Das Pairing muss bei Max2Play nur einmal über das Webinterface gestartet werden. Danach funktioniert es ohne das Webinterface.
    Die BT Class-ID wird automatisch gesetzt bei der Erkennung des Device. Allerdings kann es durchaus sein, dass einige Eigenschaften nicht richtig erkannt werden.

    All the Best,
    Stefan

    23. März 2017 at 7:35 #27836

    @treedweller: after the first pairing from the Max2Play web interface (device is trusted and paired), the bluetooth device should be connected and also available for further connections on your smartphone, even if the connection drops. Can you check your smartphone and initiate the connection from your smartphone (open bluetooth settings and connect to Max2Play). When using the web interface to connect, it will trust & pair ( & maybe connect) -> disconnect -> connect again. When reloading the bluetooth page with the reload button on the web interface the connection should be indicated as green.

    Hi flysurfer.

    I am having a similar issue but with a different device

    If you connected Bluetooth Speakers, make sure to set the soundcard of your audioplayers to PULSE (advanced settings Squeezelite) to get them to play with Bluetooth!
    If you connected a Smartphone to stream to Squeezebox Server, NO further setting to your soundcard is needed (do NOT set your soundcard to pulse)!
    User pi is Set
    Device 88:C6:26:55:FF:02 UE ROLL
    Device 00:1C:97:11:8D:97 clipsal0
    trust 00:1C:97:11:8D:97
    Changing 00:1C:97:11:8D:97 trust succeeded
    pair 00:1C:97:11:8D:97
    Attempting to pair with 00:1C:97:11:8D:97
    Device 00:1C:97:11:8D:97 Connected: yes
    Failed to pair: org.bluez.Error.AuthenticationFailed
    Device 00:1C:97:11:8D:97 Connected: no
    connect 00:1C:97:11:8D:97
    Attempting to connect to 00:1C:97:11:8D:97
    Device 00:1C:97:11:8D:97 Connected: yes
    Failed to connect: org.bluez.Error.Failed
    Device 00:1C:97:11:8D:97 Connected: no
    Device 00:1C:97:11:8D:97 Connected: yes
    quit
    Name: clipsal0
    Address: 00:1C:97:11:8D:97
    Icon: audio-card
    Class: 0x24c400
    Paired: 0
    Connected: 1
    
    Update Configfile - existing Entry changed

    I am able to pair with a different set of speakers but I am wondering what may be causing this particular set of speakers to not function correctly.

    EDIT: I have followed other guides and used SSH to initiate commands manually but with the same result. There is nothing that indicates I need to enter a PIN and I even tried removing the pin entirely from the device but it still will not authenticate.

    EDIT2: Would you believe that I posted that question after around 8 hours of fiddling and 15 minutes after posting I’ve managed to fix it. I had to SSH into the Pi and use bluetooth control with a -a option. This popped up the pin request prompt and I was able to enter it. Without using the -a option I don’t get a prompt at all

    so in summary the command was
    sudo bluetoothctl -a

    • This reply was modified 3 years, 8 months ago by  peterng.
    • This reply was modified 3 years, 8 months ago by  peterng.
    7. April 2017 at 18:43 #28030

    What Raspberry Pi do you use and what Max2Play SD-Card-Image did you install?
    Raspi 3 mit integriertem Bluetooth

    What Max2Play-Version do you use?
    v2.42

    What is the output of the “DEBUG” window at the bottom of the bluetooth addon?

    #### Bluetooth Installation ####
     
    
    #### Bluetooth Dongle ####
    hci0:	Type: BR/EDR  Bus: UART
    	BD Address: B8:27:EB:25:22:FF  ACL MTU: 1021:8  SCO MTU: 64:1
    	UP RUNNING PSCAN 
    	RX bytes:5670 acl:60 sco:0 events:387 errors:0
    	TX bytes:425904 acl:557 sco:0 commands:73 errors:0
    
     
    
    #### DEVICE D0-03-4B-32-6D-6A ####
    [D0:03:4B:32:6D:6A]
      Name: (null)
      Alias: (null) [rw]
      Address: (null)
      Icon: (null)
      Class: 0x0
      Paired: 0
      Trusted: 0 [rw]
      Blocked: 0 [rw]
      Connected: 0
      UUIDs: [ 
    
    #### DEVICE LS 1605 ####
    [99:99:22:00:13:48]
      Name: LS 1605
      Alias: LS 1605 [rw]
      Address: 99:99:22:00:13:48
      Icon: audio-card
      Class: 0x240404
      Paired: 1
      Trusted: 1 [rw]
      Blocked: 0 [rw]
      Connected: 1
      UUIDs: [Headset, AudioSink, AVRemoteControlTarget, AdvancedAudioDistribution, AVRemoteControl, Handsfree]
     
    
    #### PACMD LIST | grep active ####
    	active port: <analog-output>
    	active port: <analog-output>
    	active port: <headset-output>
    	active profile: <output:analog-stereo>
    	active profile: <output:analog-stereo>
    	active profile: <a2dp>
     
    
    #### PACMD LIST | grep sink ####
    Default sink name: bluez_sink.99_99_22_00_13_48
    		module.description = "When a bluetooth sink or source is added, load module-loopback"
    		module.description = "Automatically restore the default sink and source"
    		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
    	name: <module-always-sink>
    		module.description = "Always keeps at least one sink loaded even if it's a null one"
    		module.description = "When a sink/source is idle for too long, suspend it"
    		module.description = "Load filter sinks automatically when needed"
    		module.description = "BlueZ 5 Bluetooth audio sink and source"
    3 sink(s) available.
    	name: <bluez_sink.99_99_22_00_13_48>
    		bluetooth.protocol = "a2dp_sink"
    	name: <bluez_sink.99_99_22_00_13_48.monitor>
    	sinks:
    	sinks:
    	sinks:
    		bluez_sink.99_99_22_00_13_48/#3: LS 1605
    		bluez_sink.99_99_22_00_13_48.monitor/#3: Monitor of LS 1605
    0 sink input(s) available.
     
    
    #### X-SERVER RUNNING ####
    1 
    
    #### PULSEAUDIO RUNNING ####
    1 S  1000  1266     1  0  80   0 - 28349 -      ?        00:00:01 pulseaudio
    1 S  1000  1363     1  0  80   0 -   478 -      ?        00:00:00 start-pulseaudi
    

    What exaclty is not working? Pairing, Connecting, Playing Audio, Reconnecting on Reboot,…

    Pairing funktioniert.
    Ich habe beim Audioplayer – PulseAudio eingestellt, höre jedoch keinen Ton am Speaker wenn ich vom LMS etwas abspiele,…

    • This reply was modified 3 years, 7 months ago by  eriche.
    10. April 2017 at 17:50 #28083

    @peterng: Thanks for this info! I never had a device with PIN for testing so far. I think in that special case it is needed to manually use SSH and the command you posted until I figure out how to send this PIN with the commandline from the web interface.

    @eriche: looks good so far. Device is connected, BUT according to your log file, there seem to be multiple card profiles recognized at your speaker. This might lead to using the wrong output or mode. Is your Bluetooth Speaker also capable of recording (e.g. streaming bluetooth instead receiving)?
    If possible, can you login with SSH as user „pi“ and change the current card-profile to test if this fixes the No-Sound-Error. The command to find the possible modes of your bluetooth speaker and the command to change the profile should be:
    pacmd list-cards
    and to set to a2dp (should be output)
    pacmd set-card-profile bluez_sink.99_99_22_00_13_48 a2dp

    I added a more detailed output to the latest Max2Play-BETA, that shows all card profiles in the Debug Output on the Bluetooth page. Maybe you can update to the Beta and send the last entry from the Debug output. This might help me to tell you if the problem is indeed caused by multiple card profiles.

    I will try to add a „profile“-chooser to one of the following versions of Max2Play.

    • This reply was modified 3 years, 7 months ago by  flysurfer.
    • This reply was modified 3 years, 7 months ago by  flysurfer.
    12. April 2017 at 18:36 #28186

    I updated to Version Beta-170411 – hope this is the one with the additional debug infos.

    Your command is not working for me 🙁

    [email protected]:~ $ pacmd set-card-profile bluez_sink.99_99_22_00_13_48 a2dp
    No card found by this name or index.

    Here my output of the list-cards

    [email protected]:~ $ pacmd list-cards
    3 card(s) available.
        index: 0
            name: <alsa_card.platform-soc_sound>
            driver: <module-alsa-card.c>
            owner module: 6
            properties:
                    alsa.card = "1"
                    alsa.card_name = "IQaudIODAC"
                    alsa.long_card_name = "IQaudIODAC"
                    alsa.driver_name = "snd_soc_iqaudio_dac"
                    device.bus_path = "platform-soc:sound"
                    sysfs.path = "/devices/platform/soc/soc:sound/sound/card1"
                    device.string = "1"
                    device.description = "IQaudIODAC"
                    module-udev-detect.discovered = "1"
                    device.icon_name = "audio-card"
            profiles:
                    output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                    off: Off (priority 0, available: unknown)
            active profile: <output:analog-stereo>
            sinks:
                    alsa_output.platform-soc_sound.analog-stereo/#0: IQaudIODAC Analog Stereo
            sources:
                    alsa_output.platform-soc_sound.analog-stereo.monitor/#0: Monitor of IQaudIODAC Analog Stereo
            ports:
                    analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                            properties:
    
        index: 1
            name: <alsa_card.0>
            driver: <module-alsa-card.c>
            owner module: 7
            properties:
                    alsa.card = "0"
                    alsa.card_name = "bcm2835 ALSA"
                    alsa.long_card_name = "bcm2835 ALSA"
                    device.bus_path = "/devices/virtual/sound/card0"
                    sysfs.path = "/devices/virtual/sound/card0"
                    device.string = "0"
                    device.description = "bcm2835 ALSA"
                    module-udev-detect.discovered = "1"
                    device.icon_name = "audio-card"
            profiles:
                    output:analog-mono: Analog Mono Output (priority 100, available: unknown)
                    output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                    off: Off (priority 0, available: unknown)
            active profile: <output:analog-stereo>
            sinks:
                    alsa_output.0.analog-stereo/#1: bcm2835 ALSA Analog Stereo
            sources:
                    alsa_output.0.analog-stereo.monitor/#1: Monitor of bcm2835 ALSA Analog Stereo
            ports:
                    analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                            properties:
    
        index: 2
            name: <bluez_card.99_99_22_00_13_48>
            driver: <module-bluez5-device.c>
            owner module: 28
            properties:
                    device.description = "LS 1605"
                    device.string = "99:99:22:00:13:48"
                    device.api = "bluez"
                    device.class = "sound"
                    device.bus = "bluetooth"
                    device.form_factor = "headset"
                    bluez.path = "/org/bluez/hci0/dev_99_99_22_00_13_48"
                    bluez.class = "0x240404"
                    bluez.alias = "LS 1605"
                    device.icon_name = "audio-headset-bluetooth"
                    device.intended_roles = "phone"
            profiles:
                    a2dp: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
                    off: Off (priority 0, available: yes)
            active profile: <a2dp>
            sinks:
                    bluez_sink.99_99_22_00_13_48/#2: LS 1605
            sources:
                    bluez_sink.99_99_22_00_13_48.monitor/#2: Monitor of LS 1605
            ports:
                    headset-output: Headset (priority 0, latency offset 0 usec, available: unknown)
                            properties:
    
                    headset-input: Headset (priority 0, latency offset 0 usec, available: no)
                            properties:

    I have my IQAudio Soundcard as you noticed but want to use for testing my Bluetooth Speaker.
    So a Profile chooser would be great 😉

    Please tell me what to do neXt,…

    • This reply was modified 3 years, 7 months ago by  eriche.
    18. April 2017 at 17:03 #28327

    Hi Eriche,

    thanks for posting the details! You may try the following command to set the card profile (according to your DEBUG info this is already set correctly):

    [email protected]:~ $ pacmd set-card-profile bluez_card.99_99_22_00_13_48 a2dp

    Can you double check your Squeezelite Settings on Audioplayer tab: the Soundcard must be set to PulseAudio! I just saw in your first Log, that there was no Sink-Input available. If you did not restart the device yet – please also try this.

    Stefan

    23. April 2017 at 23:49 #28425

    how can i use the pulseaudio with bluetooth and shairport?
    At the moment shairport uses the „direct“ mode.
    I am using a HifiBerry Digi/Digi+ HAT

    25. April 2017 at 23:39 #28496

    Hi bluetooth users,

    I am trying to connect the Echo Dot as player to RPi 3 with Hifiberry DAC+. I used the latest image and update to max2play BETA (after installing bluetooth).

    The Echo Dot says it is connected but the sound output is still coming from the Echo. The connection with an iPad to the max2play device works well.

    Here my DEBUG info:

    #### Bluetooth Installation ####
     
    
    #### Bluetooth Dongle ####
    hci0:	Type: BR/EDR  Bus: UART
    	BD Address: B8:27:EB:48:44:2E  ACL MTU: 1021:8  SCO MTU: 64:1
    	UP RUNNING 
    	RX bytes:2276007 acl:4483 sco:0 events:735 errors:0
    	TX bytes:22423 acl:677 sco:0 commands:191 errors:0
    
     
    
    #### DEVICE Echo Dot-NQ2 ####
    [88:71:E5:A2:A3:42]
      Name: Echo Dot-NQ2
      Alias: Echo Dot-NQ2 [rw]
      Address: 88:71:E5:A2:A3:42
      Icon: audio-card
      Class: 0x2c0414
      Paired: 1
      Trusted: 1 [rw]
      Blocked: 0 [rw]
      Connected: 1
      UUIDs: [AudioSource, AudioSink, AVRemoteControlTarget, AdvancedAudioDistribution, AVRemoteControl, PnPInformation, 00001800-0000-1000-8000-00805f9b34fb, 00001801-0000-1000-8000-00805f9b34fb]
     
    
    #### PACMD LIST | grep active ####
    	active port: <analog-output>
    	active profile: <output:analog-stereo>
    	active profile: <off>
     
    
    #### PACMD LIST | grep sink ####
    Default sink name: alsa_output.platform-soc_sound.analog-stereo
    		module.description = "When a bluetooth sink or source is added, load module-loopback"
    		module.description = "Automatically restore the default sink and source"
    		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
    	name: <module-always-sink>
    		module.description = "Always keeps at least one sink loaded even if it's a null one"
    		module.description = "When a sink/source is idle for too long, suspend it"
    		module.description = "Load filter sinks automatically when needed"
    		module.description = "BlueZ 5 Bluetooth audio sink and source"
    1 sink(s) available.
    	sinks:
    1 sink input(s) available.
    	sink: 0 <alsa_output.platform-soc_sound.analog-stereo>
    		module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [squeezelite]"
     
    
    #### X-SERVER RUNNING ####
    1 
    
    #### PULSEAUDIO RUNNING ####
    1 S  1000  6465     1  1  80   0 - 42371 -      ?        00:00:23 pulseaudio
     
    
    #### PACMD LIST-CARDS | DEBUG COMPLETE ####
    2 card(s) available.
        index: 0
    	name: <alsa_card.platform-soc_sound>
    	driver: <module-alsa-card.c>
    	owner module: 6
    	properties:
    		alsa.card = "0"
    		alsa.card_name = "snd_rpi_hifiberry_dacplus"
    		alsa.long_card_name = "snd_rpi_hifiberry_dacplus"
    		alsa.driver_name = "snd_soc_hifiberry_dacplus"
    		device.bus_path = "platform-soc:sound"
    		sysfs.path = "/devices/platform/soc/soc:sound/sound/card0"
    		device.string = "0"
    		device.description = "snd_rpi_hifiberry_dacplus"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card"
    	profiles:
    		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
    		off: Off (priority 0, available: unknown)
    	active profile: <output:analog-stereo>
    	sinks:
    		alsa_output.platform-soc_sound.analog-stereo/#0: snd_rpi_hifiberry_dacplus Analog Stereo
    	sources:
    		alsa_output.platform-soc_sound.analog-stereo.monitor/#0: Monitor of snd_rpi_hifiberry_dacplus Analog Stereo
    	ports:
    		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
    			properties:
    				
        index: 5
    	name: <bluez_card.88_71_E5_A2_A3_42>
    	driver: <module-bluez5-device.c>
    	owner module: 34
    	properties:
    		device.description = "Echo Dot-NQ2"
    		device.string = "88:71:E5:A2:A3:42"
    		device.api = "bluez"
    		device.class = "sound"
    		device.bus = "bluetooth"
    		device.form_factor = "speaker"
    		bluez.path = "/org/bluez/hci0/dev_88_71_E5_A2_A3_42"
    		bluez.class = "0x2c0414"
    		bluez.alias = "Echo Dot-NQ2"
    		device.icon_name = "audio-speakers-bluetooth"
    	profiles:
    		a2dp_source: High Fidelity Capture (A2DP Source) (priority 10, available: unknown)
    		a2dp: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
    		off: Off (priority 0, available: yes)
    	active profile: <off>
    	ports:
    		speaker-output: Speaker (priority 0, latency offset 0 usec, available: unknown)
    			properties:
    				
    		speaker-input: Bluetooth Input (priority 0, latency offset 0 usec, available: no)
    			properties:
    				
     
    
    	
    26. April 2017 at 0:16 #28497

    Just after posting this, I got it working.

    I told the Echo Dot (Alexa) to „disconnect speaker“…waiting some seconds…“connect speaker“ – actually in German. It seems that’s it. I am not even sure, if I had to install the BETA for this. Will check the next days with a fresh setup.

    Well done Stefan (and max2play team)!

Viewing 30 posts - 211 through 240 (of 465 total)

You must be logged in to reply to this topic.

Register here