You are not logged in.

#1 2021-02-27 14:37:18

startover
Member
Registered: 2011-01-24
Posts: 33

Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

I cannot even turn on the bluetooth. The journalctl shows:

kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-16)
kernel: Bluetooth: hci0: Failed to set baudrate
kernel: Bluetooth: hci0: BCM: firmware Patch file not found, tried:
kernel: Bluetooth: hci0: BCM: 'brcm/BCM.hcd'

When downgrading to linux-5.10.16 all is good. Any idea how to fix this?

Last edited by startover (2021-04-09 13:44:20)

Offline

#2 2021-02-27 16:35:08

u666sa
Member
Registered: 2020-08-01
Posts: 69

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

Have a look at https://wiki.archlinux.org/index.php/Bl … ernel_5.10

Basically, you have bluetooth on your wifi card via USB. (internally it's connected like that) This is causing problems at the moment with latest kernel. Solution is to apply specified in wiki patch, maybe it will help, or to run an older kernel, perhaps LTS. Third solution is to install into your laptop separate bluetooth module, this requires some hacking around, sometimes you just have to buy cable and module, other times you have to make your own cable and solder to mobo's internal usb channel. I have such setup, essentially I have 2 bluetooth adapters, one on wifi card and one separate. Mobo's always have a place on them to where you can connect or solder to a usb adapter, doesn't matter if it's bluetooth or an LTE modem.

Let me know if that patch works, I haven't done it myself yet.

https://i.ebayimg.com/images/g/NjMAAOSw … s-l640.jpg

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by Slithery (2021-02-27 17:55:55)

Offline

#3 2021-02-27 17:40:57

startover
Member
Registered: 2011-01-24
Posts: 33

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

That wiki page says kernel 5.10 had problems, and it was fixed in 5.11.
5.10 works fine for me. My issue is with kernel 5.11.

Seems like others have similar problems with 5.11.
Though my problem seems to be worse: simply no way to turn on bluetooth on kernel 5.11.1.

Offline

#4 2021-02-27 19:28:20

u666sa
Member
Registered: 2020-08-01
Posts: 69

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

What kernel do you think I have? Kernel   5.11.1-xanmod1-1 + stock arch and zen flavors.
I'm having this same issue. Was it fixed? My bluetooth on wifi card does not work. When I boot into LTS 5.4 kernel it works. No it wasn't fixed. They lying. Look, either apply the patch or drop to LTS kernel, the problem is the kernel, you can confirm it by building an LTS kernel and booting into it.

Offline

#5 2021-02-27 19:43:22

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

That particular problem the patch addresses should be fixed by upstream with 5.11.2: https://git.kernel.org/pub/scm/linux/ke … 11.2#n4068
I have no idea why someone claimed 5.11.arch2 fixed it.
Edit: Oh right. arch patches, not upstream.

Last edited by progandy (2021-02-27 19:52:32)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2021-02-27 19:43:50

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

u666sa wrote:

What kernel do you think I have? Kernel   5.11.1-xanmod1-1 + stock arch and zen flavors.
I'm having this same issue. Was it fixed? My bluetooth on wifi card does not work. When I boot into LTS 5.4 kernel it works. No it wasn't fixed. They lying.

https://git.archlinux.org/linux.git/com … 55df84a123 for 5.11.2+
https://git.archlinux.org/linux.git/com … 1a10126a6e for 5.11.1-arch1
https://git.archlinux.org/linux.git/com … 074b2f0e1e For 5.11-arch2

u666sa wrote:

Look, either apply the patch or drop to LTS kernel, the problem is the kernel, you can confirm it by building an LTS kernel and booting into it.

Please do try applying the above patch that has already been applied and confirm it fails to apply.  If you have an issue with Bluetooth on the above kernels then it is a different issue.  There is no reason for anyone to lie about what is included in the kernel which is easily verifiable.

Offline

#7 2021-04-09 13:40:49

startover
Member
Registered: 2011-01-24
Posts: 33

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

The problem still persists with 5.11.12-arch1-1 kernel.
Bellow is all I see in journalctl --boot related to bluetooth. Any help would be appreciated.

The error ones seem to be only:

09:24:44 kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-16)
09:24:44 kernel: Bluetooth: hci0: Failed to set baudrate
09:24:44 kernel: Bluetooth: hci0: BCM: firmware Patch file not found, tried:
09:24:44 kernel: Bluetooth: hci0: BCM: 'brcm/BCM.hcd'

but the full log is:

09:24:43 kernel: Bluetooth: Core ver 2.22
09:24:43 kernel: Bluetooth: HCI device and connection manager initialized
09:24:43 kernel: Bluetooth: HCI socket layer initialized
09:24:43 kernel: Bluetooth: L2CAP socket layer initialized
09:24:43 kernel: Bluetooth: SCO socket layer initialized
09:24:43 kernel: Bluetooth: HCI UART driver ver 2.3
09:24:43 kernel: Bluetooth: HCI UART protocol H4 registered
09:24:43 kernel: Bluetooth: HCI UART protocol BCSP registered
09:24:43 kernel: Bluetooth: HCI UART protocol LL registered
09:24:43 kernel: Bluetooth: HCI UART protocol ATH3K registered
09:24:43 kernel: Bluetooth: HCI UART protocol Three-wire (H5) registered
09:24:43 kernel: Bluetooth: HCI UART protocol Intel registered
09:24:43 kernel: Bluetooth: HCI UART protocol Broadcom registered
09:24:43 kernel: Bluetooth: HCI UART protocol QCA registered
09:24:43 kernel: Bluetooth: HCI UART protocol AG6XX registered
09:24:43 kernel: Bluetooth: HCI UART protocol Marvell registered
09:24:44 NetworkManager[709]: <info>  [1617974684.1355] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.30.2-1/libnm-device-plugin-bluetooth.so)
09:24:44 systemd[1]: Starting Bluetooth service...
09:24:44 bluetoothd[769]: Bluetooth daemon 5.58
09:24:44 systemd[1]: Started Bluetooth service.
09:24:44 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
09:24:44 systemd[1]: Reached target Bluetooth.
09:24:44 bluetoothd[769]: Starting SDP server
09:24:44 bluetoothd[769]: Bluetooth management interface 1.19 initialized
09:24:44 kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
09:24:44 kernel: Bluetooth: BNEP filters: protocol multicast
09:24:44 kernel: Bluetooth: BNEP socket layer initialized
09:24:44 kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-16)
09:24:44 kernel: Bluetooth: hci0: Failed to set baudrate
09:24:44 kernel: Bluetooth: hci0: BCM: chip id 150
09:24:44 kernel: Bluetooth: hci0: BCM: features 0x07
09:24:44 kernel: Bluetooth: hci0: BCM4364B3 Trinidad Olympic GEN (MFG)
09:24:44 kernel: Bluetooth: hci0: BCM (001.016.064) build 0090
09:24:44 kernel: Bluetooth: hci0: BCM: firmware Patch file not found, tried:
09:24:44 kernel: Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
09:25:01 dbus-daemon[1166]: [session uid=1000 pid=1166] Activating via systemd: service name='ca.desrt.dconf' unit='dconf.service' requested by ':1.52' (uid=1000 pid=1560 comm="gnome-control-center bluetooth ")
09:25:01 dbus-daemon[1166]: [session uid=1000 pid=1166] Activating via systemd: service name='org.bluez.obex' unit='dbus-org.bluez.obex.service' requested by ':1.52' (uid=1000 pid=1560 comm="gnome-control-center bluetooth ")
09:25:01 systemd[1148]: Starting Bluetooth OBEX service...
09:25:01 systemd[1148]: Started Bluetooth OBEX service.
09:25:04 systemd[1148]: app-gnome-gnome\x2dbluetooth\x2dpanel-1560.scope: Deactivated successfully.

Offline

#8 2021-09-27 13:31:55

redecorating
Member
Registered: 2021-09-27
Posts: 2

Re: Bluetooth not working since kernel 5.11.1 (and still as of 5.11.12)

Is this a MacBookPro16,1? If not, what computer is it? I have that model and the same issue. I recently figured out that it is caused by this https://github.com/torvalds/linux/commi … f3a1f5b3e8

This patch fixes it for me by disabling some code:

--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -742,7 +742,7 @@ static int hci_init3_req(struct hci_request *req, unsigned long opt)
                        hci_req_add(req, HCI_OP_LE_READ_ADV_TX_POWER, 0, NULL);
                }

-               if (hdev->commands[38] & 0x80) {
+               if (false) {
                        /* Read LE Min/Max Tx Power*/
                        hci_req_add(req, HCI_OP_LE_READ_TRANSMIT_POWER,
                                    0, NULL);

But it'd be better to introduce a quirk disabling this just for effected computers, however I don't know which computers are effected and how to tell if a computer will need this quirk (i.e. MacBookPro15,1 is similar but not effected), so I haven't yet reported this upstream.

Offline

Board footer

Powered by FluxBB