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 7FCBA1E378F; Tue, 15 Oct 2024 13:06:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728997567; cv=none; b=KLK3xijWXYAfdfhperBZteDXNPCdo+MRqbhYNAoGphxB6deEv7IyQS5smPlXk0n6JO/hh3iqLm0ThB5u6FfJOU+STv07BfFH76dBdqemH141HbT3NGPJFub73hD3b10yFS/tVzZ/L7VlqoLXalaSLjAZ/MHBHlPcrko+2RD41dw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728997567; c=relaxed/simple; bh=t9BE6fhnHrRC5+mzsf8OTwHS3nZawoIkqN9Y8P2BNOI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X2/Y93W5aUUstkD7n+jJpYFrskqwkBXACRCo0BzocbpkND2eT5Uni/Mfy2jfOfv17y9YGZLztGu8gsY715osEjVpRcWYmsdImQnY6OEJ8eNlL+e6c4EykSADLSL2QMNVAjjP8wLXzfHUczMOjrNug326UfuA+YQXvfEbSq7iL9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oz3xWsLa; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oz3xWsLa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76837C4CED5; Tue, 15 Oct 2024 13:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728997567; bh=t9BE6fhnHrRC5+mzsf8OTwHS3nZawoIkqN9Y8P2BNOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oz3xWsLaXQi0ZcvuANQPuhIatlzKpZr+CWXzg7wem6zy52NJQ1vy4U5yZVGdTYSQ8 nn9KNbRvYSPUutTXRXLC04kFygrMnVxEDkGlBln95oq+ZUPJHmWGX1qarGUbq+yu7l cUQacLgj2KKcSLThQK4RcXfFcjJS0A8K6yBopqKY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Werner Sembach , Dmitry Torokhov Subject: [PATCH 5.10 220/518] Input: i8042 - add TUXEDO Stellaris 16 Gen5 AMD to i8042 quirk table Date: Tue, 15 Oct 2024 14:42:04 +0200 Message-ID: <20241015123925.489382755@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241015123916.821186887@linuxfoundation.org> References: <20241015123916.821186887@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Werner Sembach commit e06edf96dea065dd1d9df695bf8b92784992333e upstream. Some TongFang barebones have touchpad and/or keyboard issues after suspend, fixable with nomux + reset + noloop + nopnp. Luckily, none of them have an external PS/2 port so this can safely be set for all of them. I'm not entirely sure if every device listed really needs all four quirks, but after testing and production use, no negative effects could be observed when setting all four. Signed-off-by: Werner Sembach Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240905164851.771578-1-wse@tuxedocomputers.com Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/serio/i8042-acpipnpio.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) --- a/drivers/input/serio/i8042-acpipnpio.h +++ b/drivers/input/serio/i8042-acpipnpio.h @@ -1119,6 +1119,29 @@ static const struct dmi_system_id i8042_ .driver_data = (void *)(SERIO_QUIRK_NOLOOP) }, /* + * Some TongFang barebones have touchpad and/or keyboard issues after + * suspend fixable with nomux + reset + noloop + nopnp. Luckily, none of + * them have an external PS/2 port so this can safely be set for all of + * them. + * TongFang barebones come with board_vendor and/or system_vendor set to + * a different value for each individual reseller. The only somewhat + * universal way to identify them is by board_name. + */ + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GM6XGxX"), + }, + .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | + SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) + }, + { + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxXGxX"), + }, + .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | + SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) + }, + /* * A lot of modern Clevo barebones have touchpad and/or keyboard issues * after suspend fixable with nomux + reset + noloop + nopnp. Luckily, * none of them have an external PS/2 port so this can safely be set for