Skip to content

Commit b5e50f5

Browse files
inko32gregkh
authored andcommitted
Input: atkbd - skip deactivate for HONOR ZQC-P
[ Upstream commit 410c44b ] The internal keyboard on the HONOR ZQC-P (HONOR MagicBook Pro 14 2026) does not work after boot. Using the kernel command line 'i8042.dumbkbd=1' makes the keyboard functional, but the CapsLock LED does not work. Adding the 'atkbd_deactivate_fixup' quirk fixes the keyboard and CapsLock LED natively without requiring boot parameters. DMI: HONOR ZQC-P/ZQC-P-PCB, BIOS 1.09 03/19/2026 Fixes: 9cf6e24 ("Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID") Signed-off-by: Donglin Lyu <donglin_lyu@outlook.com> Tested-by: Ruslan Shevchenko <adefka@gmail.com> Link: https://patch.msgid.link/20260801151115.52709-1-donglin_lyu@outlook.com Cc: stable@vger.kernel.org [dtor: keep all HONOR entries together] Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7a3fd99 commit b5e50f5

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

‎drivers/input/keyboard/atkbd.c‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,22 +1942,30 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
19421942
{
19431943
.matches = {
19441944
DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
1945-
DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
1945+
DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
19461946
},
19471947
.callback = atkbd_deactivate_fixup,
19481948
},
19491949
{
1950-
/* Lenovo Yoga Air 14 (83QK) */
19511950
.matches = {
1952-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1953-
DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
1951+
DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
1952+
DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
19541953
},
19551954
.callback = atkbd_deactivate_fixup,
19561955
},
19571956
{
1957+
/* HONOR MagicBook Pro 14 2026 */
19581958
.matches = {
19591959
DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
1960-
DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
1960+
DMI_MATCH(DMI_PRODUCT_NAME, "ZQC-P"),
1961+
},
1962+
.callback = atkbd_deactivate_fixup,
1963+
},
1964+
{
1965+
/* Lenovo Yoga Air 14 (83QK) */
1966+
.matches = {
1967+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1968+
DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
19611969
},
19621970
.callback = atkbd_deactivate_fixup,
19631971
},

0 commit comments

Comments
 (0)