Bug 1916464 - unable to use bluetooth
Summary: unable to use bluetooth
Keywords:
Status: CLOSED DUPLICATE of bug 1916104
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1909976
TreeView+ depends on / blocked
 
Reported: 2021-01-14 20:06 UTC by dx798116b0
Modified: 2021-02-27 22:21 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-02-24 08:47:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bluetooth interface behavior (78.26 KB, image/jpeg)
2021-01-14 20:06 UTC, dx798116b0
no flags Details

Description dx798116b0 2021-01-14 20:06:15 UTC
Created attachment 1747525 [details]
bluetooth interface behavior

Created attachment 1747525 [details]
bluetooth interface behavior

Description of problem:

I have been unable to use bluetooth (BT for short) in my computer since kernel version 5.8.x, 5.9 version did not listed the device at all, pointing me that there was no bluetooth device attached, however with the new kernel 5.8 and 5.10 the bluetooth functionality behaves like is shown in the attached screenshoot

labels for the attached screenshoot
1- BT device is off
2- Turning the BT on keeps showing the same screen as when it is off
3- The menu still shows the BT off with the option to turn it off


Version-Release number of selected component (if applicable):
using fedora 33, although the problem was present with fedora 32


Actual results:
bluetooth is shown as off even when it is on, no devices are found or even listed


Expected results:
bluetooth should turn on and show devices


Additional info:

My laptop is a Huawei matebook 13 from 2019

lsusb
Bus 002 Device 003: ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer
Bus 002 Device 002: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub             
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05c8:03cf Cheng Uei Precision Industry Co., Ltd (Foxlink) HD Camera
Bus 001 Device 003: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 008: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 007: ID 291a:8334  
Bus 001 Device 006: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


  ~  $  dmesg|grep -i blue
[   13.776728] Bluetooth: Core ver 2.22
[   13.776754] Bluetooth: HCI device and connection manager initialized
[   13.776758] Bluetooth: HCI socket layer initialized
[   13.776760] Bluetooth: L2CAP socket layer initialized
[   13.776766] Bluetooth: SCO socket layer initialized
[   14.010601] Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015
[   14.011605] Bluetooth: hci0: Device revision is 2
[   14.011606] Bluetooth: hci0: Secure boot is enabled
[   14.011607] Bluetooth: hci0: OTP lock is disabled
[   14.011609] Bluetooth: hci0: API lock is enabled
[   14.011610] Bluetooth: hci0: Debug lock is disabled
[   14.011611] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   14.015013] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[   14.396281] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.396284] Bluetooth: BNEP filters: protocol multicast
[   14.396288] Bluetooth: BNEP socket layer initialized
[   15.445695] Bluetooth: hci0: Waiting for firmware download to complete
[   15.446595] Bluetooth: hci0: Firmware loaded in 1403648 usecs
[   15.446609] Bluetooth: hci0: Waiting for device to boot
[   16.449686] Bluetooth: hci0: Device boot timeout
[   16.449716] Bluetooth: hci0: Intel reset sent to retry FW download


kernel version
5.10.6-200.fc33.x86_64


please let me know if you need any other piece of information and thanks in advance for the help

Comment 1 Basil Eric Rabi 2021-01-25 09:24:06 UTC
I have the same problem with the original reporter. I successfuly connected via bluetooth last December but when I attempted to use it this week, it does not work anymore.

$ bluetoothctl
Agent registered
[bluetooth]# show
No default controller available

$ systemctl status bluetooth

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-01-25 08:53:09 PST; 8h ago
       Docs: man:bluetoothd(8)
   Main PID: 841 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 28656)
     Memory: 1.7M
        CPU: 55ms
     CGroup: /system.slice/bluetooth.service
             └─841 /usr/libexec/bluetooth/bluetoothd

Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: Starting SDP server
Jan 25 08:53:09 localhost.localdomain systemd[1]: Started Bluetooth service.
Jan 25 08:53:09 localhost.localdomain bluetoothd[841]: Bluetooth management interface 1.18 initialized

$ sudo lsusb -v

Bus 003 Device 005: ID 0489:e04e Foxconn / Hon Hai 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0489 Foxconn / Hon Hai
  idProduct          0xe04e 
  bcdDevice            0.02
  iManufacturer           1 (error)
  iProduct                2 (error)
  iSerial                 3 (error)
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x00b1
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 (error)
    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     0x0010  1x 16 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
      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
    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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
Device Status:     0x0001
  Self Powered


$ hciconfig
hci0:	Type: Primary  Bus: USB
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN 
	RX bytes:0 acl:0 sco:0 events:0 errors:0
	TX bytes:0 acl:0 sco:0 commands:0 errors:0


$ rfkill list all
0: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: acer-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

Comment 2 Basil Eric Rabi 2021-02-24 02:38:18 UTC
I installed https://koji.fedoraproject.org/koji/taskinfo?taskID=62602244 and now bluetooth works fine. Also, this might be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1916104

Comment 3 Hans de Goede 2021-02-24 08:47:11 UTC
(In reply to Basil Eric Rabi from comment #2)
> I installed https://koji.fedoraproject.org/koji/taskinfo?taskID=62602244 and
> now bluetooth works fine. Also, this might be a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1916104

Thank you for letting us knwo that this is fixed now. And this indeed seems like a duplicate, so let me mark it as such.

*** This bug has been marked as a duplicate of bug 1916104 ***

Comment 4 dx798116b0 2021-02-27 22:21:22 UTC
Unfortunately the new kernel 5.10.18-200.fc33.x86_64, didnt fix the problem for me, it is still showing the bluetooth menu as always off, something strange is that the bluetooth service seems to sometimes start and sometimes it just doesnt, when it does i am still unable to use it, one thing i noticed is that even though the folder /sys/class/bluetooth is present it is empty, i will try with a fresh fedora install to see if it works otherwise it may be possible that my bluetooth chip is damaged or something (unfortunately i no longer have my windows partition to see if it is still working there, but last time i had the problem it worked fine in windows).

> bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# show
No default controller available
[bluetooth]# 

> systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-02-27 14:08:57 PST; 5min ago
       Docs: man:bluetoothd(8)
   Main PID: 1096 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9189)
     Memory: 1.7M
        CPU: 50ms
     CGroup: /system.slice/bluetooth.service
             └─1096 /usr/libexec/bluetooth/bluetoothd

Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
Feb 27 14:08:57 user bluetoothd[1096]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
Feb 27 14:08:57 user systemd[1]: Started Bluetooth service.
Feb 27 14:08:57 user bluetoothd[1096]: Starting SDP server
Feb 27 14:08:57 user bluetoothd[1096]: Bluetooth management interface 1.18 initialized


Note You need to log in before you can comment on or make changes to this bug.