Re: [PATCH] Input: i8042 - add quirk for Lenovo ThinkPad T14 Gen 1

From: Hans de Goede
Date: Tue Sep 26 2023 - 06:38:07 EST


Hi,

On 9/25/23 23:33, Jonathan Denose wrote:
> The ThinkPad T14 Gen 1 touchpad works fine except that clicking
> and dragging by tapping the touchpad or depressing the touchpad
> do not work. Disabling PNP for controller setting discovery enables
> click and drag without negatively impacting other touchpad features.
>
> Signed-off-by: Jonathan Denose <jdenose@xxxxxxxxxx>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Regards,

Hans



> ---
>
> drivers/input/serio/i8042-acpipnpio.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
> index 1724d6cb8649d..c487047d878cd 100644
> --- a/drivers/input/serio/i8042-acpipnpio.h
> +++ b/drivers/input/serio/i8042-acpipnpio.h
> @@ -830,6 +830,14 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
> },
> .driver_data = (void *)(SERIO_QUIRK_RESET_ALWAYS)
> },
> + {
> + /* Lenovo ThinkPad T14 Gen 1*/
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "20S0002UUS")
> + },
> + .driver_data = (void *)(SERIO_QUIRK_NOPNP)
> + },
> {
> /* Lenovo ThinkPad Twist S230u */
> .matches = {