[PATCH v2 2/2] HID: amd_sfh: Add DMI quirk for Dell Inspiron 7405 2-in-1
From: Gururaj Naik
Date: Thu Nov 26 2026 - 23:47:36 EST
On the Dell Inspiron 7405 2-in-1 (Ryzen 7 4700U, BIOS 1.20.0), the MP2
firmware does not respond to sensor enable commands when intr_disable
is true, causing sensor discovery to fail with:
pcie_mp2_amd 0000:03:00.7: Failed to discover, sensors not enabled is 0
This matches the behavior seen on the HP ProBook x360 435 G7 and ASUS
VivoBook Flip 14 models in dmi_sfh_table[]. Add a DMI entry for the Dell
Inspiron 7405 2n1 calling mp2_disable_intr so interrupts remain enabled
for MP2 commands, enabling the accelerometer, gyroscope, magnetometer,
and operating-mode sensors.
Fixes: b300667b33b2 ("HID: amd_sfh: Disable the interrupt for all command")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Gururaj Naik <gururajnaik166@xxxxxxxxx>
---
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.c b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
index fafba3ec9ced..aeeabc3be2b6 100644
--- a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
+++ b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
@@ -335,6 +335,13 @@ static const struct dmi_system_id dmi_sfh_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "VivoBook_ASUSLaptop TP420IA"),
},
},
+ {
+ .callback = mp2_disable_intr,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7405 2n1"),
+ },
+ },
{}
};
--
2.56.0