Bluetooth mit Raspberry Pi 4?

Max2Play Home Forums Max2Play on Raspberry PI Bluetooth mit Raspberry Pi 4?

Viewing 10 posts - 1 through 10 (of 10 total)
  • 27. September 2019 at 15:22 #47187

    Hallo,
    meine Konfiguration: Raspberry Pi 4 (2GB) mit Hifiberry DAC+ pro und max2play 2.50 mit Squeezebox-Server und Multisqueeze (Audioausgang und DAC).

    Ich versuche, Bluetooth zum Laufen zu bekommen um dann meinen BT-Kopfhörer als weiteren Multisqueeze-Player anzusteuern. Der Scan bleibt aber erfolglos. Es wird kein BT-Device angezeigt (BT-Kopfhörer ist während des Scans im Pairingmodus). Das BT-Plugin wurde bereits mehrmals deinstalliert und neu installiert (jeweils mit Reboots dazwischen). Ist das BT-Plugin auf Pi4 eventuell noch nicht soweit?

    VG Thomas

    Debug-Info:
    ### Bluetooth Installation ####

    #### Bluetooth Dongle ####
    hci0: Type: Primary Bus: UART
    BD Address: DC:A6:32:13:64:9F ACL MTU: 1021:8 SCO MTU: 64:1
    UP RUNNING
    RX bytes:3147 acl:0 sco:0 events:197 errors:0
    TX bytes:8567 acl:0 sco:0 commands:197 errors:0

    #### BLUEALSA ERROR ####
    ● bluealsa.service – Start Bluealsa for Bluetooth on Alsa (not compatible with Pulseaudio)
    Loaded: loaded (/etc/systemd/system/bluealsa.service; enabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Fri 2019-09-27 14:51:29 CEST; 733ms ago
    Process: 3543 ExecStartPre=/bin/rm -Rf /var/run/bluealsa (code=exited, status=0/SUCCESS)
    Process: 3544 ExecStartPre=/usr/bin/killall bluetoothd (code=exited, status=1/FAILURE)
    Process: 3545 ExecStartPre=/bin/systemctl start sys-subsystem-bluetooth-devices-hci0.device (code=exited, status=0/SUCCESS)
    Process: 3546 ExecStartPre=/bin/hciconfig hci0 down (code=exited, status=0/SUCCESS)
    Process: 3547 ExecStartPre=/bin/systemctl start bluetooth (code=exited, status=0/SUCCESS)
    Process: 3549 ExecStartPre=/bin/sleep 5 (code=exited, status=0/SUCCESS)
    Process: 3582 ExecStart=/usr/bin/bluealsa -p a2dp-sink -p a2dp-source (code=exited, status=127)
    Main PID: 3582 (code=exited, status=127)

    #### BLUEALSA RUNNING ####

    Im Syslog sieht es so aus:
    Sep 27 14:57:18 Anemos systemd[1]: bluetooth.service: Succeeded.
    Sep 27 14:57:18 Anemos systemd[1]: Starting Bluetooth service…
    Sep 27 14:57:18 Anemos bluetoothd[5078]: Bluetooth daemon 5.50
    Sep 27 14:57:18 Anemos systemd[1]: Started Bluetooth service.
    Sep 27 14:57:18 Anemos bluetoothd[5078]: Starting SDP server
    Sep 27 14:57:18 Anemos bluetoothd[5078]: Bluetooth management interface 1.14 initialized
    Sep 27 14:57:18 Anemos bluetoothd[5078]: Sap driver initialization failed.
    Sep 27 14:57:18 Anemos bluetoothd[5078]: sap-server: Operation not permitted (1)
    Sep 27 14:57:23 Anemos systemd[1]: Started Start Bluealsa for Bluetooth on Alsa (not compatible with Pulseaudio).
    Sep 27 14:57:23 Anemos bluealsa[5080]: /usr/bin/bluealsa: error while loading shared libraries: libsbc.so.1: cannot open shared object file: No such file or directory
    Sep 27 14:57:23 Anemos systemd[1]: bluealsa.service: Main process exited, code=exited, status=127/n/a
    Sep 27 14:57:23 Anemos systemd[1]: bluealsa.service: Failed with result ‚exit-code‘.
    Sep 27 14:57:34 Anemos systemd[1]: bluealsa.service: Service RestartSec=10s expired, scheduling restart.
    Sep 27 14:57:34 Anemos systemd[1]: bluealsa.service: Scheduled restart job, restart counter is at 26.
    Sep 27 14:57:34 Anemos systemd[1]: Stopped Start Bluealsa for Bluetooth on Alsa (not compatible with Pulseaudio).
    Sep 27 14:57:34 Anemos systemd[1]: Starting Start Bluealsa for Bluetooth on Alsa (not compatible with Pulseaudio)…
    Sep 27 14:57:34 Anemos bluetoothd[5078]: Terminating
    Sep 27 14:57:34 Anemos bluetoothd[5078]: Stopping SDP server
    Sep 27 14:57:34 Anemos bluetoothd[5078]: Exit

    30. September 2019 at 10:38 #47200

    Hi thales,

    Please also paste the BT plugin’s green/red box content here.

    3. Oktober 2019 at 11:08 #47224

    Hallo Heiner,

    die Box ist rot und hat den Inhalt:
    Einstellungen & Hardware
    Bluetooth-Dongle: verfügbar
    Bluealsa Running: 0

    Viele Grüße
    Thomas

    3. Oktober 2019 at 11:25 #47225

    Ich habe die Installation nochmal wiederholt. Im Log erscheinen zwei Fehlermeldungen:

    Err:1 http//raspberrypi.org/raspbian buster/main armhf libncurses-dev armhf 6.1+20181013-2
    404 Not found [IP: 93.93.128.193 80]
    Err:2 http//raspberrypi.org/raspbian buster/main armhf libncurses5-dev armhf 6.1+20181013-2
    404 Not found [IP: 93.93.128.193 80]

    Viele Grüße
    Thomas

    13. Oktober 2019 at 18:55 #47279

    Lösung: Es muss libsbc-dev manuell nachinstalliert werden. Nach Neustart läuft der Dienst.

    Kopfhörer werden erkannt und ich kann mich verbinden. Allerdings kommt noch keine Musik.

    15. Oktober 2019 at 9:56 #47300

    Hallo thales,

    Vielen Dank für die Rückmeldung. Ich habe diese Informationen an unseren Chefentwickler weitergeleitet.

    16. Oktober 2019 at 15:20 #47354

    Hi thales,

    die Quellen von Raspbian wurden von „testing“ auf „stable“ umgestellt und daher laufen einige der Paketanforderungen ins Leere. Wir haben das in der Beta jetzt gefixt (Beta Update auf Einstellungen/Reboot durchführen) und in Version 2.51 (Release diese Woche) wird es auch aktualisiert.

    Nach dem Update am Besten Bluetooth noch mal installieren, damit alle Pakete drin sind.

    Viele Grüße
    Stefan

    30. November 2019 at 15:46 #47646

    Hallo Stefan,
    hab heute vom Beta Image installiert, dann update im System gemacht und das Problem besteht weiterhin. Es ist auch nicht direkt ersichtlich was das Problem ist, da die Fehler bei der Paketinstallation nicht im Web Interface bleiben. Sobald das gelbe Status Fenster verschwindet weiß man nicht was das Probelem war.

    Hat mich gerade ziemlich nerven gekostet, obwohl ich diesen Thread sofort gefunden hatte…

    Werden solche Sachen eigentlich irgendwo geloggt?

    • This reply was modified 4 years, 4 months ago by alex005.
    6. Dezember 2019 at 11:52 #47687

    Hallo alex,

    Hast du nach den Updates die Bluetooth Installation neu ausgeführt und das System neugestartet?

    Bitte nenn uns noch dein genaues Setup (Pi-Version und Plugin-Nutzung), damit wir es hier nachstellen können.

    21. Dezember 2019 at 14:47 #47825

    itat:
    „Err:1 http//raspberrypi.org/raspbian buster/main armhf libncurses-dev armhf 6.1+20181013-2
    404 Not found [IP: 93.93.128.193 80]
    Err:2 http//raspberrypi.org/raspbian buster/main armhf libncurses5-dev armhf 6.1+20181013-2
    404 Not found [IP: 93.93.128.193 80]“

    Ich hab das gleiche Problem. Experimentiere seit Tagen. Nix funktioniert richtig. BT wird nicht erkannt und erkennt auch nichts. Beim 3er überhaupt kein Problem.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Register here