Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6549796rdb; Tue, 2 Jan 2024 05:49:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHY9pH+NiUVZUSINiqzrJF0fSD2Ve5nRSrnpgAl9Zx+DbK2w0uiLkgj5oYDvN2yE2VMpcbO X-Received: by 2002:a05:6e02:1d87:b0:35f:bd1f:dd9a with SMTP id h7-20020a056e021d8700b0035fbd1fdd9amr15377730ila.24.1704203342761; Tue, 02 Jan 2024 05:49:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704203342; cv=none; d=google.com; s=arc-20160816; b=pDYr/l83V9sKL567pyD+CEcTCyhE2ChoM2tQs2ilK46e6L4jaCAkML3k+vsBI7vvIu DDRuaOMJMykCYon2yO3kfm/DV8NGFAZiZm/SB9/05s+5Nbvb/wbYlzWwrqcwVeUh8lA9 qk262k0VMCCQqhwEPRpSrgxOhqqNKtn9TDsDjF+HSaF/o5AnHVT6Vpn4L5smzV+e+rxe zbXgc8+IOI1LsD0gviPERWgEVVXpgJNoRAETJQ0gPh+v33G/AchOl8YXzdKZ28jZkmsc 6NxHedTf5+R5966zfN77c0lSrEFAxmkVjSFXB7KqgLvN/t/MfOJAe6C1M/mHsopFHmvG WPgA== 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=oC5agSExpC7i0UPka8s10VSYwlSZVWki/wwKTq0sciI=; b=i8UOJTKiB4uzrRDiQN3qNrmf+PCpNc9T02CoI8B9rp5pMGdoRT1nFyfW0E1FerQ3mS RTNNI4WwIvESg8cVqgoEIFSzXcAwTchQ5fTmT96XTG4jqy9kB2rcHo6Djn8t1wPldnLq cX0/DUxYq/Nbhf426DRNSFs32C2MBM9l6XDAe7C/eSWhqZhT4ZR+Pxj8C+qpPcyAcI5A qRq/tD+f+UJo9QrcJ2OWxaVOkKyAjio0S8wcqcZR4xiD6XmYZokSau+17PhbAGhFFQvH Ki+GByiGwISWmuLDGkBbfNiMlB4ubYG51dPhwojZxOVtTmJ7wo93EYBBwjiX8p5hqzrC /R7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=UuRyNep9; spf=pass (google.com: domain of linux-kernel+bounces-14438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14438-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b8-20020a63d808000000b005c660acad7asi20286989pgh.4.2024.01.02.05.49.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:49:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=UuRyNep9; spf=pass (google.com: domain of linux-kernel+bounces-14438-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14438-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 A83E3B21A44 for ; Tue, 2 Jan 2024 13:49:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B77F7101DA; Tue, 2 Jan 2024 13:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="UuRyNep9" 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 201E4FBF8; Tue, 2 Jan 2024 13:48:44 +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 9C1912FC006B; Tue, 2 Jan 2024 14:48:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1704203316; 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=UuRyNep9NfZM/8zonrzLnS7YmG9/nSlaQziA5tn8RR/y2gUh0bUPnfCpxq6af97CTYS8RE sccRcKggbsuKCD4Gi++fWtpCKYBn8wJO8+ScY5FK+Y063hELEdwbmlb5jUHYg6OfwmRMk0 17X4CUJ6wAl2DxiWcIC7aLuHj0jm//Y= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com From: Werner Sembach To: Dmitry Torokhov Cc: Werner Sembach , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] i8042: Use new forenorestore quirk to replace old buggy quirk combination Date: Tue, 2 Jan 2024 14:48:32 +0100 Message-Id: <20240102134833.68646-2-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240102134833.68646-1-wse@tuxedocomputers.com> References: <20240102134833.68646-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