Description
I was using the apple-ib-drv driver for the touch bar on my MacBookPro14,3 (pre-T2) successfully up to kernel 6.1. Recently my distro switched to Linux 6.6. This introduced two problems:
One was a trivial to fix build error acpi_driver.ops.remove changed the return type from int to void.
The other issue is that most of the time the touch bar stays blank. It is detected by the driver but does not show anything or respond to input. I ran a git bisect over the kernel code and found this kernel patch as the patch that broke the touch bar:
e04955db6a7c3fc4a1e6978649b61a6f5f8028e3 is the first bad commit
commit e04955db6a7c3fc4a1e6978649b61a6f5f8028e3
Author: Ronald Tschalär <[email protected]>
Date: Wed Jan 11 10:07:36 2023 +0000
HID: Recognize sensors with application collections
Reverting this patch on Linux 6.6 fixes the problem.
Sadly I am not familiar with the inner workings of the USB code, so I can't debug this further. I am filing this bug in the hope that someone who understands what this patch does notices it.
Some more details can be found at Dunedan/mbp-2016-linux#189 .