Bluetooth adapter not found

Bluetooth adapter not found

Postby mackowiakp » Jan 25th, '25, 00:55

Fresh installation on mini PC Geekom Intel core i7-13620h
The bluetooth icon in the taskbar is grayed out and after clicking the window shows "Adapter not found".
However, MCC shows detection of the built-in MediaTek Inc. module ID=0x13d3/0x3585 and the btusb module loaded.
Below are the results of using commands related to BT work.
The adapter is clearly detected at the hardware level, but for some reason KDE does not see it. What could be wrong?

Code: Select all
[root@IT13 ~]# lspcidrake -v|grep bt
btusb           : MediaTek Inc.|Wireless_Device [Wireless|Radio Frequency|Bluetooth] (vendor:13d3 device:3585)
[root@IT13 Pobrane]# rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
[root@IT13 Pobrane]# bluetoothctl list <--- EMPTY OUTPUT
[root@IT13 Pobrane]# inxi -Ez
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb type: USB
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: no
    address: <filter>
[root@IT13 Pobrane]# ps -e|grep bluetooth
   1003 ?        00:00:00 bluetoothd
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Bluetooth adapter not found

Postby doktor5000 » Jan 25th, '25, 02:50

You should check what happens when firmware is loaded.
Code: Select all
journalctl -ab | grep -iE "hci|bluetooth"


That should be a MediaTek MT7922 chipset and might need a newer bluetooth stack.
Check e.g. https://forums.linuxmint.com/viewtopic.php?t=423178
Also make sure you have secure boot disabled.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Bluetooth adapter not found

Postby mackowiakp » Jan 25th, '25, 03:07

There is a lot of entries like this:

Code: Select all
sty 25 02:04:30 IT13 kernel: usb 3-1.2: reset high-speed USB device number 4 using xhci_hcd


What does it mean?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Bluetooth adapter not found

Postby mackowiakp » Jan 25th, '25, 12:18

It seam to be incompatibility between pointed by You driver for Debian and M9.\
Below content of make.log file:
Any idea? Is there any ready kernel module for 6.6.65-desktop-2.mga9 ?

Code: Select all
DKMS make.log for bluetooth-6.8 for kernel 6.6.65-desktop-2.mga9 (x86_64)
sob, 25 sty 2025, 10:17:54 CET
make -C /lib/modules/6.6.65-desktop-2.mga9/build M=/var/lib/dkms/bluetooth/6.8/build modules
make[1]: Wejście do katalogu '/usr/src/kernel-6.6.65-desktop-2.mga9'
  CC [M]  /var/lib/dkms/bluetooth/6.8/build/btusb.o
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4811:10: error: ‘struct usb_driver’ has no member named ‘driver’
 4811 |         .driver = {
      |          ^~~~~~
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4811:9: warning: braces around scalar initializer
 4811 |         .driver = {
      |         ^
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4811:9: note: (near initialization for ‘btusb_driver.soft_unbind’)
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4812:17: error: field name not in record or union initializer
 4812 |                 .coredump = btusb_coredump,
      |                 ^
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4812:17: note: (near initialization for ‘btusb_driver.soft_unbind’)
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4812:29: warning: initialization of ‘unsigned char:1’ from ‘void (*)(struct device *)’ makes integer from pointer without a cast [-Wint-conversion]
 4812 |                 .coredump = btusb_coredump,
      |                             ^~~~~~~~~~~~~~
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4812:29: note: (near initialization for ‘btusb_driver.soft_unbind’)
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4812:29: error: initializer element is not computable at load time
/var/lib/dkms/bluetooth/6.8/build/btusb.c:4812:29: note: (near initialization for ‘btusb_driver.soft_unbind’)
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/bluetooth/6.8/build/btusb.o] Błąd 1
make[2]: *** [/usr/src/kernel-6.6.65-desktop-2.mga9/Makefile:1900: /var/lib/dkms/bluetooth/6.8/build] Błąd 2
make[1]: *** [Makefile:234: __sub-make] Błąd 2
make[1]: Opuszczenie katalogu '/usr/src/kernel-6.6.65-desktop-2.mga9'
make: *** [Makefile:7: all] Błąd 2
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron