Skip to content

Commit eb6b775

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 d7d4a8a commit eb6b775

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
@@ -1927,22 +1927,30 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
19271927
{
19281928
.matches = {
19291929
DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
1930-
DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
1930+
DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
19311931
},
19321932
.callback = atkbd_deactivate_fixup,
19331933
},
19341934
{
1935-
/* Lenovo Yoga Air 14 (83QK) */
19361935
.matches = {
1937-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1938-
DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
1936+
DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
1937+
DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
19391938
},
19401939
.callback = atkbd_deactivate_fixup,
19411940
},
19421941
{
1942+
/* HONOR MagicBook Pro 14 2026 */
19431943
.matches = {
19441944
DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
1945-
DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
1945+
DMI_MATCH(DMI_PRODUCT_NAME, "ZQC-P"),
1946+
},
1947+
.callback = atkbd_deactivate_fixup,
1948+
},
1949+
{
1950+
/* Lenovo Yoga Air 14 (83QK) */
1951+
.matches = {
1952+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1953+
DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
19461954
},
19471955
.callback = atkbd_deactivate_fixup,
19481956
},

0 commit comments

Comments
 (0)