Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7878815rdb; Thu, 4 Jan 2024 10:22:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVSnU5BqAwBoehdQqXw8Hn1uwwZACzDn6IGtrAn2iTQ/rl3R/v+Wh2fwauK4sejLCjKN4/ X-Received: by 2002:a05:6a00:8c8:b0:6d9:a7bb:a05a with SMTP id s8-20020a056a0008c800b006d9a7bba05amr1006140pfu.23.1704392569937; Thu, 04 Jan 2024 10:22:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704392569; cv=none; d=google.com; s=arc-20160816; b=0IgjTZzB9up9+jrzWerBewfiHkIh4Y5I0XnqsvAZqPQ2OPtxAI9qUSiWZo6avXoqbg n9GAXLRtFuOpK3ZZDVTSC3usMp3DfYEI5Pb5GmNbIAPTYTugboIuDBg/wPVxzW5evVwh q0G6CoU/HkDZjJnuXChLbCywTax9x0MmL1YYNljVuyODZWD140KBAeP9UH5z4EFECuOY azBFhGbn7pHUYUalVXLYjS6EXrdR/cmAryrfHCLE7bXuivLj3tq1K6IbXy0jBhuPuRzR dI7xQ6xQr0iH6/P+z+XrK1aR8fDWA6LhmS9G5In44GMxybnS3nPWi32GRC1Idv+EgxYe MOnw== 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=/N2dkhBv5tAyOMnR1OFosxu5tMmjr14AWSUkFlfELM0=; b=u0KAi3zvdEwKrhj5sYZI0uWt+z3dVt7JuA1JmInuZrrz0wJwN5AUkwPRZXXxwr9ToY PbHRfv2sS+5T5JgLi4dQj8mQWLMI3uorsly0f5oYPpsztDDU+RU6zyjTzeo79kp00BfC b14972RmmIjaTqLjEjOoKfpsvr3n8OQg1eZwWWYIVXS6WvxtfU6GCWuD94aJ5OJaJpLc kfa6YV2fFdIKfGdxC9Mm+wNvO0bEJfIOgMAIiLYH7MdtwzqFgoN3dVwfJaC3wn8evH7w CGlrMb9EA6zreHBkP++jwjDzpC+U2htWrqHO29yw9nZzJaN6Tz7tCrIz11Dmngp7xQUi TKNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=OkdMnE5y; spf=pass (google.com: domain of linux-kernel+bounces-17086-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17086-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e5-20020a636905000000b005ce087e004dsi19330213pgc.799.2024.01.04.10.22.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 10:22:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17086-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=OkdMnE5y; spf=pass (google.com: domain of linux-kernel+bounces-17086-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17086-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0FD36B2438E for ; Thu, 4 Jan 2024 18:22:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6B7028E2A; Thu, 4 Jan 2024 18:22:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="OkdMnE5y" 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 9964028DB0; Thu, 4 Jan 2024 18:22:24 +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 01BF82FC0073; Thu, 4 Jan 2024 19:22:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1704392537; 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=OkdMnE5yYzSnkjr8qaei7lbEsVaM28faOqbY8ipEZAroqBo3Fkn/b222HVO7Tke+bt8h6v V58kJzs2ay4dteIG5I/JuwwnqCL0C5xO6JX8ji2vy38+KRCvvGX7RrFafesc/xzM1oTzm9 OG6TCYy/ZMtR+zxoS3tfx/Fx7laPRlM= 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, Werner Sembach Subject: [PATCH v3 2/2] i8042: Use new forcenorestore quirk to replace old buggy quirk combination Date: Thu, 4 Jan 2024 19:22:08 +0100 Message-Id: <20240104182208.779486-3-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240104182208.779486-1-wse@tuxedocomputers.com> References: <20240104182208.779486-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