From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D739943148; Tue, 26 Dec 2023 00:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iOguaI0i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AC64C433C8; Tue, 26 Dec 2023 00:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703550270; bh=gSJQyrVbBc6K3ZRMOaU2+TNngIDFr48OVucpQl8TlEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iOguaI0iEh9i1cxQNWlIw1qkDDwCxmRHn7x4GufVymFUtZ7X9NjEWljVJU3UKO7LV knqxnAOx4s0pM4hJ+truuLWd9sKGNARmhy/tauZI3VGVwK+VhaVncJNDXHUTBqCGEh l+JcUuRK14eBYnuGaEXtn1TGL4QlIdLxfJnmQo2DB7j40iOyFI5dIW4rnT5902SLlo +j/ox4moHqzl5PAOa8JdM/e7cgSG2nBdXjhxEmnZVRMFV2Xq8LUjMryZ8N5N0J4ZN0 MQej8QxcBb8FLD1LqXfrclF70gpctcAWN6DF8mAUY3XtJO2bltKnsIM9qhNnKUxtBW pTfFNv6iJKOXw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Esther Shimanovich , Dmitry Torokhov , Sasha Levin , wse@tuxedocomputers.com, hdegoede@redhat.com, jdenose@chromium.org, mkorpershoek@baylibre.com, szfabian@bluemarch.art, linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 03/11] Input: i8042 - add nomux quirk for Acer P459-G2-M Date: Mon, 25 Dec 2023 19:23:52 -0500 Message-ID: <20231226002420.6303-3-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231226002420.6303-1-sashal@kernel.org> References: <20231226002420.6303-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.15.145 Content-Transfer-Encoding: 8bit From: Esther Shimanovich [ Upstream commit 335fe00319e030d481a54d5e0e68d50c5e672c0e ] After the laptop lid is opened, and the device resumes from S3 deep sleep, if the user presses a keyboard key while the screen is still black, the mouse and keyboard become unusable. Enabling this quirk prevents this behavior from occurring. Signed-off-by: Esther Shimanovich Link: https://lore.kernel.org/r/20231130195615.v2.1.Ibe78a9df97ecd18dc227a5cff67d3029631d9c11@changeid Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- 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 3db87ee0b70c7..6af38f53154bd 100644 --- a/drivers/input/serio/i8042-acpipnpio.h +++ b/drivers/input/serio/i8042-acpipnpio.h @@ -351,6 +351,14 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { }, .driver_data = (void *)(SERIO_QUIRK_DRITEK) }, + { + /* Acer TravelMate P459-G2-M */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate P459-G2-M"), + }, + .driver_data = (void *)(SERIO_QUIRK_NOMUX) + }, { /* Amoi M636/A737 */ .matches = { -- 2.43.0