Re: [PATCH] HID: lenovo: Restrict detection of patched firmware only to USB cptkbd

From: Yauhen Kharuzhy
Date: Tue Dec 26 2023 - 04:36:35 EST


вс, 24 дек. 2023 г. в 18:51, Uli v. d. Ohe <u-v@xxxxxxxxxxx>:
>
> > So this means that the only reliable way is to add a sysfs parameter.
> > I'll send a patch.
>
> Thank you for the quick action!
>
> Perhaps it would be possible to modify the firmware further in order to
> facilitate reliable detection of this modified firmware? But for now the
> solution with a sysfs parameter (and defaulting to the workaround) seems
> good.
Unfortunately no, the firmware is closed-source and was patched in
binary form AFAIR (by replacing 1-2 instructions). Moreover, it cannot
be updated in the wireless version of the keyboard (ThinkPad Compact
Keyboard II).
>
> Best regards,
> Uli



--
Yauhen Kharuzhy