Skip to contentSkip to conversation

i2c: acpi: Add DELL0A86 to i2c_acpi_force_100khz_device_ids

PATCH Superseded xiaoyueyoqwq 4 participants 9 messages Aug 23 – Aug 27

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: acpi: Add DELL0A86 to i2c_acpi_force_100khz_device_ids

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

Assisted-by Codex:GPT-5.6-Sol
Assisted-by ChatGPT:GPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

---
 drivers/i2c/i2c-core-acpi.c | 1 +

 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-acpi.c +0 -0
index 8f3bdd5..3af0e05 100644
@@ -371,6 +371,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {

      * the device works without issues on Windows at what is expected to be
      * a 400KHz frequency. The root cause of the issue is not known. */
+    { "DELL0A86", 0 },
     { "DLL0945", 0 },
     { "ELAN0678", 0 },
     { "ELAN06FA", 0 },

Signature · 1 line
2.53.0
#1 lore raw

PATCH v2 1/1 i2c: acpi: Add DELL0A86 to i2c_acpi_force_100khz_device_ids

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

Assisted-by Codex:ChatGPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

---
Changes in v2:
- Resend as non-flowed plain text; Thunderbird mangled whitespace in v1.
- No code changes.

 drivers/i2c/i2c-core-acpi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-acpi.c +1 -0
index 8f3bdd5..3af0e05 100644
@@ -371,6 +371,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {
 	 * the device works without issues on Windows at what is expected to be
 	 * a 400KHz frequency. The root cause of the issue is not known.
 	 */
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },
Signature · 1 line
2.53.0
Acked-by on v2 1/1
#2 lore raw

+Andy

Quoted 10 lines · xiaoyueyoqwq

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

Quoted 7 lines

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

Assisted-by Codex:ChatGPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

You should use your full name here.

Anyway looks good to me.

Quoted 22 lines

---
Changes in v2:
- Resend as non-flowed plain text; Thunderbird mangled whitespace in v1.
- No code changes.

 drivers/i2c/i2c-core-acpi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-acpi.c +1 -0
index 8f3bdd5..3af0e05 100644
@@ -371,6 +371,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {
 	 * the device works without issues on Windows at what is expected to be
 	 * a 400KHz frequency. The root cause of the issue is not known.
 	 */
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },
Signature · 1 line
2.53.0
#3 lore raw
Quoted 1 line · Mika Westerberg

+Andy

We need to convert the ID table to use C99 initialisers and drop the unused driver_data. It may be done either before or after this change.

Quoted 6 lines · xiaoyueyoqwq
Quoted 5 lines

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

Quoted 8 lines
Quoted 8 lines

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

Is here any bug report somewhere publicly made?

Quoted 9 lines
Quoted 3 lines
Assisted-by Codex:ChatGPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

You should use your full name here.

Anyway looks good to me.

Otherwise agree with Mika's judgement.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
In reply to Mika Westerberg
Quoted 7 lines · Mika Westerberg

+Andy

Quoted 4 lines · xiaoyueyoqwq

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

Just for the confirmation (no need to include in the commit message) can you share the DSDT excerpt of the device in question?

(acpidump -o tables.dat; acpixtract tables.dat; iasl -d dsdt.dat; # open dsdt.dsl)

Quoted 8 lines
Quoted 8 lines

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

...

Quoted 4 lines

drivers/i2c/i2c-core-acpi.c static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = { · line 377

Quoted 4 lines
drivers/i2c/i2c-core-acpi.c +1 -0
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },

At some point this should be switched to C99 initialisers and dropped unused driver_data.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#5 lore raw

Hi Andy,

Sure. The relevant DSDT excerpt is below.

    Scope (_SB.PC00.I2C1)
    {
        ...

        Device (TPD0)
        {
            Name (SBFB, ResourceTemplate ()
            {
                I2cSerialBusV2 (0x002C, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PC00.I2C1", 0x00, ResourceConsumer, _Y55, Exclusive, )
            })

            CreateWordField (SBFB, \_SB.PC00.I2C1.TPD0._Y55._ADR, BADR) CreateDWordField (SBFB, \_SB.PC00.I2C1.TPD0._Y55._SPE, SPED)

            Method (_INI, 0, NotSerialized)
            {
                ...

                HID2 = TPDH
                BADR = TPDB
                If ((TPDS == Zero))
                {
                    SPED = 0x000186A0
                }

                If ((TPDS == One))
                {
                    SPED = 0x00061A80
                }

                If ((TPDS == 0x02))
                {
                    SPED = 0x000F4240
                }
            }

            Name (ITPN, "DELL0A86")
            Method (_HID, 0, NotSerialized)
            {
                Return (ITPN)
            }

            ...

            Method (_CRS, 0, NotSerialized)
            {
                ...

                If ((TPDM == Zero))
                {
                    Return (ConcatenateResTemplate (I2CM (I2CX, BADR, SPED), SBFG)) }

                Return (ConcatenateResTemplate (I2CM (I2CX, BADR, SPED), SBFI)) }
        }
    }

The speed values are 100 kHz, 400 kHz and 1 MHz respectively. On this machine Linux receives 400 kHz from ACPI, which is also confirmed by the kernel log when the quirk is applied:

    DSDT uses known not-working I2C bus speed 400000, forcing it to 100000

And for now my PC touchpad has continued to work normally since applying the quirk, and the issue has still not recurred. :)

Thanks,
YuXin

Quoted 30 lines · Andy Shevchenko
Quoted 7 lines · Mika Westerberg

+Andy

Quoted 4 lines · xiaoyueyoqwq

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

Just for the confirmation (no need to include in the commit message) can you share the DSDT excerpt of the device in question?

(acpidump -o tables.dat; acpixtract tables.dat; iasl -d dsdt.dat; # open dsdt.dsl)

Quoted 8 lines
Quoted 8 lines

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

...

Quoted 4 lines

drivers/i2c/i2c-core-acpi.c static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = { · line 377

Quoted 4 lines
drivers/i2c/i2c-core-acpi.c +1 -0
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },

At some point this should be switched to C99 initialisers and dropped unused driver_data.

author
#6 lore raw

PATCH v3 1/1 i2c: acpi: Add DELL0A86 to i2c_acpi_force_100khz_device_ids

In reply to xiaoyueyoqwq

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

Assisted-by Codex:ChatGPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

---
Changes in v3:
- Use the contributor's full name as requested by the maintainer.
- Preserve Mika Westerberg's Acked-by; no code changes.

 drivers/i2c/i2c-core-acpi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-acpi.c +1 -0
index 8f3bdd5..3af0e05 100644
@@ -371,6 +371,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {
 	 * the device works without issues on Windows at what is expected to be
 	 * a 400KHz frequency. The root cause of the issue is not known.
 	 */
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },
Signature · 1 line
2.53.0
author
#7 lore raw

PATCH v4 1/1 i2c: acpi: Add DELL0A86 to i2c_acpi_force_100khz_device_ids

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

An independent 2021 report from another Dell Inspiron 13 5310 user describes the same intermittent sticky behavior and identifies the same DELL0A86 / 04F3:3185 touchpad.

Assisted-by Codex:ChatGPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

---
Changes in v4:
- Add an independent public report for the same model, device, and symptom.
- No code changes.

 drivers/i2c/i2c-core-acpi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-acpi.c +1 -0
index 8f3bdd5..3af0e05 100644
@@ -371,6 +371,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {
 	 * the device works without issues on Windows at what is expected to be
 	 * a 400KHz frequency. The root cause of the issue is not known.
 	 */
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },
Signature · 1 line
2.53.0
maintainer
#8 lore raw

Hi YuXin,

Please, next time don't send successive versions as in reply-to.

Quoted 14 lines · YuXin Xiao

The ELAN 04F3:3185 touchpad exposed as DELL0A86 on the Dell Inspiron 13 5310 intermittently exhibits excessive smoothing when the I2C bus runs at 400 kHz. During an affected period pointer movement becomes severely sluggish and sticky for tens of seconds.

The ACPI firmware configures the touchpad bus for 400 kHz. Add DELL0A86 to i2c_acpi_force_100khz_device_ids so that the bus runs at 100 kHz, as is already done for other touchpads exhibiting the same excessive smoothing problem.

With the quirk applied, the kernel reports that the firmware requested 400 kHz and that the bus is forced to 100 kHz. The problem did not recur during extended heavy use, including an S4 hibernate/resume cycle.

Quoted 9 lines

An independent 2021 report from another Dell Inspiron 13 5310 user describes the same intermittent sticky behavior and identifies the same DELL0A86 / 04F3:3185 touchpad.

Assisted-by Codex:ChatGPT-5.6-Sol
Assisted-by OpenCode:Ox Alpha (x-preview-f-free)

Please don't leave a blank line in between tags.

Quoted 6 lines

---
Changes in v4:
- Add an independent public report for the same model, device, and symptom.
- No code changes.

Please, don't omit the rest of the changelog. I want to see v2, v3 and v4.

Anyway, I merged your patch in i2c/i2c.

Thanks,
Andi

Quoted 18 lines
 drivers/i2c/i2c-core-acpi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-acpi.c +1 -0
index 8f3bdd5..3af0e05 100644
@@ -371,6 +371,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {
 	 * the device works without issues on Windows at what is expected to be
 	 * a 400KHz frequency. The root cause of the issue is not known.
 	 */
+	{ "DELL0A86", 0 },
 	{ "DLL0945", 0 },
 	{ "ELAN0678", 0 },
 	{ "ELAN06FA", 0 },
Signature · 1 line
2.53.0