Public bug reported:

This bug has been around since the 4.x kernels.

When the system boots up, Bluetooth is disabled as expected:

$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: yes
        Hard blocked: no

After we try to enable it with 'rfkill unblock bluetooth', the Bluetooth
interface hci0 is now present, but is soft blocked:

$ rfkill unblock bluetooth

$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: noDescription:    Linux Mint 18.3 Sylvia
Release:        18.3

        Hard blocked: no
10: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no

However, Bluetooth is considered enabled by the thinkpad-acpi driver, as
we can see:

$ cat /proc/acpi/ibm/bluetooth
status:         enabled
commands:       enable, disable

The Bluetooth LED is also on.

'hciconfig' is seeing the Bluetooth adapter as being DOWN:

$ hciconfig

hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:22:68:E4:BF:27  ACL MTU: 1021:8  SCO MTU: 64:1
        DOWN 
        RX bytes:511 acl:0 sco:0 events:23 errors:0
        TX bytes:339 acl:0 sco:0 commands:23 errors:0

To remove the soft block of hci0 and make the Bluetooth adapter fully
operational, we should run 'rfkill unblock bluetooth' one more time.

$ rfkill unblock bluetooth

$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: no
        Hard blocked: no
10: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

$ hciconfig

hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:22:68:E4:BF:27  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN ISCAN 
        RX bytes:1046 acl:0 sco:0 events:50 errors:0
        TX bytes:943 acl:0 sco:0 commands:50 errors:0

Now the adapter is fully operational.

This behavior confuses most of the GUI applets that are used by the
modern distributions, since they expect to have an operational adapter
after the first attempt to enable it. This makes it impossible to use
the Bluetooth adapter through them.

I`m currently testing on Linux Mint 18.3 MATE (with Ubuntu package base)
that is shipped with the 'blueberry' applet, it uses bt-adapter from the
BlueZ suite in the background to manage the Bluetooth adapter. Because
of this bug, it crashes and 'blueberry' is unable to use the Bluetooth.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "uname-a.log"
   
https://bugs.launchpad.net/bugs/1760127/+attachment/5096101/+files/uname-a.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760127

Title:
  BCM2045B: Integrated Bluetooth adapter needs to be enabled twice to
  work on ThinkPad T400

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1760127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to