From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 1B4BF379EDA; Thu, 20 Aug 2026 15:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787239418; cv=none; b=ERBB4e4XPrumA7M9IlrzQjEbCrrxkh9s3fiDbDXDkJtpzwPzSBf28zxj03w0LHSEriOOkPUOaXLNQhRXry1Fk1dLx0+1d5AJgHhv9tfEmxnD5KOXmO7IEj5311NJj+ZrAKT/30BFk5x5oPxM6WOC+2XGT6f45Hz/XhZoZ8KxzHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787239418; c=relaxed/simple; bh=P5BUuDN76pb+HwFR4gb/weU6ztT6aB5xLIRDMvPO9y4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PYfI6LrPEo0vBQZ+3I92hhcE3i8tYFswZvHkGHGvxwHnc1xTV/gpebEDunHp+dMzwnJNNb3EyH/rIKixtqEY3Ng0oihRp2QAY6GWBWoj9EsiVkUV0Yt4C7w3xaA/4uQXxQ2JplXZ3gMjR123fIUKHJgAq3MEsiQiyQA01RHIVuQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WwyuK/tk; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WwyuK/tk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76FF61F000E9; Thu, 20 Aug 2026 15:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787239417; bh=a0w9YAv+EaS6n2u9MGNseIfljWA6cgnRyo2R28EAYoM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WwyuK/tkGrOO/bBvmhaBsgOaIT/FdIMJghpwAv5HqUC/HsRwd0ckpmx15Nkn97Hap 15p/JXQLJBOdWr7oUxZVacilU22Fq5ClQ/hN1SVttvN27pkPYxoOufRIXsY+/i+1mX WMxQdzzwo0JO0YhHe05uVtYxBjv09ymOYPTbdsBE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Zhefu Zhang , Andrew Zhou , Dmitry Torokhov Subject: [PATCH 6.12 042/220] Input: atkbd - skip deactivate for Xiaomi Book Pro 14s internal keyboard Date: Thu, 20 Aug 2026 16:53:52 +0200 Message-ID: <20260820145224.757714113@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260820145223.480031205@linuxfoundation.org> References: <20260820145223.480031205@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Zhefu Zhang commit 3a046db33bb9f28b43a951a7a090db771dc0f8b3 upstream. The internal keyboard of the Xiaomi Book Pro 14 does not work unless atkbd skips deactivating it at the end of atkbd_probe(). Using 'i8042.dumbkbd=1' also makes the keyboard work, but then the driver never writes to the keyboard at all, so the Caps Lock LED is lost. The atkbd_deactivate_fixup quirk fixes both without a boot parameter. DMI: XIAOMI Xiaomi Book Pro 14/TM2424, BIOS XMAPT4B0P0909 05/06/2026 Signed-off-by: Zhefu Zhang Reviewed-by: Andrew Zhou Link: https://patch.msgid.link/20260802031559.19701-1-a723356@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/keyboard/atkbd.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c @@ -1952,6 +1952,14 @@ static const struct dmi_system_id atkbd_ }, .callback = atkbd_deactivate_fixup, }, + { + /* Xiaomi Book Pro 14 (TM2424) */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "XIAOMI"), + DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14"), + }, + .callback = atkbd_deactivate_fixup, + }, { } };