Bug 97433

Summary: ALPS touchpad edge too small
Product: Wayland Reporter: Ignacio Casal Quinteiro <nacho.resa>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: nacho.resa, peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: evemu.log

Description Ignacio Casal Quinteiro 2016-08-21 19:42:03 UTC
I have another dell laptop which with the new libinput stuff seems to provide a very small area for edge scrolling. Here is the info from running:

[ola@olka linux64]$ sudo touchpad-edge-detector /dev/input/event6
[sudo] hasło użytkownika ola: 
Touchpad AlpsPS/2 ALPS GlidePoint on /dev/input/event6
Move one finger around the touchpad to detect the actual edges
Kernel says:	x [0..1023], y [0..767]
Touchpad sends:	x [85..947], y [154..726] /^C

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

Suggested udev rule:
# <Laptop model description goes here>
evdev:name:AlpsPS/2 ALPS GlidePoint:dmi:bvnDellInc.:bvrA12:bd11/19/2008:svnDellInc.:pnXPSM1530:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:*
 EVDEV_ABS_00=85:947:<x resolution>
 EVDEV_ABS_01=154:726:<y resolution>

Let me know if you need more info.
Comment 1 Ignacio Casal Quinteiro 2016-08-21 19:48:17 UTC
Created attachment 125936 [details]
evemu.log

Here the evemu log as well in case it is of any help.
Comment 2 Ignacio Casal Quinteiro 2016-08-21 19:50:45 UTC
Also the real size of the touchpad is 71x44 mm
Comment 3 Peter Hutterer 2016-08-21 23:17:50 UTC
PR submitted, closing, please reopen if it gets delayed or rejected or something.

https://github.com/systemd/systemd/pull/4016

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.