Re: [PATCH] HID: magicmouse: re-enable multitouch after reset-resume

From: Jiri Kosina

Date: Mon Aug 03 2026 - 15:32:56 EST


On Sat, 25 Jul 2026, Christopher Kodama wrote:

> When the Apple Magic Trackpad 2 (USB) is reset across a power transition
> (e.g. resume from hibernation) it drops out of multitouch mode: it keeps
> sending report ID 0x02 on its HID_TYPE_USBMOUSE interface, but the packet
> shrinks from 21 to 8 bytes and the trackpad2 handler drops it (size < 12).
> Clicks still work but pointer motion is lost until the device is re-plugged
> or the driver reloaded.
>
> Re-enable multitouch from .reset_resume via the workqueue. Only
> .reset_resume is needed; suspend-to-idle keeps the device powered and
> retains multitouch.
>
> Fixes: 87a2f10395c8 ("HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: Claude-Code:claude-opus-4-8
> Signed-off-by: Christopher Kodama <ckhordiasma@xxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs