Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-wireless/bluez-5.77: No default controller available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
marknikky
n00b
n00b


Joined: 03 Oct 2024
Posts: 2

PostPosted: Thu Oct 03, 2024 7:13 am    Post subject: net-wireless/bluez-5.77: No default controller available Reply with quote

Hello all,

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

Code:
$ bluetoothctl show
No default controller available


Code:
$ 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.

Code:
$ 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


Code:
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


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

Code:
$ 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.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3365
Location: de

PostPosted: Thu Oct 03, 2024 9:34 am    Post subject: Reply with quote

I remember to have this error too. But didn't remember how I solved it. My motherboard is an ASUS x670e Wifi Plus. Should be similar to yours.

Bluetooth is provided by the on-board Wireless card, which is connected via usb. The relevant kernel module is btusb.
lsusb:

Bus 003 Device 002: ID 0e8d:0608 MediaTek Inc. Wireless_Device


I don't like modules, so I compiled everything directly into the kernel: (Networking Support → Bluetooth)

zgrep BT_.*=y /proc/config.gz:

CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_LEDS=y
CONFIG_BT_MSFTEXT=y
CONFIG_BT_INTEL=y
CONFIG_BT_BCM=y
CONFIG_BT_RTL=y
CONFIG_BT_QCA=y
CONFIG_BT_MTK=y
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_ATH3K=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
CONFIG_BT_HCIUART_INTEL=y
CONFIG_BT_HCIUART_BCM=y
CONFIG_BT_HCIUART_RTL=y
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIUART_AG6XX=y
CONFIG_BT_HCIUART_MRVL=y


zgrep -i btusb /proc/config.gz:

CONFIG_BT_HCIBTUSB=y
# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set
# CONFIG_BT_HCIBTUSB_POLL_SYNC is not set
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y


I didn't configure anything in /etc/bluetooth.

dmesg | grep -i blue:

[    0.394893] Bluetooth: Core ver 2.22
[    0.394893] NET: Registered PF_BLUETOOTH protocol family
[    0.394893] Bluetooth: HCI device and connection manager initialized
[    0.394893] Bluetooth: HCI socket layer initialized
[    0.394893] Bluetooth: L2CAP socket layer initialized
[    0.394893] Bluetooth: SCO socket layer initialized
[    2.050802] Bluetooth: HCI UART driver ver 2.3
[    2.051549] Bluetooth: HCI UART protocol H4 registered
[    2.052167] Bluetooth: HCI UART protocol BCSP registered
[    2.052792] Bluetooth: HCI UART protocol LL registered
[    2.053394] Bluetooth: HCI UART protocol ATH3K registered
[    2.054038] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.054646] Bluetooth: HCI UART protocol Intel registered
[    2.055258] Bluetooth: HCI UART protocol Broadcom registered
[    2.055850] Bluetooth: HCI UART protocol QCA registered
[    2.056426] Bluetooth: HCI UART protocol AG6XX registered
[    2.057009] Bluetooth: HCI UART protocol Marvell registered
[    2.079924] Bluetooth: RFCOMM TTY layer initialized
[    2.081451] Bluetooth: RFCOMM socket layer initialized
[    2.084221] Bluetooth: RFCOMM ver 1.11
[    2.087047] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.090008] Bluetooth: BNEP filters: protocol multicast
[    2.093069] Bluetooth: BNEP socket layer initialized
[    2.097098] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.097993] Bluetooth: HIDP socket layer initialized
[    2.573869] Bluetooth: hci0: Failed to register coredump (-95)
[    2.576948] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240716151445
[    2.738855] Bluetooth: hci0: Device setup in 178432 usecs
[    2.739927] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[    5.028433] Bluetooth: MGMT ver 1.22
[    5.076862] Bluetooth: hci0: Failed to register coredump (-95)
[    5.081254] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240716151445
[    5.246882] Bluetooth: hci0: Device setup in 176979 usecs
[    5.247912] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.


dmesg | grep -i Media -B 4 -A 2:

[    2.417500] ata2: SATA link down (SStatus 0 SControl 330)
[    2.519871] usb 3-2: New USB device found, idVendor=0e8d, idProduct=0608, bcdDevice= 1.00
[    2.521199] usb 3-2: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[    2.521960] usb 3-2: Product: Wireless_Device
[    2.522690] usb 3-2: Manufacturer: MediaTek Inc.
[    2.523427] usb 3-2: SerialNumber: 000000000
[    2.573869] Bluetooth: hci0: Failed to register coredump (-95)
[    2.575165] Loading firmware: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
[    2.576948] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240716151445
[    2.592313] usb 1-3: New USB device found, idVendor=046a, idProduct=010d, bcdDevice= 1.00
--
[    4.921079] r8169 0000:0c:00.0 eno1: Link is Down
[    5.028433] Bluetooth: MGMT ver 1.22
[    5.051376] input: LogiOps Virtual Input as /devices/virtual/input/input20
[    5.076862] Bluetooth: hci0: Failed to register coredump (-95)
[    5.078906] Loading firmware: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
[    5.081254] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240716151445
[    5.246882] Bluetooth: hci0: Device setup in 176979 usecs
Back to top
View user's profile Send private message
marknikky
n00b
n00b


Joined: 03 Oct 2024
Posts: 2

PostPosted: Thu Oct 03, 2024 8:27 pm    Post subject: Reply with quote

Hey musv, thank you for your reply.

What is your linux version?

And could you also post this output in your system? Mine does not even try to load firmware.

dmesg | grep -i firmware:
Code:
[    7.036297] Loading firmware: regulatory.db
[    7.036545] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.049560] Loading firmware: rtl_nic/rtl8125b-2.fw
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum