Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940689 - net-wireless/bluez-5.77: No default controller available
Summary: net-wireless/bluez-5.77: No default controller available
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-03 06:49 UTC by Emirhan Taşdeviren
Modified: 2024-11-08 15:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emirhan Taşdeviren 2024-10-03 06:49:57 UTC
Hello all,

I can not get bluetooth working. Running bluetoothctl with show command:

$ bluetoothctl show
No default controller available

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 13d3:3596 IMC Networks Wireless_Device
Bus 001 Device 003: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 002 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 004 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 005 Device 002: ID 258a:010c BY Tech Gaming Keyboard
Bus 005 Device 003: ID 1532:0078 Razer USA, Ltd Viper (wired)
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

$ lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14d8
	Subsystem: ASUSTeK Computer Inc. Device 8877
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14d9
	Subsystem: ASUSTeK Computer Inc. Device 8877
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: pcieport
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: pcieport
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
	Subsystem: ASUSTeK Computer Inc. Device 8877
	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: ASUSTeK Computer Inc. Device 8877
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e3
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e7
01:00.0 VGA compatible controller: NVIDIA Corporation AD102 [GeForce RTX 4070 Ti SUPER] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 89b0
	Kernel driver in use: nvidia
	Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation AD102 High Definition Audio Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 89b0
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:0b.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
03:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
	Subsystem: ASMedia Technology Inc. Device 3328
	Kernel driver in use: pcieport
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	DeviceName: Realtek RTL8125BG LAN
	Subsystem: ASUSTeK Computer Inc. Device 87d7
	Kernel driver in use: r8169
	Kernel modules: r8169
08:00.0 Network controller: MEDIATEK Corp. Device 7902
	Subsystem: AzureWave Device 6040
09:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset USB 3.2 Controller (rev 01)
	Subsystem: ASMedia Technology Inc. Device 1142
	Kernel driver in use: xhci_hcd
0a:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
	Subsystem: ASMedia Technology Inc. Device 1062
	Kernel driver in use: ahci
0b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
	Subsystem: Samsung Electronics Co Ltd Samsung SSD 970 EVO Plus 1TB
	Kernel driver in use: nvme
0c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix PCIe Dummy Function (rev c5)
	Subsystem: ASUSTeK Computer Inc. Device 8877
0c:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: ccp
	Kernel modules: ccp
0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b6
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: xhci_hcd
0c:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b7
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: xhci_hcd
0c:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
	DeviceName: Realtek ALC897 Audio
	Subsystem: ASUSTeK Computer Inc. Device 8850
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
0d:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8
	Subsystem: ASUSTeK Computer Inc. Device 8877
	Kernel driver in use: xhci_hcd


I think the "IMC Networks Wireless_Device" is the bluetooth device. But, I'm not sure.

Here is the dmesg report.

$ dmesg | grep -i blue
[    0.242438] Bluetooth: Core ver 2.22
[    0.242438] NET: Registered PF_BLUETOOTH protocol family
[    0.242438] Bluetooth: HCI device and connection manager initialized
[    0.242438] Bluetooth: HCI socket layer initialized
[    0.242438] Bluetooth: L2CAP socket layer initialized
[    0.242438] Bluetooth: SCO socket layer initialized
[    8.195340] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.195345] Bluetooth: BNEP socket layer initialized
[    9.504056] Bluetooth: hci0: Opcode 0x0c03 failed: -110

I enabled all bluetooth related modules in kernel configuration but still no success.

$ uname -a
Linux gentoolimu 6.11.0-gentoo-gentoo-dist #11 SMP PREEMPT_DYNAMIC Thu Oct  3 09:30:36 +03 2024 x86_64 AMD Ryzen 7 9700X 8-Core Processor AuthenticAMD GNU/Linux

My motherboard is ASUS B650M-E WiFi and I have dual boot setup with Windows 10. And the bluetooth works in Windows 10. I tried to determine the hardware model of the bluetooth adapter but I only got the driver name and version in ASUS Support section.

MediaTek Bluetooth Driver v1.1037.0.429 for Windows10, Windows11 64-bit
Version 1.1037.0.429
4.09 MB
2024/07/04

I could not dive any deeper as my knowledge is limited.
Comment 1 Emirhan Taşdeviren 2024-10-03 07:13:55 UTC
I have found more information in dmesg. Hope it helps.

$ dmesg | grep -i Media -B 4 -A 2
[    5.692260] hid-generic 0003:258A:010C.0002: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [BY Tech Gaming Keyboard] on usb-0000:0c:00.4-1/input1
[    5.693790] usb 1-6: New USB device found, idVendor=13d3, idProduct=3596, bcdDevice= 1.00
[    5.694165] usb 1-6: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[    5.694532] usb 1-6: Product: Wireless_Device
[    5.694890] usb 1-6: Manufacturer: MediaTek Inc.
[    5.695246] usb 1-6: SerialNumber: 000000000
[    5.814141] usb 5-2: new full-speed USB device number 3 using xhci_hcd
Comment 2 Pacho Ramos gentoo-dev 2024-10-17 08:00:54 UTC
Hi!

I am not sure if kernel really supports it. Supposedly it should be handled by CONFIG_BT CONFIG_BT_HCIBTUSB kernel drivers... but looking to some reports, it is not clear if it is really supported.
https://linux-hardware.org/?id=usb:13d3-3596
https://forums.linuxmint.com/viewtopic.php?t=417292

Can you verify if those options are enabled? If still failing, I would try to update to latest bluez version in testing and also provide the whole dmesg output

Thanks
Comment 3 Pacho Ramos gentoo-dev 2024-11-08 15:49:27 UTC
Please also check with 5.79