[PATCH] Input: i8042 - add Xiaomi Book Pro 14 to dumbkbd quirk list
From: Andrew Zhou
Date: Sat Jul 18 2026 - 08:25:15 EST
The Xiaomi Book Pro 14's built-in keyboard doesn't work by default.
Add the device to the quirk table with SERIO_QUIRK_DUMBKBD so the keyboard
works out of the box without needing i8042.dumbkbd on the kernel command line.
Tested on a Xiaomi Book Pro 14.
Signed-off-by: Andrew Zhou <zhoulol888@xxxxxxxxx>
---
drivers/input/serio/i8042-acpipnpio.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index 412f82d7a..6b18014e2 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -1430,6 +1430,18 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
},
.driver_data = (void *)(SERIO_QUIRK_DIRECT)
},
+ /*
+ * Some laptops have a broken keyboard controller that reports
+ * incorrect data. SERIO_QUIRK_DUMBKBD bypasses the intelligent
+ * probing and forces a basic PS/2 keyboard assumption.
+ */
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "XIAOMI"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14"),
+ },
+ .driver_data = (void *)(SERIO_QUIRK_DUMBKBD)
+ },
{ }
};
--
2.54.0