Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] two finger scroll with libinput stopped working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 371
Location: Duluth, MN, USA

PostPosted: Thu Mar 23, 2017 6:05 am    Post subject: [Solved] two finger scroll with libinput stopped working Reply with quote

I'm not entirely sure what's happened here. I started my computer today and my touchpad wouldn't work. Not at all - no pointer movement, no clicking. Didn't even seem to recognize that it existed. But it worked yesterday. I reviewed yesterday's updates, but it was mainly the plasma 5.9.4 update. Nothing X related.

Eventually I figured out that synaptics/evdev drivers got installed (not yesterday, but on the 19th, oddly) and removed them, to get back to just libinput, which I've been running for a couple of months

That got my touchpad mostly functioning, but scrolling isn't working.

When I launch xev and test things, it seems to recognize the events. scroll up is button 4, down is button 5, left is button 6, and right is button 7. But if I try those same actions in an application, nothing happens.

The relevant section of my Xorg log is below. I don't see anything amiss, and the options match my configuration file.
Code:
[    10.515] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event12)
[    10.516] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    10.516] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "clickpad"
[    10.516] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    10.516] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    10.516] (**) Option "Device" "/dev/input/event12"
[    10.516] (**) Option "_source" "server/udev"
[    10.516] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is tagged by udev as: Touchpad
[    10.516] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is a touchpad
[    10.535] (**) Option "Tapping" "on"
[    10.535] (**) Option "TappingButtonMap" "lmr"
[    10.535] (**) Option "SendEventsMode" "disabled-on-external-mouse"
[    10.535] (**) Option "ScrollMethod" "twofinger"
[    10.535] (**) Option "ClickMethod" "buttonareas"
[    10.535] (**) Option "DisableWhileTyping" "on"
[    10.535] (**) Option "HorizontalScrolling" "on"
[    10.535] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input21/event12"
[    10.535] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[    10.535] (**) Option "AccelerationScheme" "none"
[    10.535] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    10.535] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    10.535] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    10.535] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is tagged by udev as: Touchpad
[    10.535] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is a touchpad
[    10.536] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    10.536] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "clickpad"
[    10.536] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    10.536] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    10.536] (**) Option "Device" "/dev/input/event12"
[    10.536] (**) Option "_source" "server/udev"
[    10.536] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is tagged by udev as: Touchpad
[    10.536] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is a touchpad
[    10.547] (**) Option "Tapping" "on"
[    10.547] (**) Option "TappingButtonMap" "lmr"
[    10.547] (**) Option "SendEventsMode" "disabled-on-external-mouse"
[    10.547] (**) Option "ScrollMethod" "twofinger"
[    10.547] (**) Option "ClickMethod" "buttonareas"
[    10.547] (**) Option "DisableWhileTyping" "on"
[    10.547] (**) Option "HorizontalScrolling" "on"
[    10.547] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input21/mouse0"
[    10.547] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[    10.547] (**) Option "AccelerationScheme" "none"
[    10.547] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    10.547] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    10.547] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    10.547] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is tagged by udev as: Touchpad
[    10.547] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is a touchpad


Last edited by Timmer on Sat Apr 15, 2017 10:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 571

PostPosted: Thu Mar 23, 2017 10:20 pm    Post subject: Reply with quote

What's the output of
Code:
xinput --list-props DEVICEID
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Mar 24, 2017 2:11 am    Post subject: Reply with quote

Try downgrading libinput to 1.4.2 if you updated it recently - new versions seem to be extremely buggy.
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 371
Location: Duluth, MN, USA

PostPosted: Fri Mar 24, 2017 3:21 am    Post subject: Reply with quote

_Nomad_ wrote:
What's the output of
Code:
xinput --list-props DEVICEID


Code:

Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (138):   1
        Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (273): 1
        libinput Tapping Enabled Default (274): 0
        libinput Tapping Drag Enabled (275):    1
        libinput Tapping Drag Enabled Default (276):    1
        libinput Tapping Drag Lock Enabled (277):       0
        libinput Tapping Drag Lock Enabled Default (278):       0
        libinput Tapping Button Mapping Enabled (279):  0, 1
        libinput Tapping Button Mapping Default (280):  1, 0
        libinput Accel Speed (281):     0.000000
        libinput Accel Speed Default (282):     0.000000
        libinput Natural Scrolling Enabled (283):       0
        libinput Natural Scrolling Enabled Default (284):       0
        libinput Send Events Modes Available (258):     1, 1
        libinput Send Events Mode Enabled (259):        0, 1
        libinput Send Events Mode Enabled Default (260):        0, 0
        libinput Left Handed Enabled (285):     0
        libinput Left Handed Enabled Default (286):     0
        libinput Scroll Methods Available (287):        1, 1, 0
        libinput Scroll Method Enabled (288):   1, 0, 0
        libinput Scroll Method Enabled Default (289):   1, 0, 0
        libinput Click Methods Available (290): 1, 1
        libinput Click Method Enabled (291):    1, 0
        libinput Click Method Enabled Default (292):    0, 1
        libinput Middle Emulation Enabled (293):        0
        libinput Middle Emulation Enabled Default (294):        0
        libinput Disable While Typing Enabled (295):    1
        libinput Disable While Typing Enabled Default (296):    1
        Device Node (261):      "/dev/input/event12"
        Device Product ID (262):        2, 7
        libinput Drag Lock Buttons (297):       <no items>
        libinput Horizontal Scroll Enabled (298):       1
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 371
Location: Duluth, MN, USA

PostPosted: Fri Mar 24, 2017 3:24 am    Post subject: Reply with quote

Ant P. wrote:
Try downgrading libinput to 1.4.2 if you updated it recently - new versions seem to be extremely buggy.


I don't think that's it. A. I've been running a version higher than 1.4.2 since September. B. The last upgrade I did (to 1.6.3) happened on Mar 9, so 2 weeks before this problem started.
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 371
Location: Duluth, MN, USA

PostPosted: Sun Apr 02, 2017 2:52 am    Post subject: Reply with quote

I just discovered something interesting. The problem is unique to X. When I try a plasma session on Wayland, it works correctly.
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 371
Location: Duluth, MN, USA

PostPosted: Sat Apr 15, 2017 4:33 pm    Post subject: Reply with quote

I kind of figured it out.

I have (for some reason I haven't figured out yet) 2 different mouse devices for the same TouchPad. 12 and 13. If I disable device 13 (the extra one) then everything works the way it's supposed to.

So for now, I cna disable device 13, and my computer is usable. And I'll post back here if I figure out how to make this extra device not get created in the first place.
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 371
Location: Duluth, MN, USA

PostPosted: Sat Apr 15, 2017 10:00 pm    Post subject: Reply with quote

Not exactly sure why this is, but I did figure out the source of the problem. I added an xorg config file to specify from mouse options (change the 2/3 finger tap options, and othre stuff). When I did that, I added
Code:

Option Device /dev/input/event12


For some reason this was causing the mouse to be added on both the event12 and mouse0 devices, and that was causing things to go all screwy. Removing that line fixed the problem - now back to one mouse device and it's working correctly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum