You are not logged in.

#1 2017-06-07 05:34:06

rican-linux
Member
Registered: 2014-11-16
Posts: 63

[SOLVED] libinput and synaptics conflict

I am trying to enable vertical two finger scrolling in GNOME. I edit 70-synaptics.conf file to allow for it.

 cat /etc/X11/xorg.conf.d/70-synaptics.conf 
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event*"
	Option "VertTwoFingerScroll" "True"
EndSection

However it is not working. When I try using synclient I get this.

synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?

I read in the wiki that wayland uses libinput however these are devices using that driver

grep -e "Using input driver 'libinput'" /var/log/Xorg.0.log 
[   949.383] (II) Using input driver 'libinput' for 'Power Button'
[   949.385] (II) Using input driver 'libinput' for 'Video Bus'
[   949.386] (II) Using input driver 'libinput' for 'Power Button'
[   949.388] (II) Using input driver 'libinput' for 'Sleep Button'
[   949.389] (II) Using input driver 'libinput' for 'Logitech M325'
[   949.391] (II) Using input driver 'libinput' for 'Chicony USB 2.0 Camera'
[   949.394] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'

However the Xorg log looks like it trying to use both

grep -e  synaptics -e touchpad /var/log/Xorg.0.log 
[   949.395] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   949.395] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[   949.395] (II) LoadModule: "synaptics"
[   949.395] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   949.395] (II) Module synaptics: vendor="X.Org Foundation"
[   949.395] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1268 - 5674 (res 45)
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1096 - 4758 (res 69)
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[   949.396] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[   949.396] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[   949.396] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[   949.396] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"

xinput is not seeing synaptics as well

 xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:13                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:13            	id=7	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:13                    	id=8	[slave  keyboard (3)]

Am I stuck with libinput while using Wayland instad of synaptics?

Last edited by rican-linux (2017-06-07 23:29:52)

Offline

#2 2017-06-07 07:54:12

phw
Member
Registered: 2013-05-27
Posts: 318

Re: [SOLVED] libinput and synaptics conflict

Your post did not make it sure if you are using Wayland or X.org, but on Wayland only libinput is used. And also when on X.org running Gnome, the Gnome settings only support libinput. So my suggestion would be to uninstall synaptics to avoid any conflicts and use libinput exclusively. You can enable two-finger scrolling in Gnome settings.

Offline

#3 2017-06-07 08:51:30

rican-linux
Member
Registered: 2014-11-16
Posts: 63

Re: [SOLVED] libinput and synaptics conflict

I was trying both Wayland and Xorg. I uninstalled xf86-input-synaptics and reboooted. Xorg.0.log still sees synaptics driver as loading. What am I missing?

 grep -e synaptics /var/log/Xorg.0.log 
[   949.395] (II) LoadModule: "synaptics"
[   949.395] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   949.395] (II) Module synaptics: vendor="X.Org Foundation"
[   949.395] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1268 - 5674 (res 45)
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1096 - 4758 (res 69)
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[   949.396] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[   949.396] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[   949.396] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[   949.396] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[   954.648] (II) UnloadModule: "synaptics"

 [rican-linux@archlinux-gazelle ~]$ pacman -Qs xf86-input
local/xf86-input-libinput 0.25.1-1 (xorg-drivers)
    Generic input driver for the X.Org server based on libinput
[rican-linux@archlinux-gazelle ~]$ pacman -Qs libinput
local/libinput 1.7.2-1
    Input device management and event handling library
local/libinput-gestures-git r114.d6eb007-1
    Actions gestures on your touchpad using libinput
local/xf86-input-libinput 0.25.1-1 (xorg-drivers)
    Generic input driver for the X.Org server based on libinput
[rican-linux@archlinux-gazelle ~]$ pacman -Qs synaptics
[rican-linux@archlinux-gazelle ~]$ 

Offline

#4 2017-06-07 09:23:04

phw
Member
Registered: 2013-05-27
Posts: 318

Re: [SOLVED] libinput and synaptics conflict

That's strange, what does

pacman -Qo /usr/lib/xorg/modules/input/synaptics_drv.so

show? Does /usr/lib/xorg/modules/input/synaptics_drv.so really still exist?

Offline

#5 2017-06-07 10:19:42

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] libinput and synaptics conflict

rican-linux wrote:

I was trying both Wayland and Xorg. I uninstalled xf86-input-synaptics and reboooted. Xorg.0.log still sees synaptics driver as loading. What am I missing?

[...]

Perhaps you are looking at an old X log file? Check the date of files in /var/log to make sure you are looking at a new file.

Offline

#6 2017-06-07 10:26:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] libinput and synaptics conflict

Following from Ropid's point, xorg logs have not been stored in /var/log for quite some time - that is likely a *very* old log.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2017-06-07 21:26:59

rican-linux
Member
Registered: 2014-11-16
Posts: 63

Re: [SOLVED] libinput and synaptics conflict

phw wrote:

That's strange, what does

pacman -Qo /usr/lib/xorg/modules/input/synaptics_drv.so

show? Does /usr/lib/xorg/modules/input/synaptics_drv.so really still exist?

No the driver is not there.

Ropid was right the Xorg.0.log was old. Journalctl gave more accurate information

Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) Using input driver 'libinput' for 'PS/2 Synaptics TouchPad'
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (**) PS/2 Synaptics TouchPad: always reports core events
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) event14 - (II) PS/2 Synaptics TouchPad: (II) is tagged by udev as: Mouse
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) event14 - (II) PS/2 Synaptics TouchPad: (II) device is a pointer
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) event14 - (II) PS/2 Synaptics TouchPad: (II) device removed
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) XINPUT: Adding extended input device "PS/2 Synaptics TouchPad" (type: MOUSE, id 12)
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (**) PS/2 Synaptics TouchPad: (accel) selected scheme none/0
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (**) PS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (**) PS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) event14 - (II) PS/2 Synaptics TouchPad: (II) is tagged by udev as: Mouse
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) event14 - (II) PS/2 Synaptics TouchPad: (II) device is a pointer
Jun 07 14:14:06 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) config/udev: Adding input device PS/2 Synaptics TouchPad (/dev/input/mouse0)
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) event14 - (II) PS/2 Synaptics TouchPad: (II) device removed
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"
Jun 07 14:18:48 archlinux-gazelle /usr/lib/gdm/gdm-x-session[864]: (II) UnloadModule: "libinput"

Offline

#8 2017-06-07 23:29:23

rican-linux
Member
Registered: 2014-11-16
Posts: 63

Re: [SOLVED] libinput and synaptics conflict

I found the issue! The  libinput page in wiki mentioned towards the end to add the boot parameters if your touchpad is not detected.

i8042.noloop i8042.nomux i8042.nopnp i8042.reset

I did that rebooted and now my touchpadis working and I can manage via gnome settings! Marking as solved.

Offline

Board footer

Powered by FluxBB