ubuntuusers.de

Bluetooth-Verbindung mit Headset wird hergestellt: AD2P funktioniert, HSP/HFP nicht

Status: Gelöst | Ubuntu-Version: Ubuntu 20.04 (Focal Fossa)
Antworten |

mrnr

Anmeldungsdatum:
31. August 2020

Beiträge: Zähle...

Hallo zusammen,

ich bin hier absolut neu, deswegen weist mich gerne auf etwaige Fehler hin.

Ich habe ein ganz frisches Ubuntu-System auf einem neuen Dell Latitude 5510 eingerichtet. Ich habe blueman installiert um meine WH1000XM3-Kopfhörer zu verbinden (das hat auf einem anderen Ubuntu 20.04 System einfach funktioniert). Im A2DP-Modus gibt es dabei auch keine Probleme, nur sobald ich auf den Headsetmodus umstelle erhalte ich weder Input noch Output. Dafür muss ich auch bei blueman unter devices und auch unter settings->sounds auf headset umstellen.

Ich brauche das Headset relativ dringend für die Arbeit. Hilfe wird also wirklich geschätzt, danke!

Hier die Outputs, die in vielen Beiträgen gefordert wurden.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
/etc/init.d/bluetooth status -l

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2020-08-31 17:27:53 CEST; 4min 34s ago
       Docs: man:bluetoothd(8)
   Main PID: 994 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18766)
     Memory: 3.2M
     CGroup: /system.slice/bluetooth.service
             └─994 /usr/lib/bluetooth/bluetoothd

Aug 31 17:27:53 jansen systemd[1]: Starting Bluetooth service...
Aug 31 17:27:53 jansen bluetoothd[994]: Bluetooth daemon 5.53
Aug 31 17:27:53 jansen bluetoothd[994]: Starting SDP server
Aug 31 17:27:53 jansen systemd[1]: Started Bluetooth service.
Aug 31 17:27:53 jansen bluetoothd[994]: Bluetooth management interface 1.14 initialized
Aug 31 17:28:02 jansen bluetoothd[994]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/sbc
Aug 31 17:28:02 jansen bluetoothd[994]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/sbc
Aug 31 17:28:49 jansen bluetoothd[994]: /org/bluez/hci0/dev_CC_98_8B_56_E5_AF/sep1/fd0: fd(44) ready
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dpkg -l | grep blue
ii  blueman                                       2.1.2-1                               amd64        Graphical bluetooth manager
ii  bluetooth                                     5.53-0ubuntu3                         all          Bluetooth support
ii  bluez                                         5.53-0ubuntu3                         amd64        Bluetooth tools and daemons
ii  bluez-cups                                    5.53-0ubuntu3                         amd64        Bluetooth printer driver for CUPS
ii  bluez-obexd                                   5.53-0ubuntu3                         amd64        bluez obex daemon
ii  gir1.2-gnomebluetooth-1.0:amd64               3.34.1-1                              amd64        Introspection data for GnomeBluetooth
ii  libbluetooth3:amd64                           5.53-0ubuntu3                         amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth13:amd64                    3.34.1-1                              amd64        GNOME Bluetooth tools - support library
ii  libkf5bluezqt-data                            5.68.0-0ubuntu1                       all          data files for bluez-qt
ii  libkf5bluezqt6:amd64                          5.68.0-0ubuntu1                       amd64        Qt wrapper for bluez
ii  pulseaudio-module-bluetooth                   1:13.99.1-1ubuntu3.5                  amd64        Bluetooth module for PulseAudio sound server
ii  qml-module-org-kde-bluezqt:amd64              5.68.0-0ubuntu1                       amd64        QML wrapper for bluez
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 1058:2627 Western Digital Technologies, Inc. My Passport 2627
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0a5c:5843 Broadcom Corp. 58200
Bus 001 Device 004: ID 0bda:5539 Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 003: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 001 Device 002: ID 046a:b090 Cherry GmbH Keyboard
Bus 001 Device 006: ID 8087:0026 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
lspci
00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:16.3 Serial controller: Intel Corporation Device 02e3
00:19.0 Serial bus controller [0c80]: Intel Corporation Device 02c5
00:1c.0 PCI bridge: Intel Corporation Device 02b8 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Device 02bc (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device 02b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Audio device: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-LM
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
02:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
04:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] (rev 06)
3a:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] (rev 06)
3b:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5410 (rev 01)
mrnr@jansen:~$ 
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
hwinfo --bluetooth
02: USB 00.0: 11500 Bluetooth Device                            
  [Created at usb.122]
  Unique ID: fHJ1.HXwYSyIoMXE
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0
  SysFS BusID: 1-10:1.0
  Hardware Class: bluetooth
  Model: "Intel Bluetooth Device"
  Hotplug: USB
  Vendor: usb 0x8087 "Intel Corp."
  Device: usb 0x0026 
  Revision: "0.02"
  Driver: "btusb"
  Driver Modules: "btusb"
  Speed: 12 Mbps
  Module Alias: "usb:v8087p0026d0002dcE0dsc01dp01icE0isc01ip01in00"
  Driver Info #0:
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (Hub)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
mrnr@jansen:~$ pulseaudio -k 
mrnr@jansen:~$ pulseaudio -vvvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.1
D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/pulseaudio-EPqXvV/pulseaudio-13.99.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 5868bdd8a11f4b6cae988db8b36d7a96.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/mrnr/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
dmesg | grep iwl
[    3.194086] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    3.201648] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-50.ucode failed with error -2
[    3.201701] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-49.ucode failed with error -2
[    3.207370] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[    3.207378] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[    3.207379] iwlwifi 0000:00:14.3: Found debug configuration: 0
[    3.207981] iwlwifi 0000:00:14.3: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm
[    3.263487] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354
[    3.271939] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[    3.272469] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[    3.420712] iwlwifi 0000:00:14.3: base HW address: cc:d9:ac:f4:f1:b4
[    3.791289] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[    6.856779] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[    6.999928] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[    7.003552] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
1
2
id
uid=1000(mrnr) gid=1000(mrnr) groups=1000(mrnr),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
dmesg | egrep -i 'blue|firm'
[    0.315232] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.643884] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
[    3.199487] Bluetooth: Core ver 2.22
[    3.199524] Bluetooth: HCI device and connection manager initialized
[    3.199534] Bluetooth: HCI socket layer initialized
[    3.199540] Bluetooth: L2CAP socket layer initialized
[    3.199545] Bluetooth: SCO socket layer initialized
[    3.201648] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-50.ucode failed with error -2
[    3.201701] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-49.ucode failed with error -2
[    3.207981] iwlwifi 0000:00:14.3: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm
[    3.216438] Bluetooth: hci0: Firmware revision 0.0 build 128 week 11 2020
[    3.272469] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[    3.282457] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    6.428683] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.428685] Bluetooth: BNEP filters: protocol multicast
[    6.428690] Bluetooth: BNEP socket layer initialized
[   15.685241] Bluetooth: RFCOMM TTY layer initialized
[   15.685246] Bluetooth: RFCOMM socket layer initialized
[   15.685249] Bluetooth: RFCOMM ver 1.11
1
2
3
pactl list short sinks
0	alsa_output.pci-0000_00_1f.3.analog-stereo	module-alsa-card.c	s16le 2ch 44100Hz	SUSPENDED
2	bluez_sink.CC_98_8B_56_E5_AF.headset_head_unit	module-bluez5-device.c	s16le 1ch 8000Hz	IDLE

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Willkommen im Forum 😀

Scheint als ist deine Firmware zu alt.Zeige mal

dpkg -l *firmware

mrnr

(Themenstarter)

Anmeldungsdatum:
31. August 2020

Beiträge: 6

Dankeschön! ☺

Da ist es:

1
2
3
4
5
6
7
8
dpkg -l *firmware
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  atmel-firmware <none>       <none>       (no description available)
ii  linux-firmware 1.187.3      all          Firmware for Linux kernel drivers

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Installiere dir die neuere 1.90 dazu im Terminal der Reihe nach

wget http://de.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.190_all.deb
sudo dpkg -i linux-firmware_1.190_all.deb

wenn Installiert wurde

rm linux-firmware_1.190_all.deb

Neustart und Testen.Die Ausgabe zeigen dann von

dmesg | grep iwl

mrnr

(Themenstarter)

Anmeldungsdatum:
31. August 2020

Beiträge: 6

Das hat leider nichts am Bluetoothverhalten geändert.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
dmesg | grep iwl
[    2.392612] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    2.408680] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 58.3.35.22
[    2.408683] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[    2.408684] iwlwifi 0000:00:14.3: Found debug configuration: 0
[    2.408835] iwlwifi 0000:00:14.3: loaded firmware version 50.3e391d3e.0 op_mode iwlmvm
[    2.443500] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354
[    2.451036] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[    2.451535] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[    2.596773] iwlwifi 0000:00:14.3: base HW address: cc:d9:ac:f4:f1:b4
[    2.859394] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[    4.196780] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[    4.341122] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[    4.351486] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS

Muss ich im BIOS noch etwas umstellen? Hmm..

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Nun ja .. zumindest sind schon mal die beiden Fehler weg 😉

[    3.201648] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-50.ucode failed with error -2
[    3.201701] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-49.ucode failed with error -2

Hast du noch Windows auf dem System? Ist Secure Boot an oder aus?

mrnr

(Themenstarter)

Anmeldungsdatum:
31. August 2020

Beiträge: 6

Stimmt 😬 Nein, Windows habe ich nicht mehr. SecureBoot habe ich vor der Ubuntu-Installation ausgeschaltet und in der Installation wurde ich dann aufgefordert den RAID-Modus auszustellen und auch das habe ich dann getan (auf AHCI (?)).

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Hast du schon Irgendwo was geändert/Eingetragen? Zeige mal

sudo hciconfig hci0 sspmode 1

mrnr

(Themenstarter)

Anmeldungsdatum:
31. August 2020

Beiträge: 6

Ich hatte schon mehrere Dinge aus Foren versucht, aber ich dachte, dass ich da eigentlich alles wieder rückgängig gemacht hatte, als es nicht funktioniert hat. Ohje, vielleicht sollte ich nochmal neu aufsetzen und dann die Firmware aktualisieren?

1
2
sudo hciconfig  hci0 sspmode 1
Can't set Simple Pairing mode on hci0: Network is down (100)

EDIT:

Ups, sollte Bluetooth wohl auch anstellen:

1
2
sudo hciconfig  hci0 sspmode 1
Can't set Simple Pairing mode on hci0: Input/output error (5)

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Hmm,probiere es nochmal so.Datei anlegen

sudo nano /etc/bluetooth/audio.conf

Kopiere das hier hinein

[General]
Disable=Socket
Enable=Headset
Enable=Media,Source,Sink,Gateway
AutoConnect=true

Speichern,Neustart und testen. Siehe auch nano

mrnr

(Themenstarter)

Anmeldungsdatum:
31. August 2020

Beiträge: 6

Hab es jetzt mal in Vim gemacht, das macht gaube ich keinen Unterschied, denn: es funktioniert!! Dankedankedanke! Gibt es eine Forenfunktion für ein richtiges Dankeschön? ☺

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Freut mich 😛 Dein nettes Dankeschön reicht 😉

Gruß Stephan

Antworten |