All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Monaco <andrea.monaco@autistici.org>
To: linux-input@vger.kernel.org
Subject: i2c_hid: Possible workaround to Synaptics touchpad going wild on Acer Aspire
Date: Mon, 22 Nov 2021 01:38:03 +0100	[thread overview]
Message-ID: <87ee79f2j8.fsf@autistici.org> (raw)


Hello,


as I wrote in previous emails to this list, my Synaptics touchpad
(SYN1B7F) on Acer Aspire laptop sometimes starts acting wild, it moves
and clicks and drags on its own.  I can't find any trigger for this
behavior, it just happens.

I see long sequences of HID reports that are identical expect for the
timestamp when this happens; my hypothesis is that the issue is on the
hardware, possibly a buggy firmware of the touchpad.

Unloading and reloading i2c_hid solves the issue, probably because it
triggers a hardware reset of the device.


So I came up with a possible workaround: any time the kernel detects two
consecutive HID reports that are identical except for the timestamp, it
hard resets the device.  The user would experience a very brief
discontinuity in mouse response, still much better than current
behavior.

This particular hack could be activated with an option to the relevant
module(s), or when the affected touchpad models are found.


Any comments or suggestions?



Warmly,

Andrea Monaco

                 reply	other threads:[~2021-11-22  0:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee79f2j8.fsf@autistici.org \
    --to=andrea.monaco@autistici.org \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.