Re: [gentoo-user] Trackpad nightmare: Elantech ETPS/2

2020-05-05 Thread Victor Ivanov


On 05/05/2020 18:44, Michael wrote:
> 
> I'm on an old Lenovo which must have different hardware/firmware.  It does 
> not 
> suffer from such trackpad problems.  Just an idea: have you migrated your 
> system to libinput driver and removed all old synaptics syntax in /etc/X11/
> xorg.conf.d/ to avoid potential clashes?
> 
Yes, as I mentioned in my original email I use libinput and have done so
ever since it became a reasonable replacement. Certainly so for at least
the last three to four years.

I don't believe it's a library issue as the error messages in dmesg -
which are far more disturbing than those in Xorg.log - come directly
from the psmouse module.

It would appear ELAN trackpad drivers are generally in a very sorry
state across the board. In my very rare and limited use of Windows I
remember having a similarly abominable experience, albeit due to other
symptoms. With Synaptics trackpads, although not perfect, I have yet to
experience anything as hellish as this.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Trackpad nightmare: Elantech ETPS/2

2020-05-05 Thread Victor Ivanov

On 05/05/2020 15:28, inasprecali wrote:
> 
> I experience very similar symptoms on my ThinkPad 13. It doesn't
> happen often, but it does sometimes happen.
> 
It's good to hear that there are others sharing the pain - at least to a
degree - today, as most topics I've come across stop around 2018, which
made me believe the issue had been resolved in the kernel.

> 
> Unfortunately I'm not aware of any real solution, but as a
> workaround, you can unmount and re-mount the psmouse module when
> the problem occurs (if psmouse is not built compiled as a module,
> I suggest you do it).  At least this is what works for me, YMMV:
> 
> # modprobe -r psmouse
> # modprobe psmouse
> 
This is basically what I've been doing. However, it's not as easy when
it causes the keyboard to freeze as well, where the only solution is
usually a hard reset without access to an external keyboard. It's also
incredibly time consuming to do a few times an hour, even without having
to reboot.

I might bump up the bug report on kernel.org and see if gets any attention.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Trackpad nightmare: Elantech ETPS/2

2020-05-05 Thread Michael
On Tuesday, 5 May 2020 15:28:15 BST inasprecali wrote:
> On Tue, 5 May 2020 14:58:32 +0100
> 
> Victor Ivanov  wrote:
> > My laptop's trackpad is an ETPS/2 Elantech on a ThinkPad Yoga
> > 260 (ca. 2016). Every so often it freezes and refuses to respond
> > to any and all input. The freeze usually lasts for a second or
> > so, but can sometimes be longer in the range of 10-15 seconds or
> > even freeze indefinitely until the "psmouse" kernel module is
> > reloaded. It also experiences "jumping" behaviour, most commonly
> > encountered when press-holding one of the companion buttons
> > along with a dragging gesture, but that's not an exclusive
> > scenario.
> 
> I experience very similar symptoms on my ThinkPad 13. It doesn't
> happen often, but it does sometimes happen.
> 
> > A quick Google search can reveal complaints about this issues
> > across distributions (Ubuntu, Fedora, Debian) that can be traced
> > back to at least 2012 in various laptop models. There also
> > appears to be a related upstream kernel bug [1] that has been
> > left in limbo.
> 
> I noticed this as well, it's almost certainly a bug in Linux
> itself which, for some reason, has never been fixed after all
> these years.  I don't think Gentoo can do much about it.
> 
> Unfortunately I'm not aware of any real solution, but as a
> workaround, you can unmount and re-mount the psmouse module when
> the problem occurs (if psmouse is not built compiled as a module,
> I suggest you do it).  At least this is what works for me, YMMV:
> 
> # modprobe -r psmouse
> # modprobe psmouse

I'm on an old Lenovo which must have different hardware/firmware.  It does not 
suffer from such trackpad problems.  Just an idea: have you migrated your 
system to libinput driver and removed all old synaptics syntax in /etc/X11/
xorg.conf.d/ to avoid potential clashes?

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Trackpad nightmare: Elantech ETPS/2

2020-05-05 Thread inasprecali
On Tue, 5 May 2020 14:58:32 +0100
Victor Ivanov  wrote:
> My laptop's trackpad is an ETPS/2 Elantech on a ThinkPad Yoga
> 260 (ca. 2016). Every so often it freezes and refuses to respond
> to any and all input. The freeze usually lasts for a second or
> so, but can sometimes be longer in the range of 10-15 seconds or
> even freeze indefinitely until the "psmouse" kernel module is
> reloaded. It also experiences "jumping" behaviour, most commonly
> encountered when press-holding one of the companion buttons
> along with a dragging gesture, but that's not an exclusive
> scenario.

I experience very similar symptoms on my ThinkPad 13. It doesn't
happen often, but it does sometimes happen.

> A quick Google search can reveal complaints about this issues
> across distributions (Ubuntu, Fedora, Debian) that can be traced
> back to at least 2012 in various laptop models. There also
> appears to be a related upstream kernel bug [1] that has been
> left in limbo.

I noticed this as well, it's almost certainly a bug in Linux
itself which, for some reason, has never been fixed after all
these years.  I don't think Gentoo can do much about it.

Unfortunately I'm not aware of any real solution, but as a
workaround, you can unmount and re-mount the psmouse module when
the problem occurs (if psmouse is not built compiled as a module,
I suggest you do it).  At least this is what works for me, YMMV:

# modprobe -r psmouse
# modprobe psmouse