익명 00:53

Bluetooth has disappeared entirely in Kubuntu 24.04

Bluetooth has disappeared entirely in Kubuntu 24.04

For starters, here is my system. EDIT: My headphones are Skullcandy ANC Crusher 2, if that also helps.

dorkus@Robot-Overlord-2:~$ hostnamectl
 Static hostname: Robot-Overlord-2
       Icon name: computer-desktop
         Chassis: desktop
      Machine ID: cb951c28f5914877ac1ffec151517b6f
         Boot ID: da44c91966764dc18e535841f756b86f
Operating System: Ubuntu 24.04.4 LTS              
          Kernel: Linux 6.8.0-136-generic
    Architecture: x86-64
 Hardware Vendor: ASUS
  Hardware Model: ROG STRIX B650E-F GAMING WIFI
Firmware Version: 2214
   Firmware Date: Tue 2024-01-02
    Firmware Age: 2y 6month 2w 1d   

It started when trying to fix a connection issue between KDE Connect and my Android. I changed my firewall settings to "allow" and while it fixed the KDE Connect issue, it caused my bluetooth audio to sound choppy and distorted in A2DP sink.

I then tried a few fixes for that from here and here and here.

And now bluetooth has disappeared from my system tray entirely, with no way to reconnect it.

Running hciconfig shows this:

dorkus@Robot-Overlord-2:~$ hciconfig
hci1:   Type: Primary  Bus: USB
        BD Address: 74:F6:1C:14:86:DF  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING 
        RX bytes:5514 acl:0 sco:0 events:685 errors:0
        TX bytes:61032 acl:0 sco:0 commands:684 errors:0

hci0:   Type: Primary  Bus: USB
        BD Address: C8:94:02:6E:C8:B4  ACL MTU: 1021:6  SCO MTU: 240:8
        UP RUNNING 
        RX bytes:16686 acl:0 sco:0 events:2267 errors:0
        TX bytes:554095 acl:0 sco:0 commands:2267 errors:0

Trying to bring hci1 back up using sudo hciconfig -a hci1 up only results in a timeout error.

Using sudo dmesg |grep -i bluetooth brings this up as well:

[   10.444683] Bluetooth: Core ver 2.22
[   10.444697] NET: Registered PF_BLUETOOTH protocol family
[   10.444698] Bluetooth: HCI device and connection manager initialized
[   10.444702] Bluetooth: HCI socket layer initialized
[   10.444704] Bluetooth: L2CAP socket layer initialized
[   10.444706] Bluetooth: SCO socket layer initialized
[   10.461217] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
[   10.562871] Bluetooth: hci1: BCM: chip id 102
[   10.563864] Bluetooth: hci1: BCM: features 0x2f
[   10.579873] Bluetooth: hci1: BCM20703A1
[   10.579876] Bluetooth: hci1: BCM20703A1 (001.001.005) build 0000
[   10.581959] Bluetooth: hci1: BCM20703A1 'brcm/BCM-0bb4-0306.hcd' Patch
[   11.738855] Bluetooth: hci1: BCM: features 0x2f
[   11.756004] Bluetooth: hci1: BCM20703A1 Generic USB 20Mhz fcbga_BU
[   11.756008] Bluetooth: hci1: BCM20703A1 (001.001.005) build 0481
[   31.962093] Bluetooth: hci0: Device setup in 21007347 usecs
[   31.962100] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   32.237327] Bluetooth: hci0: AOSP extensions version v1.00
[   32.237335] Bluetooth: hci0: AOSP quality report is supported
[   38.338622] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   38.338625] Bluetooth: BNEP filters: protocol multicast
[   38.338629] Bluetooth: BNEP socket layer initialized
[   38.339681] Bluetooth: MGMT ver 1.22
[   38.339717] Bluetooth: MGMT ver 1.22
[   38.755139] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
[   38.918839] Bluetooth: hci0: Device setup in 169917 usecs
[   38.918844] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   39.194199] Bluetooth: hci0: AOSP extensions version v1.00
[   39.194205] Bluetooth: hci0: AOSP quality report is supported
[   43.528015] Bluetooth: RFCOMM TTY layer initialized
[   43.528021] Bluetooth: RFCOMM socket layer initialized
[   43.528024] Bluetooth: RFCOMM ver 1.11

Not sure what I'm missing here. I tried some instructions to also reinstall the entire bluetooth stack with no luck either. Any ideas would be greatly appreciated.

UPDATE: Apparently I can still connect my headphones using bluetoothctl using the scan command to get the MAC address of the headphones and then forcing it to pair. Audio is still choppy but now I'm wondering what is really going on. Perhaps it's just an issue with the system tray itself? Bluetooth apparently does work, but it's a pain to do it this way every time.

UPDATE 2: I'm not sure if this is anything but using hcitool dev shows this:

dorkus@Robot-Overlord-2:~$ hcitool dev
Devices:
        hci1    74:F6:1C:14:86:DF
        hci0    C8:94:02:6E:C8:B4

Afaik, my PC only has one bluetooth receiver. So I wonder why it's showing 2 of them. I got the Bluez menu to come up in the system tray and it shows both as well. But only hci0 seems to work, possibly being the actual bluetooth hardware.



Top Answer/Comment:

Comment: Are you sure you're using KDE Connect on Kubuntu not Ubuntu? Kubuntu can open the Bluetooth settings via kcmshell6 kcm_bluetooth . There are settings to hide any tray icon, so use the settings app instead

상단 광고의 [X] 버튼을 누르면 내용이 보입니다