Bug 216314 - After resume the host stops listening to incoming Bluetooth pairing requests
Summary: After resume the host stops listening to incoming Bluetooth pairing requests
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: AMD Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-01 12:49 UTC by Artem S. Tashkinov
Modified: 2022-08-01 23:10 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.18.10
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Artem S. Tashkinov 2022-08-01 12:49:06 UTC
This looks like a regression in kernel 5.18. The device is: Intel Corp. Wireless-AC 9260 Bluetooth Adapter

After booting, my BT headphones connect to my host automatically. Once I suspend, this no longer happens, there's nothing in the system log:

# bluetoothctl
Agent registered
AdvertisementMonitor path registered

[ I'm switching on my BT headphones - no messages nothing, ok, switching them off ]

[bluetooth]# power off
Changing power off succeeded
[CHG] Controller 48:89:E7:XX:YY:ZZ Powered: no
[CHG] Controller 48:89:E7:XX:YY:ZZ Discovering: no
[CHG] Controller 48:89:E7:XX:YY:ZZ Class: 0x00000000
[bluetooth]# power on
[CHG] Controller 48:89:E7:XX:YY:ZZ Class: 0x007c0104
Changing power on succeeded
[CHG] Controller 48:89:E7:XX:YY:ZZ Powered: yes

[ I'm switching on my BT headphones again ]

[CHG] Device 17:10:28:AA:BB:CC Connected: yes
[NEW] Endpoint /org/bluez/hci0/dev_17_10_28_AA_BB_CC/sep1 
[NEW] Endpoint /org/bluez/hci0/dev_17_10_28_AA_BB_CC/sep2 
[NEW] Transport /org/bluez/hci0/dev_17_10_28_AA_BB_CC/fd1 
[CHG] Transport /org/bluez/hci0/dev_17_10_28_AA_BB_CC/fd1 Volume: 0x000f (15)
[DEL] Transport /org/bluez/hci0/dev_17_10_28_AA_BB_CC/fd1 
[NEW] Transport /org/bluez/hci0/dev_17_10_28_AA_BB_CC/sep1/fd2 
[CHG] Transport /org/bluez/hci0/dev_17_10_28_AA_BB_CC/sep1/fd2 Volume: 0x000f (15)
Comment 1 Artem S. Tashkinov 2022-08-01 12:55:12 UTC
I'm looking at

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/bluetooth/btintel.c

and there's nothing which could indicate a regression. Maybe it's an issue with bluez?
Comment 2 Artem S. Tashkinov 2022-08-01 13:00:21 UTC
Also file here: https://github.com/bluez/bluez/issues/373
Comment 3 Kamil Paral 2022-08-01 13:34:42 UTC
Downstream Fedora bug with some details and lots of people affected:
https://bugzilla.redhat.com/show_bug.cgi?id=2100761
Comment 4 Artem S. Tashkinov 2022-08-01 23:10:34 UTC
Must have been fixed by:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=68253f3cd715e819bc4bff2b0e6b21234e259d56

Sadly, no one has pushed this very important fix to stable.

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