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

Jiri Kosina <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kernel.vger.linux-input,org.kernel.vger.stable
Message-ID <[email protected]>
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: [email protected]
> Assisted-by: Claude-Code:claude-opus-4-8
> Signed-off-by: Christopher Kodama <[email protected]>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.