2021-02-11 22:56:24

by Michał Zegan

[permalink] [raw]
Subject: Bluetooth not working in 5.10 kernel?

Hi,
I have 5.10.13 kernel on archlinux and bluetooth seems to misbehave.
Not sure if that is known or fixed?
Namely, I have some atheros bluetooth using btusb driver or so it seems,
laptop lenovo ideapat 310.
I managed to turn it on, then when turning on bluetooth on my phone
(devices are paired) it triggered connection with the pc, but my sound
suddenly silenced, then after a minute I got a connection error on phone
and pc went back to normal.
Then I tried again, this time my sound started looping on the pc, and
after some time went back to normal, phone showed errors again.
I removed the pairing at phone side, disabled bluetooth from gnome and
tried to reload the driver (btusb).
However, now bluez does not detect my adapter, bluetoothctl command
"list" shows nothing. Gnome tries to turn on bluetooth but shows it
turned off each time.
In addition, even though list is empty, I see the device in
/sys/class/bluetooth.
I have found some reddit thread about a similar issue,
https://www.reddit.com/r/archlinux/comments/kwpw6j/bluetooth_not_working_anymore/


Attachments:
OpenPGP_signature (505.00 B)
OpenPGP digital signature

2021-02-13 07:45:39

by Salvatore Bonaccorso

[permalink] [raw]
Subject: Re: Bluetooth not working in 5.10 kernel?

Hi Michał,

On Thu, Feb 11, 2021 at 11:42:39PM +0100, Michał Zegan wrote:
> Hi,
> I have 5.10.13 kernel on archlinux and bluetooth seems to misbehave.
> Not sure if that is known or fixed?
> Namely, I have some atheros bluetooth using btusb driver or so it seems,
> laptop lenovo ideapat 310.
> I managed to turn it on, then when turning on bluetooth on my phone
> (devices are paired) it triggered connection with the pc, but my sound
> suddenly silenced, then after a minute I got a connection error on phone
> and pc went back to normal.
> Then I tried again, this time my sound started looping on the pc, and
> after some time went back to normal, phone showed errors again.
> I removed the pairing at phone side, disabled bluetooth from gnome and
> tried to reload the driver (btusb).
> However, now bluez does not detect my adapter, bluetoothctl command
> "list" shows nothing. Gnome tries to turn on bluetooth but shows it
> turned off each time.
> In addition, even though list is empty, I see the device in
> /sys/class/bluetooth.
> I have found some reddit thread about a similar issue,
> https://www.reddit.com/r/archlinux/comments/kwpw6j/bluetooth_not_working_anymore/

See both reports at

https://bugzilla.kernel.org/show_bug.cgi?id=210681
and
https://bugzilla.kernel.org/show_bug.cgi?id=211571

So the fix is now pending in bluetooth-next.

Regards
Salvatore

2021-02-13 08:28:25

by Michał Zegan

[permalink] [raw]
Subject: Re: Bluetooth not working in 5.10 kernel?

Interesting,
These may be related, but I myself do not see that error about not
supported firmware anywhere in dmesg, the only thing I see when loading
module is that the usb device is registered.
Then I actually do see /sys/class/bluetooth/hci0, no firmware error, but
also no adapter in bluez. It's still possible it's the same issue.
Also why it was detected on system boot, just not when reloading?
Or at least it seemed to work until I tried to actually connect with
something.
Will definitely test the change when it appears in an actual kernel to
see if fixed.

W dniu 13.02.2021 o 08:33, Salvatore Bonaccorso pisze:
> Hi Michał,
>
> On Thu, Feb 11, 2021 at 11:42:39PM +0100, Michał Zegan wrote:
>> Hi,
>> I have 5.10.13 kernel on archlinux and bluetooth seems to misbehave.
>> Not sure if that is known or fixed?
>> Namely, I have some atheros bluetooth using btusb driver or so it seems,
>> laptop lenovo ideapat 310.
>> I managed to turn it on, then when turning on bluetooth on my phone
>> (devices are paired) it triggered connection with the pc, but my sound
>> suddenly silenced, then after a minute I got a connection error on phone
>> and pc went back to normal.
>> Then I tried again, this time my sound started looping on the pc, and
>> after some time went back to normal, phone showed errors again.
>> I removed the pairing at phone side, disabled bluetooth from gnome and
>> tried to reload the driver (btusb).
>> However, now bluez does not detect my adapter, bluetoothctl command
>> "list" shows nothing. Gnome tries to turn on bluetooth but shows it
>> turned off each time.
>> In addition, even though list is empty, I see the device in
>> /sys/class/bluetooth.
>> I have found some reddit thread about a similar issue,
>> https://www.reddit.com/r/archlinux/comments/kwpw6j/bluetooth_not_working_anymore/
>
> See both reports at
>
> https://bugzilla.kernel.org/show_bug.cgi?id=210681
> and
> https://bugzilla.kernel.org/show_bug.cgi?id=211571
>
> So the fix is now pending in bluetooth-next.
>
> Regards
> Salvatore
>


Attachments:
OpenPGP_signature (505.00 B)
OpenPGP digital signature