Bluetoothd is running, but not discovering devices

The bluetooth hardware works on this computer under Windows. In the KDE bluetooth widget I only see one device which I don’t recognize. There are lots of devices in range.

When I use ‘bluetoothctl discoverable on’ I can see the computer and pair with it from my phone. ‘bluetoothctl scan on’ shows “SetDiscoveryFilter success”, but no devices are shown. A subsequent ‘bluetoothctl scan on’ results in “Failed to stop discovery: org.bluez.Error.Failed”.

I also get the following, the last two lines of which may be relevant:

hattons@localhost:~> sudo service bluetooth status
* bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
     Active: active (running) since Sun 2024-06-23 01:08:34 EDT; 7s ago
       Docs: man:bluetoothd(8)
   Main PID: 26126 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4915)
        CPU: 22ms
     CGroup: /system.slice/bluetooth.service
             `-26126 /usr/lib/bluetooth/bluetoothd

Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSink/faststream
Jun 23 01:08:34 localhost.localdomain bluetoothd[26126]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSource/faststream
Jun 23 01:08:35 localhost.localdomain bluetoothd[26126]: Failed to load LTKs for hci1: Invalid Parameters (0x0d)
Jun 23 01:08:35 localhost.localdomain bluetoothd[26126]: Failed to load IRKs for hci1: Invalid Parameters (0x0d)
hattons@localhost:~> 

Bluetooth is never easy to debug and often it can have to do with the card, not a BT card are that good support by Linux.

Can you share the output of “lsusb | grep -i blue” and “lspci | grep -i blue” I like to see which bluetooth card you have.

Neither command produced anything. I did get this:

localhost:~ # hwinfo --bluetooth
02: USB 00.0: 11500 Bluetooth Device                            
  [Created at usb.122]
  Unique ID: xMQR.X91Y84C4of4
  Parent ID: wkjR.RCJcL1C9RGA
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.3/1-5.3:1.0
  SysFS BusID: 1-5.3:1.0
  Hardware Class: bluetooth
  Model: "Intel Bluetooth Device"
  Hotplug: USB
  Vendor: usb 0x8087 "Intel Corp."
  Device: usb 0x0036 
  Driver: "btusb"
  Driver Modules: "btusb"
  Speed: 12 Mbps
  Module Alias: "usb:v8087p0036d0000dcE0dsc01dp01icE0isc01ip01in00"
  Driver Info #0:
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #38 (Hub)

From that I got the vendor and product hex codes 0x8087, 0x0036 and did “lsusb -d 8087:0036” to get Bus 001 Device 011: ID 8087:0036 Intel Corp. Using that I did “lsusb -vs 001:011” and got:

localhost:~ # lsusb -vs 001:011

Bus 001 Device 011: ID 8087:0036 Intel Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x0036 
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x00c8
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x003f  1x 63 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x003f  1x 63 bytes
        bInterval               1
Device Status:     0x0001
  Self Powered

Sometimes other programs can interfere with Bluetooth. Try restarting your device or temporarily disabling other software to see if that resolves the issue.

Me too.

Try what I did. I installed blueman and use it to connect to my bluetooth devices.

It’s a pristine install, so I don’t expect that to be a problem. It may be that my hardware is too new for the configuration to be in the distro.

With blueman I can make this computer visible and find it with my phone. But I can’t see any devices when I scan for devices with blueman.

This issue seems to be the same as yours.

Can you try what is suggested there. If that not works, adding your experience to that issue makes sense to me.

I don’t think that’s the same problem. I can connect devices from the other end. That is, I can see my computer form my phone, and connect to it from my phone. What I can do is see my phone when I search using blueman, for example. I have no devices to delete since I can find any. I did delete my phone after connecting, but that changed nothing.

Nice to see it is an Intel BT card, likely good supported.

I did not read about the exact problem, I did check for the error messages " Failed to load LTKs/IRKs"

Does “bluetoothctl devices” report anything on your computer, following the issue I linked I would delete all devices.

It looks to have been a subtle hardware issue. I added an NVME card to the computer, after which the Bluetooth discovery on the Windows side stopped working. The motherboard (ROG MAXIMUS Z790 FORMULA w/i9-14900KS) came with an attachable external antenna. I attached it, and the Bluetooth discovery is now working great. I’m guessing the Motherboard and additional components interfere with RF communications, hence the need for the external antenna. I thought the antenna was only for WIFI, which I am not using. In the past, I have never needed to attach external antennae to get things to work on other computers.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.