Page 1 of 2

Touchpad drivers

Posted: Thu Jun 13, 2019 7:47 pm
by mrmajik45
When using my touchpad it will stop responding every so often, if I set my touchpad as a PSMouse with

Code: Select all

sudo modprobe -r psmouse && sudo modprobe psmouse proto=imps
it doesn't freeze but it doesn't have the ability to 2-finger scroll or tap to click. I want to know if there are Drivers for my touchpad that don't have that freezing issue but still have normal functionality (Manufactored drivers?)

Code: Select all

System:    Host: Ghostslayer-Pavilion-x360 Kernel: 5.0.0-16-generic x86_64 bits: 64
           compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa
           base: Ubuntu 18.04 bionic
Machine:   Type: Laptop System: HP product: HP Pavilion 13 x360 PC
           v: Type1ProductConfigId serial: <filter>
           Mobo: HP model: 22B6 v: 89.31 serial: <filter> UEFI: Insyde v: F.31
           date: 08/26/2015
Battery:   ID-1: BAT0 charge: 35.4 Wh condition: 35.4/35.4 Wh (100%)
           model: Hewlett-Packard Primary status: Full
CPU:       Topology: Dual Core model: Intel Core i3-4030U bits: 64 type: MT MCP
           arch: Haswell rev: 1 L2 cache: 3072 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 15164
           Speed: 933 MHz min/max: 800/1800 MHz Core speeds (MHz): 1: 803 2: 798 3: 798
           4: 798
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard
           driver: i915 v: kernel bus ID: 00:02.0
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa
           resolution: 1366x768~60Hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.2.8
           direct render: Yes
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Hewlett-Packard
           driver: snd_hda_intel v: kernel bus ID: 00:03.0
           Device-2: Intel 8 Series HD Audio vendor: Hewlett-Packard
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0
           Sound Server: ALSA v: k5.0.0-16-generic
Network:   Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n
           vendor: Hewlett-Packard driver: wl v: kernel port: 5040 bus ID: 08:00.0
           IF: wlo1 state: up mac: <filter>
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard
           driver: r8169 v: kernel port: 3000 bus ID: 09:00.0
           IF: eno1 state: down mac: <filter>
Drives:    Local Storage: total: 223.57 GiB used: 72.03 GiB (32.2%)
           ID-1: /dev/sda model: SATA SSD size: 223.57 GiB
Partition: ID-1: / size: 218.57 GiB used: 72.02 GiB (33.0%) fs: ext4 dev: /dev/sda2
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A
           Fan Speeds (RPM): N/A
Info:      Processes: 240 Uptime: 2h 04m Memory: 7.72 GiB used: 1.67 GiB (21.6%)
           Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.19
           inxi: 3.0.27

Re: Touchpad drivers

Posted: Thu Jun 13, 2019 8:32 pm
by MrEen
mrmajik45 wrote: Thu Jun 13, 2019 7:47 pm When using my touchpad it will stop responding every so often, if I set my touchpad as a PSMouse with

Code: Select all

sudo modprobe -r psmouse && sudo modprobe psmouse proto=imps
it doesn't freeze but it doesn't have the ability to 2-finger scroll or tap to click. I want to know if there are Drivers for my touchpad that don't have that freezing issue but still have normal functionality (Manufactored drivers?)
Notice anything missing from your post?

Re: Touchpad drivers

Posted: Thu Jun 13, 2019 9:42 pm
by mrmajik45
(Insert GTA "Aw crap here we go again" meme)

Re: Touchpad drivers

Posted: Thu Jun 13, 2019 9:48 pm
by MrEen
See if this helps: https://wiki.ubuntu.com/DebuggingTouchpadDetection

Scroll down to In case your Touchpad stops working after a while

Re: Touchpad drivers

Posted: Thu Jun 13, 2019 10:03 pm
by mrmajik45
Thing is, it will stop for a moment and randomly be usable again.

Re: Touchpad drivers

Posted: Fri Jun 14, 2019 1:15 pm
by MrEen
Have you played with the settings at all? Someone that knows touchpad stuff may want to see the output of egrep -i 'synap|alps|etps|elan' /proc/bus/input/devices

Re: Touchpad drivers

Posted: Fri Jun 14, 2019 3:01 pm
by mrmajik45

Code: Select all

N: Name="SYNAPTICS Synaptics Touch Digitizer V04"
N: Name="SynPS/2 Synaptics TouchPad"

Re: Touchpad drivers

Posted: Fri Jun 14, 2019 3:26 pm
by MrEen
Here's something I didn't think about.

Does your keyboard have any function keys for enabling/disabling the touchpad? If yes, have you tried those when it stops working?

Re: Touchpad drivers

Posted: Fri Jun 14, 2019 3:41 pm
by mrmajik45
I don't have a key on my keyboard for the touchpad

Re: Touchpad drivers

Posted: Sat Jun 15, 2019 10:44 am
by drwho
I posted about the random freezing problem of the touchpad on a Lenovo Ideapad 320, about a year ago. I tried many suggestions from this and other forums, but nothing fixed it; so I decided it must be a bug and to just wait patiently for a fix. Unfortunately, even though I have installed all automatic updates including several kernel updates. nothing fixed the problem. It has in fact seemingly gotten worse after the latest batch of updates, which included a new kernel (4.15.0-51) and an update to the X system. Now the cursor (when it isn't frozen) jumps around in a weird manner when moving it with the touchpad. Apparently, getting touchpads to work properly isn't an easy thing but I am still hoping for a miraculous update that will fix it.

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 5:43 pm
by mrmajik45
Anything?

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 6:24 pm
by MrEen
What's the output from apt policy xserver-xorg-input-synaptics?

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 6:29 pm
by mrmajik45

Code: Select all

xserver-xorg-input-synaptics:
  Installed: 1.9.0-1ubuntu1
  Candidate: 1.9.0-1ubuntu1
  Version table:
 *** 1.9.0-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 6:30 pm
by MrEen
Damn. I was hoping you didn't have it installed.

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 6:31 pm
by mrmajik45
"You got bamboozled!" - Mirage.

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 7:26 pm
by mrmajik45
Erm.

Re: Touchpad drivers

Posted: Wed Jun 19, 2019 9:32 pm
by MrEen
How 'bout grep -i "Using input driver" /var/log/Xorg.0.log?

Re: Touchpad drivers

Posted: Thu Jun 20, 2019 8:11 pm
by mrmajik45

Code: Select all

[     7.899] (II) Using input driver 'libinput' for 'Power Button'
[     7.925] (II) Using input driver 'libinput' for 'Video Bus'
[     7.962] (II) Using input driver 'libinput' for 'Power Button'
[     7.991] (II) Using input driver 'libinput' for 'HP Truevision HD: HP Truevision'
[     8.029] (II) Using input driver 'libinput' for 'SYNAPTICS Synaptics Touch Digitizer V04'
[     8.200] (II) Using input driver 'libinput' for 'Intel Virtual Button driver'
[     8.226] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     8.242] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[     8.323] (II) Using input driver 'libinput' for 'HP Wireless hotkeys'
[     8.361] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[  4740.864] (II) Using input driver 'libinput' for 'PS/2 Synaptics TouchPad'
[  4784.559] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 10800.076] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 12321.168] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 12637.660] (II) Using input driver 'libinput' for 'PS/2 Generic Mouse'
[ 13223.962] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 19683.770] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 31989.950] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'

Re: Touchpad drivers

Posted: Thu Jun 20, 2019 8:28 pm
by MrEen
You might want to try the libinput or evdev drivers as per the release notes here
Touchpad drivers
The default touchpad driver in this edition is "libinput" (provided by the xserver-xorg-input-libinput package).

If you experience problems with it, you can switch to another driver called "synaptics" (provided by the xserver-xorg-input-synaptics package).

To know which driver is used by your input devices, run the following command:

grep -i "Using input driver" /var/log/Xorg.0.log
When both drivers are installed, "synaptics" takes priority.

To switch to the "synaptics" driver, install it with the command:

apt install xserver-xorg-input-synaptics
Then log out and log back in.

To go back to using "libinput", simply remove the "synaptics" driver:

apt remove xserver-xorg-input-synaptics
Then log out and log back in.

Note: You can also try installing the "evdev" driver (provided by the xserver-xorg-input-evdev).

Re: Touchpad drivers

Posted: Thu Jun 20, 2019 9:32 pm
by mrmajik45
I keep seeing this in dmesg:

Code: Select all

[  106.268522] psmouse serio1: TouchPad at isa0060/serio1/input0 lost synchronization, throwing 5 bytes away.
[  106.801977] psmouse serio1: resync failed, issuing reconnect request
[  107.585673] psmouse serio1: synaptics: queried max coordinates: x [..5690], y [..4706]
[  107.627246] psmouse serio1: synaptics: queried min coordinates: x [1300..], y [1234..]
Both with or without synaptics.

Or, as patrick would say when selling chocolate: "With or without nuts"