Bug 1293576 - Edge scroll and other features of touchpad not working on Dell E6220
Summary: Edge scroll and other features of touchpad not working on Dell E6220
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 09:08 UTC by Lasse Kliemann
Modified: 2016-01-29 04:13 UTC (History)
25 users (show)

Fixed In Version: systemd-222-13.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-28 18:22:10 UTC
Type: Bug


Attachments (Terms of Use)
evemu recording from a scroll up (see comment 4) (28.60 KB, text/plain)
2016-01-04 03:20 UTC, Peter Hutterer
no flags Details
evemu-describe differences (1.69 KB, patch)
2016-01-04 10:23 UTC, Lasse Kliemann
no flags Details | Diff

Description Lasse Kliemann 2015-12-22 09:08:02 UTC
Description of problem:
On a fresh installation on a Dell Latitude E6220, edge scrolling can be configured but will not work. Moreover, cursor movement is too fast, difficult to control, and sensitivity settings do not work.

Version-Release number of selected component (if applicable):
F32

How reproducible:

Steps to Reproduce:
1. Install F23 on Dell Latitute E6220.
2. Configure touchpad for edge scrolling.
3. Try edge scrolling, e.g., in Firefox.

Actual results:
No scrolling, just (jerky) cursor movement.

Expected results:
Should scroll vertically.

Additional info:
The workaround suggested in https://ask.fedoraproject.org/en/question/69888/unable-to-configure-touchpad-in-f22/?answer=72125#post-id-72125 works. That is, I symlink to '/usr/share/X11/xorg.conf.d/50-synaptics.conf' from '/etc/X11/xorg.conf.d/99-synaptics.conf'. But that post also suggests that this possibility might go away in the future.

Comment 1 Lasse Kliemann 2015-12-22 09:48:05 UTC
Forgot to mention, this is for the KDE spin. Did not try others.

Comment 2 Peter Hutterer 2015-12-22 22:39:28 UTC
Please read through this link and provide the information listed there: http://wayland.freedesktop.org/libinput/doc/latest/reporting_bugs.html
and in addition I'll need the output of the touchpad-edge-detector (from libevdev-utils).

Comment 3 Pavlo Rudyi 2015-12-24 12:02:43 UTC
The same problem on Rawhide.

Versions:
libinput-1.1.4-1.fc24.x86_64
xorg-x11-drv-libinput-0.16.0-1.fc24.x86_64

$ xinput list-props "SynPS/2 Synaptics TouchPad"
Device 'SynPS/2 Synaptics TouchPad':
	Device Enabled (136):	1
	Coordinate Transformation Matrix (138):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (264):	1
	Device Accel Constant Deceleration (265):	2.500000
	Device Accel Adaptive Deceleration (266):	1.000000
	Device Accel Velocity Scaling (267):	12.500000
	Synaptics Edges (268):	1771, 5457, 1650, 4634
	Synaptics Finger (269):	35, 40, 0
	Synaptics Tap Time (270):	180
	Synaptics Tap Move (271):	242
	Synaptics Tap Durations (272):	180, 100, 100
	Synaptics ClickPad (273):	0
	Synaptics Middle Button Timeout (274):	75
	Synaptics Two-Finger Pressure (275):	40
	Synaptics Two-Finger Width (276):	8
	Synaptics Scrolling Distance (277):	110, 110
	Synaptics Edge Scrolling (278):	1, 1, 0
	Synaptics Two-Finger Scrolling (279):	1, 1
	Synaptics Move Speed (280):	1.000000, 1.750000, 0.036291, 0.000000
	Synaptics Off (281):	0
	Synaptics Locked Drags (282):	0
	Synaptics Locked Drags Timeout (283):	5000
	Synaptics Tap Action (284):	0, 0, 0, 0, 1, 2, 3
	Synaptics Click Action (285):	1, 1, 1
	Synaptics Circular Scrolling (286):	1
	Synaptics Circular Scrolling Distance (287):	0.100000
	Synaptics Circular Scrolling Trigger (288):	2
	Synaptics Circular Pad (289):	0
	Synaptics Palm Detection (290):	0
	Synaptics Palm Dimensions (291):	10, 200
	Synaptics Coasting Speed (292):	0.000000, 50.000000
	Synaptics Pressure Motion (293):	30, 160
	Synaptics Pressure Motion Factor (294):	1.000000, 1.000000
	Synaptics Grab Event Device (295):	0
	Synaptics Gestures (296):	1
	Synaptics Capabilities (297):	1, 0, 1, 1, 1, 1, 1
	Synaptics Pad Resolution (298):	78, 51
	Synaptics Area (299):	0, 0, 0, 0
	Synaptics Noise Cancellation (300):	8, 8
	Device Product ID (260):	2, 7
	Device Node (259):	"/dev/input/event4"


scroll.evemu: http://pastebin.com/S1gcj1FL

Comment 4 Lasse Kliemann 2015-12-25 12:09:50 UTC
evemu recording trying to scroll up: http://pastebin.com/gJX8FNzL

libinput:
Version     : 1.1.4
Release     : 1.fc23

xorg-x11-drv-libinput
Version     : 0.14.0
Release     : 2.fc23

$ xinput list-props "AlpsPS/2 ALPS DualPoint TouchPad"
Device 'AlpsPS/2 ALPS DualPoint 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 (272): 1
        libinput Tapping Enabled Default (273): 0
        libinput Tapping Drag Lock Enabled (274):       0
        libinput Tapping Drag Lock Enabled Default (275):       0
        libinput Accel Speed (276):     0.000000
        libinput Accel Speed Default (277):     0.000000
        libinput Natural Scrolling Enabled (278):       0
        libinput Natural Scrolling Enabled Default (279):       0
        libinput Send Events Modes Available (256):     1, 1
        libinput Send Events Mode Enabled (257):        0, 0
        libinput Send Events Mode Enabled Default (258):        0, 0
        libinput Left Handed Enabled (280):     0
        libinput Left Handed Enabled Default (281):     0
        libinput Scroll Methods Available (282):        1, 1, 0
        libinput Scroll Method Enabled (283):   0, 1, 0
        libinput Scroll Method Enabled Default (284):   1, 0, 0
        libinput Middle Emulation Enabled (285):        1
        libinput Middle Emulation Enabled Default (286):        1
        libinput Disable While Typing Enabled (287):    1
        libinput Disable While Typing Enabled Default (288):    1
        Device Node (259):      "/dev/input/event6"
        Device Product ID (260):        2, 8
        libinput Drag Lock Buttons (289):       <no items>
        libinput Horizonal Scroll Enabled (261):        1

It is a Dell Latitude E6220.

$ cat /sys/class/dmi/id/modalias
dmi:bvnDellInc.:bvrA13:bd11/17/2013:svnDellInc.:pnLatitudeE6220:pvr01:rvnDellInc.:rn00W5HN:rvrA00:cvnDellInc.:ct9:cvr:

Physical dimensions of touchpad taken with ruler (w x h): 79.5 x 39.5

$ sudo touchpad-edge-detector /dev/input/event6 
Touchpad AlpsPS/2 ALPS DualPoint TouchPad on /dev/input/event6
Move one finger around the touchpad to detect the actual edges
Kernel says:    x [0..2000], y [0..1400]
Touchpad sends: x [83..1801], y [151..1328] |\

^C

Touchpad has no resolution, size unknown
Calculate resolution as:
        x axis: 2000/<width in mm>
        y axis: 1400/<height in mm>

Suggested udev rule:
# <Laptop model description goes here>
evdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvnDellInc.:bvrA13:bd11/17/2013:svnDellInc.:pnLatitudeE6220:pvr01:rvnDellInc.:rn00W5HN:rvrA00:cvnDellInc.:ct9:cvr:*
 EVDEV_ABS_00=83:1801:<x resolution>
 EVDEV_ABS_01=151:1328:<y resolution>
 EVDEV_ABS_35=83:1801:<x resolution>
 EVDEV_ABS_36=151:1328:<y resolution>

I get different values each time, for example:
Touchpad sends: x [93..1813], y [155..1309]
Touchpad sends: x [81..1815], y [154..1307]
Touchpad sends: x [76..1815], y [131..1330]

Comment 5 Peter Hutterer 2016-01-04 03:20:11 UTC
Created attachment 1111282 [details]
evemu recording from a scroll up (see comment 4)

Please don't link to pastebin files, they are harder to get to and may expire. Always attach files as bugzilla attachment (or paste them in the comment if short enough).

Comment 6 Peter Hutterer 2016-01-04 04:05:44 UTC
give this one a try please: http://koji.fedoraproject.org/koji/taskinfo?taskID=12399162
best to restart to make sure it applies correctly. Check with evemu-describe that the axes have the updated axis range and a resolution set.

Comment 7 Lasse Kliemann 2016-01-04 10:23:01 UTC
Created attachment 1111449 [details]
evemu-describe differences

diff showing differences in evemu-describe output before and after installing files from http://koji.fedoraproject.org/koji/taskinfo?taskID=12399162

Comment 8 Lasse Kliemann 2016-01-04 10:27:50 UTC
Addendum to Comment 7: edge scrolling now works, and movement is easier to control - although not perfect yet, still a bit too fast. In the touchpad control module, most options are still disabled, for example pointer motion speed cannot be adjusted.

Comment 9 Peter Hutterer 2016-01-04 22:04:05 UTC
most options are disabled because libinput doesn't provide the matching options. in the case of pointer motion speed - that needs updates in the KDE panel, gnome can now control the pointer motion speed.

I'll get the hwdb updates into the systemd repo, it should trickle down from there. Thanks for testing.

Comment 10 Peter Hutterer 2016-01-13 05:32:29 UTC
merged upstream, please backport. thanks

https://github.com/systemd/systemd/commit/75e60eea5853620fbb32efb5e7b7982aef374357

Comment 12 Fedora Update System 2016-01-25 10:58:57 UTC
systemd-222-13.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3d6ff41417

Comment 13 Fedora Update System 2016-01-26 04:28:18 UTC
systemd-222-13.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3d6ff41417

Comment 14 Pavlo Rudyi 2016-01-26 08:02:33 UTC
Scrolling works but only with two or three fingers swap. This is normally?

Comment 15 Peter Hutterer 2016-01-27 03:38:15 UTC
"two or three fingers swap"? I don't know what you're referring to here, sorry.

Comment 16 Pavlo Rudyi 2016-01-28 10:23:07 UTC
In (In reply to Peter Hutterer from comment #15)
> "two or three fingers swap"? I don't know what you're referring to here,
> sorry.

In the classical scheme I can scroll with one finger on the right or bottom edges of the touchpad. After update the scrolling works in all surface with only 2 or 3 fingers. How to revert it?

Comment 17 Fedora Update System 2016-01-28 18:21:52 UTC
systemd-222-13.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Peter Hutterer 2016-01-29 04:13:36 UTC
Pavlo: enable edge scrolling in the gnome-control center


Note You need to log in before you can comment on or make changes to this bug.