Unfortunately, I guess it's a (new, different from the OP's) kernel bug. If you can, report it to linux-input@vger.kernel.org: Add "psmouse.synaptics_intertouch=0" to the boot parameter, and take the diff of two dmesg. [1] Don't forget to report your previous and new kernel versions!
Anyway that diff possibly helps you to detect an already existing bug report, if any.
You can change it on-the-fly:
$ modprobe -r psmouse ; modprobe psmouse synaptics_intertouch 1
If it can be used as a workaround, I'll be glad.
[1] Use "dmesg -notime" and "diff -u". It must be easy to spot the touchpad related logs.
>Note that if i reboot...
Seems like you don't know you can set module parameters as a boot parameter. See the Wiki page Kernel parameters ;)
Another possible workaround is to use another X input driver "evdev". It's older, and almost replaced by "libinput" by now, but you can still use it.
Create /etc/X11/xorg.conf.d/80-evdev.conf, which looks something like:
Section "InputClass"
Identifier "Quardah's evdev workaround"
Driver "evdev"
MatchProduct "<product name>"
EndSection
You can replace MatchProduct with "MatchDevicePath" or others. See man xorg.conf.
Guessing from a brief web search, the line
(EE) libinput: Synaptics TM3157-006: Failed to create a device for /dev/input/mouse0
seems to be the result of some error that the driver "libinput" encountered, not the cause.
I hope this helps. Feel free to ask more questions.
# BTW I'm a Gentoo user. :P
]]>I tried downgrading xf86-input-libinput but it didn't change anything.
I tried
[jape@T540p ~]$ sudo rmmod psmouse
[jape@T540p ~]$ sudo modprobe psmouse proto=exps
And it works but i cannot two-finger scroll anymore too. Note that if i reboot, i have to rmmod and modprobe psmouse again with the proto argument to make it work.
This is very unfortunate.
I also have the following in /var/log/Xorg.0.lo :
[ 2362.812] (II) config/udev: Adding input device Synaptics TM3157-006 (/dev/input/event14)
[ 2362.813] (**) Synaptics TM3157-006: Applying InputClass "evdev touchpad catchall"
[ 2362.813] (**) Synaptics TM3157-006: Applying InputClass "libinput touchpad catchall"
[ 2362.813] (**) Synaptics TM3157-006: Applying InputClass "touchpad"
[ 2362.813] (II) Using input driver 'libinput' for 'Synaptics TM3157-006'
[ 2362.813] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 36 paused 0
[ 2362.813] (**) Synaptics TM3157-006: always reports core events
[ 2362.813] (**) Option "Device" "/dev/input/event14"
[ 2362.813] (**) Option "_source" "server/udev"
[ 2362.813] (II) event14 - Synaptics TM3157-006: is tagged by udev as: Touchpad
[ 2362.813] (II) event14 - Synaptics TM3157-006: device is a touchpad
[ 2362.813] (II) event14 - Synaptics TM3157-006: device removed
[ 2362.813] (**) Option "Tapping" "on"
[ 2362.813] (**) Option "config_info" "udev:/sys/devices/rmi4-00/input/input16/event14"
[ 2362.813] (II) XINPUT: Adding extended input device "Synaptics TM3157-006" (type: TOUCHPAD, id 13)
[ 2362.814] (**) Option "AccelerationScheme" "none"
[ 2362.814] (**) Synaptics TM3157-006: (accel) selected scheme none/0
[ 2362.814] (**) Synaptics TM3157-006: (accel) acceleration factor: 2.000
[ 2362.814] (**) Synaptics TM3157-006: (accel) acceleration threshold: 4
[ 2362.814] (II) event14 - Synaptics TM3157-006: is tagged by udev as: Touchpad
[ 2362.814] (II) event14 - Synaptics TM3157-006: device is a touchpad
[ 2362.814] (II) config/udev: Adding input device Synaptics TM3157-006 (/dev/input/mouse0)
[ 2362.814] (**) Synaptics TM3157-006: Applying InputClass "touchpad"
[ 2362.814] (II) Using input driver 'libinput' for 'Synaptics TM3157-006'
[ 2362.814] (**) Synaptics TM3157-006: always reports core events
[ 2362.814] (**) Option "Device" "/dev/input/mouse0"
[ 2362.814] (**) Option "_source" "server/udev"
[ 2362.853] (II) mouse0 - failed to create input device '/dev/input/mouse0'.
[ 2362.853] (EE) libinput: Synaptics TM3157-006: Failed to create a device for /dev/input/mouse0
[ 2362.853] (EE) PreInit returned 2 for "Synaptics TM3157-006"
[ 2362.853] (II) UnloadModule: "libinput"
[ 2362.853] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event15)
[ 2362.853] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[ 2362.853] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[ 2362.853] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[ 2362.855] (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 37 paused 0
[ 2362.855] (**) TPPS/2 IBM TrackPoint: always reports core events
[ 2362.855] (**) Option "Device" "/dev/input/event15"
[ 2362.855] (**) Option "_source" "server/udev"
[ 2362.856] (II) event15 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[ 2362.856] (II) event15 - TPPS/2 IBM TrackPoint: trackpoint does not have a specified range, guessing... see https://wayland.freedesktop.org/libinput/doc/1.10.7/trackpoints.html
[ 2362.856] (II) event15 - TPPS/2 IBM TrackPoint: trackpoint device set to range 31
[ 2362.856] (II) event15 - TPPS/2 IBM TrackPoint: device is a pointer
[ 2362.856] (II) event15 - TPPS/2 IBM TrackPoint: device removed
[ 2362.856] (**) Option "config_info" "udev:/sys/devices/rmi4-00/rmi4-00.fn03/serio2/input/input17/event15"
[ 2362.856] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 14)
[ 2362.857] (**) Option "AccelerationScheme" "none"
[ 2362.857] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[ 2362.857] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[ 2362.857] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[ 2362.857] (II) event15 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[ 2362.857] (II) event15 - TPPS/2 IBM TrackPoint: trackpoint does not have a specified range, guessing... see https://wayland.freedesktop.org/libinput/doc/1.10.7/trackpoints.html
[ 2362.857] (II) event15 - TPPS/2 IBM TrackPoint: trackpoint device set to range 31
[ 2362.857] (II) event15 - TPPS/2 IBM TrackPoint: device is a pointer
[ 2362.858] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[ 2362.858] (II) No input driver specified, ignoring this device.
[ 2362.858] (II) This device may have been added with another device file.
Notice the :
[ 2362.853] (EE) libinput: Synaptics TM3157-006: Failed to create a device for /dev/input/mouse0
??? Permission issue? Already created by another driver? I don't know but maybe this will help fix the problem.
Thanks!
EDIT:
Hi, actually setting the proto argument in modprobe.d/psmouse.conf like this :
[jape@T540p ~]$ cat /etc/modprobe.d/psmouse.conf
options psmouse proto=exps
Makes the trackpoint and trackpad work fine with the exception of the two-finger scroll. I cannot scroll anywhere other than using the middle button which is a bummer honestly.
Anyone has a clue? Thanks!
]]>@alkappa: Not at all, but it's wabisabi who reported the bug to the upstream. ;-) Anyway it's good to hear you're saved.
]]>Fixed kernels are now available in the upstream, in vers 5.1, 5.0.14, and 4.19.41.
I forgot about this thread for a time and now i am extremely happy to have my old touchpad functionality back.
Thank you for submitting this bug, next time i will do it myself. That will save many users more time in the future.
I am marking this thread as solved.
]]>Fixed kernels are now available in the upstream, in vers 5.1, 5.0.14, and 4.19.41.
And now mine does not work after the update kk has to do with the update?
]]>Its follow-up in the linux-pm mailing list can be seen here. The title is: "[Bug 203297] Synaptics touchpad TM-3127 functionality broken by PCI runtime power management patch on 4.20.2"
]]>I have a cheap HP laptop and I had this problem that every time I took my laptop out of charger, touchpad stopped responding after 2 seconds of inactivity.
Fixed it by editing file /etc/default/tlp
changed line
RUNTIME_PM_ON_BAT=auto
to
RUNTIME_PM_ON_BAT=on
Nice, I didn't have tlp installed but installing it and changing this setting fixed it. Probably could just disable PCI runtime power management specifically for the touchpad also.
I'm pretty sure this is caused by https://lkml.org/lkml/2019/1/11/615. I made a bug report to bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=203297.
]]>Fixed it by editing file /etc/default/tlp
changed line
RUNTIME_PM_ON_BAT=auto
to
RUNTIME_PM_ON_BAT=on
While the workaround works, for me it's not really a permanent fix as it removes most of the trackpad functionalities such as scrolling that I rely pretty heavily on. Am I right to assume that this is a kernel bug and a bug report should be filed there?
]]>try as root: rmmode psmouse; modprobe psmouse proto=imps
for permanent change edit /etc/modprobe.d/psmouse.conf with:
options psmouse proto=imps
that all to let hp touchpad be recognized as a mouse
Thank you, that fixed the touchpad in the first place!
Unfortunately, two finger taps do not work anymore (which is, of course, a less urgent and less relevant problem)
regards and thank you for your help.
]]>