Re: [Regression] Bluetooth mouse broken in 6.12-rc3

From: Paul Menzel
Date: Mon Oct 14 2024 - 18:00:59 EST


Dear Rafael,


Thank you for reporting the regression.


Am 14.10.24 um 20:27 schrieb Rafael J. Wysocki:

Unfortunately, commit 610712298b11 ("Bluetooth: btusb: Don't fail
external suspend requests") from you that appeared in 6.12-rc3
prevents my Logitech Bluetooth mouse from connecting to the host
(btusb). The LED activity on the mouse indicates that it tries to
associate, but there is no response. It looks like the host is
suspended before the device can connect to it and it cannot be woken
up for some reason.

It worked no problem in 6.12-rc2 and the above commit is the only BT
one in 6.12-rc3. Also reverting it makes things work again.

In the "good" case (for example, in 6.12-rc3 with the above commit
reverted), the following messages are present in the kernel log:

[ 251.748734] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 251.748763] Bluetooth: HIDP socket layer initialized
[ 251.773010] hid-generic 0005:046D:B016.0001: unknown main item tag 0x0
[ 251.774432] input: Bluetooth Mouse M336/M337/M535 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:1/0005:046D:B016.0001/input/input14
[ 251.775733] input: Bluetooth Mouse M336/M337/M535 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:1/0005:046D:B016.0001/input/input15
[ 251.777163] input: Bluetooth Mouse M336/M337/M535 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:1/0005:046D:B016.0001/input/input18
[ 251.815905] hid-generic 0005:046D:B016.0001: input,hidraw0: BLUETOOTH HID v12.03 Mouse [Bluetooth Mouse M336/M337/M535] on 9c:b6:d0:96:8e:c8

In the "bad" case (for example, in unmodified 6.12-rc3) they are not
there at all.

This regression has been reported three times already [1][2][3].


Kind regards,

Paul



[1]: https://lore.kernel.org/linux-bluetooth/020c69d7-ad86-44d3-a508-22ff949ee7ec@xxxxxxxxx/T/#t
[2]: https://lore.kernel.org/linux-bluetooth/a34d2761-dad4-4ae7-8787-6bbf05538318@xxxxxxxxx/T/#t
[3]: https://bugzilla.kernel.org/show_bug.cgi?id=219385