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

From: Luiz Augusto von Dentz
Date: Mon Oct 14 2024 - 16:04:10 EST


Hi Rafael,

On Mon, Oct 14, 2024 at 2:37 PM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
>
> Hi Luiz,
>
> 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.

Thanks for the report, we had quite a few similar reports and I will
send a fix sortly.

> Thanks!
>


--
Luiz Augusto von Dentz