public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] HID: apple: reinitialize T2 HID devices after resume
@ 2026-04-03 13:06 deqrocks
  2026-04-03 13:06 ` [PATCH 1/3] Add Apple T2 HID identifiers deqrocks
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: deqrocks @ 2026-04-03 13:06 UTC (permalink / raw)
  To: jikos, benjamin.tissoires; +Cc: linux-input

This series improves suspend and resume handling for Apple T2 based Macs.

On affected systems, Apple T2 HID-backed devices can disappear across suspend and resume and come back with freshly enumerated interfaces. Reusing the pre-suspend device state leaves parts of the stack non-functional after resume, especially keyboard backlight and Touch Bar related devices.

This series adds the required Apple T2 HID identifiers, wires up PM handling for the relevant Apple HID path, and reworks teardown and reprobe handling so stale state is discarded and devices are initialized again after resume.

Tested on: MacBookAir9,1, MacBookPro15,1, MacBookPro16,1, MacBookPro16,2, MacBookPro16,4

deqrocks (3):
  Add Apple T2 HID identifiers
  hid-apple: add pm path to 8102
  Add Touch Bar and backlight reprobe support

 hid-apple.c       | 1372 +++++++++++++++++++++++++++++++++++++++
 hid-appletb-bl.c  |   44 +-
 hid-appletb-kbd.c |  109 +++-
 hid-ids.h         | 1574 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 3073 insertions(+), 26 deletions(-)
 create mode 100644 hid-apple.c
 create mode 100644 hid-ids.h

-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-03 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 13:06 [PATCH 0/3] HID: apple: reinitialize T2 HID devices after resume deqrocks
2026-04-03 13:06 ` [PATCH 1/3] Add Apple T2 HID identifiers deqrocks
2026-04-03 13:06 ` [PATCH 2/3] hid-apple: add pm path to 8102 deqrocks
2026-04-03 13:06 ` [PATCH 3/3] Add Touch Bar and backlight reprobe support deqrocks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox