[Wayland-bugs] [Bug 99695] Can't manage acceleration profile on HP 255 G5 "SynPS/2 Synaptics TouchPad"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 14 10:13:53 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99695

--- Comment #12 from giuseppemargarita at gmail.com ---
(In reply to Peter Hutterer from comment #11)
> grab this branch here:
> https://github.com/whot/libinput/tree/wip/touchpad-accel-debug-output
> 
> build it:
> https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html
> 
> then run sudo ./tools/event-debug --verbose
> 
> Move your finger on the touchpad and look at the "touch movement" message
> whenever you lift a finger. What acceleration factor do you usually get?
> Note that this sums up the deltas, so stick to straight lines to make it
> mentally easier to map to the distance traveled.
> 
> Also make sure that the mm distance is correct, just in case.

I usually get avg factor 0.3. Sometimes 0.2 and other times 0.4.

The distance traveled is quite real. The total width is about 108 mm. When I
touch the edges (left or right) I get:
palm: palm detected (edge)

And in this case when I move the finger to the center, the pointer doesn't
move:
palm: palm detected (edge)
button state: from BUTTON_STATE_NONE, event BUTTON_EVENT_IN_AREA to
BUTTON_STATE_AREA
button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to
BUTTON_STATE_NONE
event12: touch movement 0.0mm, pixels 0.0, raw px 0.0, avg factor -nan

But when I touch closer to the edge and move the finger horizontally across the
touchpad, the pointer moves and I get:
button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to
BUTTON_STATE_NONE
event12: touch movement 100.4mm, pixels 1459.0, raw px 3951.9, avg factor 0.4

Physical width is 108 mm.

"palm: palm detected (edge)" is not shown when I touch up and down edges.
Moving vertically from up to down edges gives me:
button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to
BUTTON_STATE_NONE
event12: touch movement 39.2mm, pixels 570.1, raw px 1542.4, avg factor 0.4

39 mm traveled, but physical height is 42 mm.

These are the lines about my touchpad when I start the debug:
event12: tagged as LIBINPUT_MODEL_SYNAPTICS_SERIAL_TOUCHPAD
input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is tagged by udev
as: Touchpad
SynPS/2 Synaptics TouchPad: using pressure-based touch detection
input device 'SynPS/2 Synaptics TouchPad', /dev/input/event12 is a touchpad
palm: dwt activated with SynPS/2 Synaptics TouchPad<->AT Translated Set 2
keyboard
-event12  DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default
group6  cap:pg  size 108x42mm tap(dl off) left scroll-nat scroll-2fg-edge
dwt-on

Ah, forget to mention, I have the following custom udev rules (got them from
touchpad-edge-detector):
# HP 255 G5
evdev:name:SynPS/2 Synaptics
TouchPad:dmi:bvnInsyde:bvrF.13:bd07/21/2016:svnHewlett-Packard:pnHP255G5NotebookPC:pvrType1ProductConfigId:rvnHewlett-Packard:rn81F5:rvr66.26:cvnHewlett-Packard:ct10:cvrChassisVersion:*
 EVDEV_ABS_00=1349:5629:40
 EVDEV_ABS_01=1098:4718:86
 EVDEV_ABS_35=1349:5629:40
 EVDEV_ABS_36=1098:4718:86

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170214/d20730d7/attachment.html>


More information about the wayland-bugs mailing list