Hallo zusammen,
ich versuche schon seit einiger Zeit meinen Raspi 3b+ (Buster lite) mit meinen Bluetooth Lautsprecher zu verbinden. Leider ohne Erfolg.
Bin da auch noch ein NOOB in der Linux welt.
Soweit ich das erkenne, ist bei mir das Profil a2dp-source nicht aktiviert. (soweit ich das gelesen habe, brauche ich das um von pi die musik zum Lautsprecher zu übertragen)
Bisher konnte ich den Lautsprecher nur pairen und auf trust setzen. Connecten schlägt leider immer fehl.
Hier mal die Infos zum Gerät aus bluetoothctl
[bluetooth]# info C0:7A:A5:00:AE:CB
Device C0:7A:A5:00:AE:CB (public)
Name: CS200BT-MKII
Alias: CS200BT-MKII
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
Display More
Allgemeine Infos:
$ sudo systemctl status blue*
● bluealsa-aplay.service - BlueALSA aplay
Loaded: loaded (/etc/systemd/system/bluealsa-aplay.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-01-23 21:13:52 CET; 20min ago
Process: 5315 ExecStartPre=/bin/sleep 2 (code=exited, status=0/SUCCESS)
Main PID: 5325 (bluealsa-aplay)
Tasks: 1 (limit: 2092)
CGroup: /system.slice/bluealsa-aplay.service
└─5325 /usr/bin/bluealsa-aplay --pcm-buffer-time=250000 00:00:00:00:00:00
Jan 23 21:13:49 raspberry systemd[1]: Starting BlueALSA aplay...
Jan 23 21:13:52 raspberry systemd[1]: Started BlueALSA aplay.
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-01-23 21:13:49 CET; 20min ago
Docs: man:bluetoothd(8)
Main PID: 5313 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 2092)
CGroup: /system.slice/bluetooth.service
└─5313 /usr/lib/bluetooth/bluetoothd --noplugin=sap
Jan 23 21:13:49 raspberry systemd[1]: Starting Bluetooth service...
Jan 23 21:13:49 raspberry bluetoothd[5313]: Bluetooth daemon 5.50
Jan 23 21:13:49 raspberry systemd[1]: Started Bluetooth service.
Jan 23 21:13:49 raspberry bluetoothd[5313]: Starting SDP server
Jan 23 21:13:49 raspberry bluetoothd[5313]: Excluding (cli) sap
Jan 23 21:13:49 raspberry bluetoothd[5313]: Bluetooth management interface 1.14 initialized
Jan 23 21:13:50 raspberry bluetoothd[5313]: Endpoint registered: sender=:1.29 path=/org/bluez/hci0/A2DP/SBC/Sink/1
Jan 23 21:13:50 raspberry bluetoothd[5313]: Endpoint registered: sender=:1.29 path=/org/bluez/hci0/A2DP/SBC/Sink/2
Jan 23 21:34:08 raspberry bluetoothd[5313]: a2dp-sink profile connect failed for C0:7A:A5:00:AE:CB: Protocol not available
● bluealsa.service - BluezALSA proxy
Loaded: loaded (/etc/systemd/system/bluealsa.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/bluealsa.service.d
└─override.conf
Active: active (running) since Sat 2021-01-23 21:13:49 CET; 20min ago
Main PID: 5314 (bluealsa)
Tasks: 3 (limit: 2092)
CGroup: /system.slice/bluealsa.service
└─5314 /usr/bin/bluealsa -i hci0 -p a2dp-sink
Jan 23 21:13:49 raspberry systemd[1]: Started BluezALSA proxy.
● bluetooth.target - Bluetooth
Loaded: loaded (/lib/systemd/system/bluetooth.target; static; vendor preset: enabled)
Active: active since Sat 2021-01-23 20:14:43 CET; 1h 19min ago
Docs: man:systemd.special(7)
Jan 23 20:14:43 raspberry systemd[1]: Reached target Bluetooth.
Display More
Wenn ich richtig liege ist hier nur a2dp-sink gestartet?!
In der config habe ich allerdings a2dp-source eingetragen. Das wird aber wohl schön brav ignoriert.
sudo nano /lib/systemd/system/bluealsa.service
[Unit]
Description=BluezALSA proxy
Requires=bluetooth.service
After=bluetooth.service
[Service]
Type=simple
User=root
ExecStart=/usr/bin/bluealsa -p a2dp-source
Display More
geblockt ist auch nichts
dmesg sagt folgendes
$ dmesg | grep luetooth
[ 5.965278] Bluetooth: Core ver 2.22
[ 5.965348] Bluetooth: HCI device and connection manager initialized
[ 5.965369] Bluetooth: HCI socket layer initialized
[ 5.965380] Bluetooth: L2CAP socket layer initialized
[ 5.965399] Bluetooth: SCO socket layer initialized
[ 6.058533] Bluetooth: hci0: unexpected event for opcode 0x0000
[ 7.532754] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.532767] Bluetooth: BNEP filters: protocol multicast
[ 7.532791] Bluetooth: BNEP socket layer initialized
Kann mir hier bitte jemand weiterhelfen?