Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7883363rdb; Thu, 4 Jan 2024 10:31:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEFW6evcwrQ8DqO+wS/upBP6gQn3u/Y67l8yKp5qsRd9dq7c8DMl5Al6Q+iUWxveEK7Fo3 X-Received: by 2002:a05:6871:3745:b0:204:14ac:afff with SMTP id np5-20020a056871374500b0020414acafffmr940823oac.63.1704393106641; Thu, 04 Jan 2024 10:31:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704393106; cv=none; d=google.com; s=arc-20160816; b=BqyELCOt+QncBUXGMTeGbRNekLB92ewfuo9ZlWweseM/dqEvBeAB/cI/iaOoLt+ee/ i4xCXuPAiCm8fSTqm1VHyydTpDUO0JKOBRnO9+gQxvyKxfqI0PX2FnW5djIIN3wadc3V eQDyCmsoNz6tGpGjpa1NGYD4SSAvHqs1k7afvBzw+3cpU9rEMuAj4VCFnGUuo022+IxN yz0kBvQUdvtOS8dV2eLzm8ebsOqeWp1hOnoZpblSiiUsRCfCgMxx5jAc56MlxL7r5vWk 8LgQayCYqLkDRSl4lwyayQZtByirPQrK3bdNQu4FKmJFKSBJAhwnwZWQj345FK3VqP+D Dt9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JKQS4AwlSL17ZE3tRGxXuQK7iAc6fj3KFZMSPVfU4pw=; fh=itq0ZeunbYFiXOnaVa1O57eXkjTYZFUeglAJDx/4AlQ=; b=O2n6aCZUpSbWAmxqVbhpQFnEUuMBDGb787eBJFdQIabBlI6LxWc6PlP6EdaHxKULi1 aU2eGEiAxfI/US/CcPdIgwqIrsbsA9P1Tg6Qh6UmtjvNIOoqMUm3PTWBEs+qrTXjT8dq n2Q3++syZdQp31tl+9XJ+Ky07r0FHFHd+pefGLhT+6K/4XK6QqiaAGmltzMMtY006JsD rkHQ1kN2IRAse1ZsH4Ml02SYd2ZtMbGiawrJ9fqH9QA3dhtwe3wcIC5R3XPVQsYfWVw1 n5jGS2DTCZubq9xtJu/+xglPXrFlSiceG3wg3k5MNU0p2qS5RWSwfavcFgssYzSoHPy3 R6KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=bNKs1hZV; spf=pass (google.com: domain of linux-kernel+bounces-17096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17096-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y17-20020a05620a44d100b00781720483e1si17618156qkp.640.2024.01.04.10.31.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 10:31:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=bNKs1hZV; spf=pass (google.com: domain of linux-kernel+bounces-17096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17096-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 620051C22652 for ; Thu, 4 Jan 2024 18:31:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CD952C192; Thu, 4 Jan 2024 18:31:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="bNKs1hZV" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2335328E14; Thu, 4 Jan 2024 18:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxedocomputers.com Received: from wse.fritz.box (p5de453e7.dip0.t-ipconnect.de [93.228.83.231]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPA id 314832FC0073; Thu, 4 Jan 2024 19:31:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1704393084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JKQS4AwlSL17ZE3tRGxXuQK7iAc6fj3KFZMSPVfU4pw=; b=bNKs1hZVPzTiBCJu5/UbORgoilZwORJKl/s1w907lfb/aLq+9p0WdGgAV0imchU4Oanpqz ZaCXBiWBOQgaCqQpEIlQysRpXAJAcuo7n/CUsAYQjDwxOByO1KLvgUm5iItfCFh6Bty1vf 7YyAXFyl2zLMSxfLKk4Pb8eZ8t/39+g= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com From: Werner Sembach To: dmitry.torokhov@gmail.com Cc: hdegoede@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, wse@tuxedocomputers.com Subject: [PATCH v4 2/2] i8042: Use new forcenorestore quirk to replace old buggy quirk combination Date: Thu, 4 Jan 2024 19:31:18 +0100 Message-Id: <20240104183118.779778-3-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240104183118.779778-1-wse@tuxedocomputers.com> References: <20240104183118.779778-1-wse@tuxedocomputers.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The old quirk combination sometimes cause a laggy keyboard after boot. With the new quirk the initial issue of an unresponsive keyboard after s3 resume is also fixed, but it doesn't have the negative side effect of the sometimes laggy keyboard. Signed-off-by: Werner Sembach Cc: stable@vger.kernel.org --- drivers/input/serio/i8042-acpipnpio.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h index 10ec4534e5e14..e631a26394e92 100644 --- a/drivers/input/serio/i8042-acpipnpio.h +++ b/drivers/input/serio/i8042-acpipnpio.h @@ -1142,18 +1142,10 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) }, { - /* - * Setting SERIO_QUIRK_NOMUX or SERIO_QUIRK_RESET_ALWAYS makes - * the keyboard very laggy for ~5 seconds after boot and - * sometimes also after resume. - * However both are required for the keyboard to not fail - * completely sometimes after boot or resume. - */ .matches = { DMI_MATCH(DMI_BOARD_NAME, "N150CU"), }, - .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | - SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) + .driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE) }, { .matches = { -- 2.34.1