<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Reduce/remove two-finger scrolling threshold"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93504#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Reduce/remove two-finger scrolling threshold"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93504">bug 93504</a>
from <span class="vcard"><a class="email" href="mailto:lagoon42@gmail.com" title="Cyril B. <lagoon42@gmail.com>"> <span class="fn">Cyril B.</span></a>
</span></b>
<pre># touchpad-edge-detector /dev/input/event9
Touchpad DLL0704:01 06CB:76AD Touchpad on /dev/input/event9
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..1216], y [0..680]
Touchpad sends: x [0..1216], y [0..680] |\-\
^C
Touchpad size as listed by the kernel: 101x56mm
Calculate resolution as:
x axis: 1216/<width in mm>
y axis: 680/<height in mm>
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:DLL0704:01 06CB:76AD
Touchpad:dmi:bvnDellInc.:bvr1.1.7:bd11/27/2015:svnDellInc.:pnXPS139350:pvr:rvnDellInc.:rn07TYC2:rvrA01:cvnDellInc.:ct9:cvr:*
EVDEV_ABS_00=0:1216:<x resolution>
EVDEV_ABS_01=0:680:<y resolution>
EVDEV_ABS_35=0:1216:<x resolution>
EVDEV_ABS_36=0:680:<y resolution>
# evemu-describe /dev/input/event9
# EVEMU 1.3
# Kernel: 4.4.0-1-ARCH
# DMI:
dmi:bvnDellInc.:bvr1.1.7:bd11/27/2015:svnDellInc.:pnXPS139350:pvr:rvnDellInc.:rn07TYC2:rvrA01:cvnDellInc.:ct9:cvr:
# Input device name: "DLL0704:01 06CB:76AD Touchpad"
# Input device ID: bus 0x18 vendor 0x6cb product 0x76ad version 0x100
# Supported events:
# Event type 0 (EV_SYN)
# Event code 0 (SYN_REPORT)
# Event code 1 (SYN_CONFIG)
# Event code 2 (SYN_MT_REPORT)
# Event code 3 (SYN_DROPPED)
# Event code 4 ((null))
# Event code 5 ((null))
# Event code 6 ((null))
# Event code 7 ((null))
# Event code 8 ((null))
# Event code 9 ((null))
# Event code 10 ((null))
# Event code 11 ((null))
# Event code 12 ((null))
# Event code 13 ((null))
# Event code 14 ((null))
# Event type 1 (EV_KEY)
# Event code 272 (BTN_LEFT)
# Event code 325 (BTN_TOOL_FINGER)
# Event code 330 (BTN_TOUCH)
# Event code 333 (BTN_TOOL_DOUBLETAP)
# Event code 334 (BTN_TOOL_TRIPLETAP)
# Event type 3 (EV_ABS)
# Event code 0 (ABS_X)
# Value 991
# Min 0
# Max 1216
# Fuzz 0
# Flat 0
# Resolution 12
# Event code 1 (ABS_Y)
# Value 180
# Min 0
# Max 680
# Fuzz 0
# Flat 0
# Resolution 12
# Event code 47 (ABS_MT_SLOT)
# Value 2
# Min 0
# Max 2
# Fuzz 0
# Flat 0
# Resolution 0
# Event code 53 (ABS_MT_POSITION_X)
# Value 0
# Min 0
# Max 1216
# Fuzz 0
# Flat 0
# Resolution 12
# Event code 54 (ABS_MT_POSITION_Y)
# Value 0
# Min 0
# Max 680
# Fuzz 0
# Flat 0
# Resolution 12
# Event code 57 (ABS_MT_TRACKING_ID)
# Value 0
# Min 0
# Max 65535
# Fuzz 0
# Flat 0
# Resolution 0
# Properties:
# Property type 0 (INPUT_PROP_POINTER)
# Property type 2 (INPUT_PROP_BUTTONPAD)
N: DLL0704:01 06CB:76AD Touchpad
I: 0018 06cb 76ad 0100
P: 05 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 01 00 00 00 00 00
B: 01 20 64 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 00 00 00 00 00 00 00 00
B: 03 03 00 00 00 00 80 60 02
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 14 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
A: 00 0 1216 0 0 12
A: 01 0 680 0 0 12
A: 2f 0 2 0 0 0
A: 35 0 1216 0 0 12
A: 36 0 680 0 0 12
A: 39 0 65535 0 0 0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>