From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DBF3C61DA3 for ; Tue, 21 Feb 2023 08:42:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233697AbjBUImP (ORCPT ); Tue, 21 Feb 2023 03:42:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233507AbjBUIlo (ORCPT ); Tue, 21 Feb 2023 03:41:44 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA46383DF for ; Tue, 21 Feb 2023 00:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676968854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xXB0QqcA/xnbVHMNJUF4fAMOxD/knIqAfT0ePxSyKdM=; b=bAVPM7XVDOhXp3CITtgVcxF9pDDrq6G0Vb/C0HHaEQlDW8R5y5NCo3+wom+FYpg9gmf/+r 6ICzDCoY85rMykB7jtuifV/HHQbAU36sgG+xIiESEETcQkbguSkK0MdbBr7L9gRhad/s7v K41vaZ7F4Ji8LqXwfcunf8P2lbLoOeg= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-367-0U9alVFRPPWeaivpEQv1sA-1; Tue, 21 Feb 2023 03:40:52 -0500 X-MC-Unique: 0U9alVFRPPWeaivpEQv1sA-1 Received: by mail-ed1-f71.google.com with SMTP id r6-20020aa7c146000000b004acd97105ffso5189477edp.19 for ; Tue, 21 Feb 2023 00:40:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xXB0QqcA/xnbVHMNJUF4fAMOxD/knIqAfT0ePxSyKdM=; b=K1bBRGvl1OG47JU6jkS8a06yFI+YbT0Q+uczXuoEE9ESxBQErVc9b2ImEhPBXFbpGx gWZGlN9Byoses3Rn3HSulmBUBd9cbMmU5zHzJ04fVJv4ztSJxIV1xJlTrriQ611wotkW q2PekwkaLaxjroSthT/tlm+pkBMbN0lz/4VgAu42DFxLP+Vd1aIsd5DjJvLMlNKPb5nL rEuVYSrB+sEMMH/uYq4UlD2gZW/9XeZocrFIsw9ob0rTdEeV9wIM0zmphJIEd9NvMuz9 HQHqwDQmTe7NFejN9OGQNfsSguw0g1EZHbi1ULTtqWRxrpNPORFnvPSJV/yEm6C6I2gO CtdQ== X-Gm-Message-State: AO0yUKVmvEw/i2EhueevU5hOy9lD31MMoFvoY46IUTVPdeXJaZrB9tad vAqr8NdSG0BBcCNM9SH8N5tHk/aPnXputiFF2Ct2MOgChFPriEjugOe7nPfLfDivMyAIqBB4WQW zM6oDjU1Wnc6fk0gCbj0BxDQ= X-Received: by 2002:a05:6402:115a:b0:4ad:5220:79f0 with SMTP id g26-20020a056402115a00b004ad522079f0mr3434346edw.5.1676968851180; Tue, 21 Feb 2023 00:40:51 -0800 (PST) X-Google-Smtp-Source: AK7set97fa+DxWfBZ3M2//mYdiUimfAg1GVrgdeq4FW2cI/iJAnXF+aAlhWP8k8/whF+2pquPCIPSA== X-Received: by 2002:a05:6402:115a:b0:4ad:5220:79f0 with SMTP id g26-20020a056402115a00b004ad522079f0mr3434323edw.5.1676968850900; Tue, 21 Feb 2023 00:40:50 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id c14-20020a50d64e000000b004a249a97d84sm2008282edj.23.2023.02.21.00.40.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Feb 2023 00:40:50 -0800 (PST) Message-ID: <0e2b5e9d-d68f-59dd-6e9c-b5cdabc086c2@redhat.com> Date: Tue, 21 Feb 2023 09:40:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH] Fix strange behavior of touchpad on Clevo NS70PU To: Werner Sembach , dmitry.torokhov@gmail.com, mkorpershoek@baylibre.com, chenhuacai@kernel.org, tiwai@suse.de, wsa+renesas@sang-engineering.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230220183014.238432-1-wse@tuxedocomputers.com> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: <20230220183014.238432-1-wse@tuxedocomputers.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi, On 2/20/23 19:30, Werner Sembach wrote: > When closing the laptop lid with an external screen connected, the mouse > pointer has a constant movement to the lower right corner. Opening the > lid again stops this movement, but after that the touchpad does no longer > register clicks. > > The touchpad is connected both via i2c-hid and PS/2, the predecessor of > this device (NS70MU) has the same layout in this regard and also strange > behaviour caused by the psmouse and the i2c-hid driver fighting over > touchpad control. This fix is reusing the same workaround by just > disabling the PS/2 aux port, that is only used by the touchpad, to give the > i2c-hid driver the lone control over the touchpad. > > Signed-off-by: Werner Sembach > Cc: stable@vger.kernel.org Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/input/serio/i8042-acpipnpio.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h > index efc61736099b9..3a6640a11dd99 100644 > --- a/drivers/input/serio/i8042-acpipnpio.h > +++ b/drivers/input/serio/i8042-acpipnpio.h > @@ -1156,6 +1156,12 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { > SERIO_QUIRK_RESET_ALWAYS | SERIO_QUIRK_NOLOOP | > SERIO_QUIRK_NOPNP) > }, > + { > + .matches = { > + DMI_MATCH(DMI_BOARD_NAME, "NS5x_7xPU"), > + }, > + .driver_data = (void *)(SERIO_QUIRK_NOAUX) > + }, > { > .matches = { > DMI_MATCH(DMI_BOARD_NAME, "NJ50_70CU"),