Re: [PATCH] HID: i2c-hid: acpi: Add Dell Latitude 7400 2-in-1 touchscreen power quirk

From: tsukasa

Date: Tue Dec 01 2026 - 19:29:24 EST


Hi,

the HONOR MagicBook Pro 14 2025 (FMB-P) has the same problem, only
worse: its FocalTech FTSC1000 touchscreen is never powered at all, not
just after S3. The panel's ACPI node has no _PR0, _PS0 or _PS3, and the
power enable (GPP_A_12) and active-low reset (GPP_E_2) are not
described. This is still the case with the latest BIOS (1.18).


I spend 3h check that everything work after 14 reboot with minimal change.


Your mechanism fixes it with nothing but a table entry, patch below. Your
10/200 ms delays work for this panel as well, so the change is data only.
Test details are below the --- line.

Two notes for a v2:

- v1 no longer applies to mainline: ebe5e0101995 ("HID: i2c-hid-acpi:
restore touchscreen IRQ routing on HP OmniBook Flip laptops") now also
sets ops.power_up, for ELAN2514 on three HP boards. The two quirks
cover different devices; in my local rebase your setup call simply goes
after that block.
- If v2 changes the table layout, I'll rebase the entry. Folding it into
your v2 is fine with me too, whatever is easier for the maintainers.

Thanks,
theo bousquet

-- >8 --
Subject: [PATCH] HID: i2c-hid: acpi: Add HONOR MagicBook Pro 14 touchscreen power quirk

On the HONOR MagicBook Pro 14 2025 (FMB-P), the FocalTech FTSC1000
touchscreen is never powered and does not work. Its ACPI node has no
_PR0, _PS0 or _PS3, and the power enable (GPP_A_12) and active-low reset
(GPP_E_2) are not described. Add it to the GPIO power quirk table.

Signed-off-by: tsukasagenesis theozoeht@xxxxxxxxx
---

Applies on top of "HID: i2c-hid: acpi: Add Dell Latitude 7400 2-in-1
touchscreen power quirk" (v1), rebased onto current mainline:
https://lore.kernel.org/all/010201a1c63771e5-dbbba1f2-8a9f-4dbc-8901-c60927cf5a56-000000@xxxxxxxxxxxxxxxxxxxxxxx/

Tested on an HONOR FMB-P (global, Core Ultra 9 285H), BIOS 1.18
(11/02/2026), with i2c-hid-acpi.ko rebuilt for 6.18.65 and 7.3.6:

- stock ACPI tables: the touchscreen probes after a cold boot and keeps
working across s2idle suspend/resume, no I2C errors
- with the DSDT override most users of this laptop run today (it adds a
power resource and _PR0/_PS0 to the panel): no conflict, also across
s2idle
- without the quirk on stock tables no touchscreen input device appears

The Dell delays (10 ms / 200 ms) work here; the firmware's own PTPL
sequence for the sibling panel slots uses 2 ms / 100 ms, so they are on
the safe side. I kept the change to the table only.

checkpatch --strict is clean; builds with W=1 using gcc and clang.

AI notice: I worked this out with an AI coding assistant over a ~2 hour
session: firmware table analysis, comparing alternatives and the existing
quirks in this driver (yours and the HP OmniBook one), and preparing the
smallest change. I ran every test on the laptop myself and reviewed the
patch.

drivers/hid/i2c-hid/i2c-hid-acpi.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

diff --git a/drivers/hid/i2c-hid/i2c-hid-acpi.c b/drivers/hid/i2c-hid/i2c-hid-acpi.c
index 91c3aa6..0822e58 100644
--- a/drivers/hid/i2c-hid/i2c-hid-acpi.c
+++ b/drivers/hid/i2c-hid/i2c-hid-acpi.c
@@ -71,6 +71,20 @@ static struct gpiod_lookup_table dell_latitude_7400_2in1_touch_gpios = {
},
};
+/*
+ * HONOR MagicBook Pro 14 2025 (FMB-P): the FocalTech FTSC1000 touchscreen has
+ * no _PR0/_PS0, so it is never powered. Power enable is GPP_A_12, active-low
+ * reset GPP_E_2.
+ */
+static struct gpiod_lookup_table honor_fmb_p_touch_gpios = {
+ .dev_id = "i2c-FTSC1000:00",
+ .table = {
+ GPIO_LOOKUP("INTC105E:00", 108, "power", GPIO_ACTIVE_HIGH),
+ GPIO_LOOKUP("INTC105E:00", 130, "reset", GPIO_ACTIVE_LOW),
+ { }
+ },
+};
+
static const struct dmi_system_id i2c_hid_acpi_gpio_quirks[] = {
{
.matches = {
@@ -79,6 +93,13 @@ static const struct dmi_system_id i2c_hid_acpi_gpio_quirks[] = {
},
.driver_data = &dell_latitude_7400_2in1_touch_gpios,
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
+ },
+ .driver_data = &honor_fmb_p_touch_gpios,
+ },
{ }
};