Ich muss um eure Hilfe bitten: Ich habe ein Bluetooth Headset, zu dem ich eine Verbindung mit einem USB-Dongle herstellen konnte. Allerdings lief die Verbindung nur kurzzeitig, dann gab es massive Aussetzer.
Die Verbindung versuche ich mit blueman (grafische Oberfläche "blueman manger 2.0.8") herzustellen. In der Liste von blueman wird das Headset angezeigt mit Name und mac-adresse. Wenn ich es mit Rechtsklick einrichten möchte, wähle ich bei "connect" "verbinde mit Headset". Dann geht blueman weiter bis "finished" mit der Meldung "Gerät erfolgreich hinzugefügt, aber Verbindung fehlgeschlagen".
Edit:
Wenn ich mit blueman verbinden möchte, steht unten in der Statuszeile
Verbindung fehlgeschlagen: blueman.bluez.errors.DBusFailedError: Protocol not available... [/edit]
Dann bin ich in die Termialkonsole:
Code: Alles auswählen
sudo dmesg | grep -i bluetooth
[ 8.966817] Bluetooth: Core ver 2.22
[ 8.966841] Bluetooth: HCI device and connection manager initialized
[ 8.966844] Bluetooth: HCI socket layer initialized
[ 8.966846] Bluetooth: L2CAP socket layer initialized
[ 8.966851] Bluetooth: SCO socket layer initialized
[ 17.188409] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 17.188410] Bluetooth: BNEP filters: protocol multicast
[ 17.188413] Bluetooth: BNEP socket layer initialized
[ 70.223278] Bluetooth: RFCOMM TTY layer initialized
[ 70.223282] Bluetooth: RFCOMM socket layer initialized
[ 70.223289] Bluetooth: RFCOMM ver 1.11
Code: Alles auswählen
hciconfig --all
hci0: Type: Primary Bus: USB
BD Address: 00:1A:7D:DA:71:08 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:1280 acl:0 sco:0 events:82 errors:0
TX bytes:4512 acl:0 sco:0 commands:82 errors:0
Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'red-lizard'
Class: 0x100104
Service Classes: Object Transfer
Device Class: Computer, Desktop workstation
HCI Version: 4.0 (0x6) Revision: 0x22bb
LMP Version: 4.0 (0x6) Subversion: 0x22bb
Manufacturer: Cambridge Silicon Radio (10)
Code: Alles auswählen
lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 03f0:094a HP, Inc Optical Mouse [672662-001]
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Alles auswählen
sudo rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Code: Alles auswählen
sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-04-29 05:59:15 CEST; 14min ago
Docs: man:bluetoothd(8)
Main PID: 443 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
Memory: 2.9M
CGroup: /system.slice/bluetooth.service
└─443 /usr/lib/bluetooth/bluetoothd
Apr 29 05:59:09 red-lizard systemd[1]: Starting Bluetooth service...
Apr 29 05:59:11 red-lizard bluetoothd[443]: Bluetooth daemon 5.50
Apr 29 05:59:15 red-lizard systemd[1]: Started Bluetooth service.
Apr 29 05:59:15 red-lizard bluetoothd[443]: Starting SDP server
Apr 29 05:59:15 red-lizard bluetoothd[443]: Bluetooth management interface 1.14 initialized
Apr 29 05:59:15 red-lizard bluetoothd[443]: Sap driver initialization failed.
Apr 29 05:59:15 red-lizard bluetoothd[443]: sap-server: Operation not permitted (1)
Dann habe ich dem gerade verlinkten Beitrag in linux-magazine.com zufolge mit bluetoothctl versucht:
Code: Alles auswählen
$ bluetoothctl
Agent registered
[CHG] Device 10:70:27:1A:0A:4A Connected: yes
[CHG] Device 10:70:27:1A:0A:4A Connected: no
[bluetooth]# list
Controller 00:1A:7D:DA:71:08 red-lizard [default]
[bluetooth]# show
Controller 00:1A:7D:DA:71:08 (public)
Name: red-lizard
Alias: red-lizard
Class: 0x00100104
Powered: yes
Discoverable: no
Pairable: yes
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0532
Discovering: no
[bluetooth]# agent on
Agent is already registered
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 00:1A:7D:DA:71:08 Discoverable: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:1A:7D:DA:71:08 Discovering: yes
[CHG] Device 10:70:27:1A:0A:4A RSSI: -67
[CHG] Device 10:70:27:1A:0A:4A TxPower: 0
[CHG] Device 10:70:27:1A:0A:4A RSSI: -77
[CHG] Device 10:70:27:1A:0A:4A RSSI: -93
[CHG] Device 10:70:27:1A:0A:4A RSSI: -76
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# devices
Device 10:70:27:1A:0A:4A DOMAX-NC70
[CHG] Device 10:70:27:1A:0A:4A RSSI: -95
[CHG] Device 10:70:27:1A:0A:4A RSSI: -70
[CHG] Device 10:70:27:1A:0A:4A RSSI: -79
[CHG] Device 10:70:27:1A:0A:4A RSSI: -90
[CHG] Device 10:70:27:1A:0A:4A RSSI: -74
[CHG] Device 10:70:27:1A:0A:4A RSSI: -93
[CHG] Device 10:70:27:1A:0A:4A RSSI: -70
[bluetooth]# info 10:70:27:1A:0A:4A
Device 10:70:27:1A:0A:4A (public)
Name: DOMAX-NC70
Alias: DOMAX-NC70
Class: 0x00240418
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000ApFFFFdFFFF
RSSI: -70
TxPower: 0
[CHG] Controller 00:1A:7D:DA:71:08 Discoverable: no
[CHG] Device 10:70:27:1A:0A:4A RSSI: -78
[CHG] Device 10:70:27:1A:0A:4A RSSI: -93
[CHG] Device 10:70:27:1A:0A:4A RSSI: -71
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 00:1A:7D:DA:71:08 Discoverable: yes
[CHG] Device 10:70:27:1A:0A:4A RSSI: -81
[bluetooth]# connect 10:70:27:1A:0A:4A
Attempting to connect to 10:70:27:1A:0A:4A
Failed to connect: org.bluez.Error.Failed
[CHG] Device 10:70:27:1A:0A:4A RSSI: -68
[bluetooth]# info 10:70:27:1A:0A:4A
Device 10:70:27:1A:0A:4A (public)
Name: DOMAX-NC70
Alias: DOMAX-NC70
Class: 0x00240418
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000ApFFFFdFFFF
RSSI: -68
TxPower: 0
[CHG] Device 10:70:27:1A:0A:4A RSSI: -77
Ich bitte um Hilfe
Oh, bevor ich diesen Beitrag abgesendet habe, habe ich nochmal den bluetooth-status abgefragt, da wurde jetzt auch das a2dp-profile fehlerhaft gemeldet:
Code: Alles auswählen
$ sudo systemctl status bluetooth
[sudo] Passwort für nonadmin:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-04-29 05:59:15 CEST; 1h 8min ago
Docs: man:bluetoothd(8)
Main PID: 443 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
Memory: 3.1M
CGroup: /system.slice/bluetooth.service
└─443 /usr/lib/bluetooth/bluetoothd
Apr 29 05:59:09 red-lizard systemd[1]: Starting Bluetooth service...
Apr 29 05:59:11 red-lizard bluetoothd[443]: Bluetooth daemon 5.50
Apr 29 05:59:15 red-lizard systemd[1]: Started Bluetooth service.
Apr 29 05:59:15 red-lizard bluetoothd[443]: Starting SDP server
Apr 29 05:59:15 red-lizard bluetoothd[443]: Bluetooth management interface 1.14 initialized
Apr 29 05:59:15 red-lizard bluetoothd[443]: [Sap driver initialization failed.
Apr 29 05:59:15 red-lizard bluetoothd[443]: sap-server: Operation not permitted (1)
Apr 29 06:41:07 red-lizard bluetoothd[443]: a2dp-sink profile connect failed for 10:70:27:1A:0A:4A: Protocol not available
Apr 29 06:57:16 red-lizard bluetoothd[443]: a2dp-sink profile connect failed for 10:70:27:1A:0A:4A: Protocol not available