void-linux / void-linux/void-packages

bluetooth broken after update

Open
#45,801 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

xuname : Void 6.4.12_1 x86_64 AuthenticAMD notuptodate rrrmDDDFFFFFFFFFFFFFFFFFFFFFF ; hardware : MinisForum X500 (Ryzen 7 5700G) with WiFi 6 AX200 and Bluetooth ; DE : MATE(X11)

Package(s) Affected

bluez-5.68_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Just like I used to do before, start the pc, open blueman(MATE), connect to my wireless headphones, then work/play multimedia etc

Actual behaviour

Bluetooth no longer works, when i try to open blueman it crashes, then i tried to run blueman-manager in terminal and saw the following errors :

blueman-manager 21.31.36 ERROR    Manager:147 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 21.31.36 ERROR    Manager:151 on_dbus_name_appeared: No adapter(s) found, exiting

It's like the system doesn't see bluetooth anymore, rfkill shows nothing (just empty, weird), bluetoothctl says :
No default controller available

dmesg | grep Blue :

[    3.770632] Bluetooth: Core ver 2.22
[    3.770639] Bluetooth: HCI device and connection manager initialized
[    3.770642] Bluetooth: HCI socket layer initialized
[    3.770643] Bluetooth: L2CAP socket layer initialized
[    3.770645] Bluetooth: SCO socket layer initialized
[    6.410992] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.410994] Bluetooth: BNEP filters: protocol multicast
[    6.410997] Bluetooth: BNEP socket layer initialized

ls /var/service/ :

NetworkManager
agetty-tty1
agetty-tty2
agetty-tty3
agetty-tty4
agetty-tty5
agetty-tty6
avahi-daemon
bluetoothd
dbus
elogind
haveged
sddm
udevd
wpa_supplicant

hcitool dev :

Devices:

xbps-query -l | grep blue :

ii blueman-2.3.5_1                                             GTK+ Bluetooth Manager
ii bluez-5.66_1                                                Bluetooth tools and daemons
ii bluez-alsa-3.1.0_1                                          Bluetooth Audio ALSA Backend
ii bluez-cups-5.66_1                                           CUPS printer backend for Bluetooth printers
ii bluez-deprecated-5.68_1                                     Bluetooth tools and daemons - deprecated tools
ii libbluetooth-5.68_1                                         Library to use the Bluez Linux Bluetooth Stack
ii libspa-bluetooth-0.3.74_1                                   Server and user space API to deal with multimedia pipelines - bluetooth plugins

lspci -k :

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. OM3PDP3 NVMe SSD (rev 01)
	Subsystem: Kingston Technology Company, Inc. OM3PDP3 NVMe SSD
	Kernel driver in use: nvme
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8)
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 1636
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Kernel driver in use: ccp
	Kernel modules: ccp
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 7914
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 7914
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
	Subsystem: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
	DeviceName: Realtek ALC1220
	Subsystem: Conexant Systems, Inc. Device 0200
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

Tried restarting the bluetoothd daemon, to no avail, tried plugging in the btusb kernel module, deleted configurations in /var/lib/bluetooth and /etc/bluetooth/, used xdowngrade to do a rollback of the bluez version back, added a user to the bluetooth group, in the process, I rebooted a million times trying to do something..But looks like the problem might be somewhere else, I don't know where, but Bluetooth now simply doesn't work, not at all.

Steps to reproduce
  1. sudo xbps-install -Su
  2. reboot
  3. done

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bluez-5.68_1 package, the /var/service/bluetoothd service, and the blueman-manager, bluetoothctl, hcitool, and dmesg output reported here. Reproduce the failure after xbps-install -Su and compare the Bluetooth adapter and btusb state before and after the update. Done means the adapter is detected and headphones can be connected through blueman or bluetoothctl.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.