HID: apple: reinitialize T2 HID devices after resume
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add Apple T2 HID identifiershid-ids.h | +1574 | 0 replies | |
| 2/3 | hid-apple: add pm path to 8102hid-apple.c | +1328 | 0 replies | |
| 3/3 | Add Touch Bar and backlight reprobe supporthid-apple.c hid-appletb-bl.c hid-appletb-kbd.c | +174 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] HID: apple: reinitialize T2 HID devices after resume
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
Signature · 1 line
2.53.0