You are not logged in.

#1 2021-02-11 05:55:43

geekoba153
Member
Registered: 2020-10-07
Posts: 8

Two finger scrolling not working on Lenovo Thinkpad T540p

I'm currently using a Lenovo Thinkpad T540p laptop and the two finger scrolling using the touchpad is not working. I tried many solutions from internet, read the arch wikis but I haven't been able to solve this. It seems that libinput is not recognizing two finger scrolling as a possible scrolling method. But the two finger scrolling works fine on my not so favourite os Windows sad . I am posting ouptut of some relevent commands. Any kind of solutions/suggestions would be highly appriciated smile
output of xinput

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PixArt Dell MS116 USB Optical Mouse     	id=9	[slave  pointer  (2)]
⎜   ↳ PS/2 Synaptics TouchPad                 	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C         	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=13	[slave  keyboard (3)]

output of libinput list-devices:

Device:           PS/2 Synaptics TouchPad
Kernel:           /dev/input/event9
Group:            8
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Last edited by geekoba153 (2021-02-11 05:56:29)

Offline

#2 2021-02-11 08:42:26

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

geekoba153 wrote:

I tried many solutions

You should post exactly what you have tried to avoid duplication of effort by any who try to help you. Please also state which desktop environment or window manager you are using.

Offline

#3 2021-02-11 13:17:08

geekoba153
Member
Registered: 2020-10-07
Posts: 8

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

Head_on_a_Stick wrote:
geekoba153 wrote:

I tried many solutions

You should post exactly what you have tried to avoid duplication of effort by any who try to help you. Please also state which desktop environment or window manager you are using.

Yeah. Sorry. My bad. Honestly speaking I don't remember all the things that I've tried. But I did try these solutions:
Solution posted here https://gist.github.com/fschutt/8c63a64 … 9142f7dfcd
which for me was essentially

xinput set-prop 12 312 1 0 0

I also tried

sudo modprobe -r psmouse
sudo modprobe psmouse

I am using the i3 window manager. Thanks for replying smile

Offline

#4 2021-02-11 13:20:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

Post these actual xinput list-props outputs

FWIW what's often the case here is a broken/different method of setting up the touchpad you should be able to switch that from the UEFI (often you'd have to switch from "Advanced" to "Simple" or so)

Last edited by V1del (2021-02-11 13:25:04)

Online

#5 2021-02-11 13:31:35

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 102

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

3.10.x kernel are messing a lot with Thinkpad laptops. Try to reload i801 driver
https://bbs.archlinux.org/viewtopic.php?id=262537

Offline

#6 2021-02-11 14:30:31

geekoba153
Member
Registered: 2020-10-07
Posts: 8

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

V1del wrote:

Post these actual xinput list-props outputs

Here is the output of xinput list-props 12

Device 'PS/2 Synaptics TouchPad':
	Device Enabled (174):	1
	Coordinate Transformation Matrix (176):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (309):	0
	libinput Natural Scrolling Enabled Default (310):	0
	libinput Scroll Methods Available (311):	0, 0, 1
	libinput Scroll Method Enabled (312):	0, 0, 1
	libinput Scroll Method Enabled Default (313):	0, 0, 1
	libinput Button Scrolling Button (314):	2
	libinput Button Scrolling Button Default (315):	2
	libinput Button Scrolling Button Lock Enabled (316):	0
	libinput Button Scrolling Button Lock Enabled Default (317):	0
	libinput Middle Emulation Enabled (318):	0
	libinput Middle Emulation Enabled Default (319):	0
	libinput Accel Speed (320):	0.000000
	libinput Accel Speed Default (321):	0.000000
	libinput Accel Profiles Available (322):	1, 1
	libinput Accel Profile Enabled (323):	1, 0
	libinput Accel Profile Enabled Default (324):	1, 0
	libinput Left Handed Enabled (325):	0
	libinput Left Handed Enabled Default (326):	0
	libinput Send Events Modes Available (294):	1, 0
	libinput Send Events Mode Enabled (295):	0, 0
	libinput Send Events Mode Enabled Default (296):	0, 0
	Device Node (297):	"/dev/input/event9"
	Device Product ID (298):	2, 1
	libinput Drag Lock Buttons (327):	<no items>
	libinput Horizontal Scroll Enabled (328):	1

Also I didn't really understand what you meant by the last comment. I booted into bios and went through all the options but there wasn't an option to toggle between advanced and simple touchpad mode. And I couldn't find any options relevent to this problem.. Thanks a lot!!

Last edited by geekoba153 (2021-02-11 14:30:48)

Offline

#7 2021-02-11 14:47:35

geekoba153
Member
Registered: 2020-10-07
Posts: 8

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

4javier wrote:

3.10.x kernel are messing a lot with Thinkpad laptops. Try to reload i801 driver
https://bbs.archlinux.org/viewtopic.php?id=262537

Hey I hope this what you meant by reloading the module:

rmmod i2c_i801
modprobe i2_i801

I tried doing this but it gave an error like this when I tried to run the second command.
modprobe: fatal: module i2c_i801 not found in directory
And the modules get reloaded after reboot anyways right? But I still can't use my touchpad sad
Thanks for your suggestions smile

Offline

#8 2021-02-11 17:33:31

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 102

Re: Two finger scrolling not working on Lenovo Thinkpad T540p

Maybe your laptop that's a next generation than mine uses a different module. You could try to find which one with

lsmod | grep i2c

Even if actually your problem doesn't shows up after resume only, thus it's probably something different.

Offline

Board footer

Powered by FluxBB