Bug 100955 - Acer C720 Touchpad Pressure Range
Summary: Acer C720 Touchpad Pressure Range
Status: RESOLVED WORKSFORME
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-06 11:09 UTC by freedesktop
Modified: 2017-06-02 00:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description freedesktop 2017-05-06 11:09:15 UTC
The update from libinput 1.7.1 to 1.7.2 causes the touchpad on Acer C720 to need more pressure than before. I followed this page to adjust the settings and am filing this bug to get the pressure changes in the repository https://wayland.freedesktop.org/libinput/doc/latest/touchpad_pressure.html.

Here are the settings that seem comfortable to me:

$ cat /etc/udev/hwdb.d/99-touchpad-pressure.hwdb
libinput:name:*Cypress APA Trackpad (cyapa):dmi:*bvncoreboot:bvr4.0-6588-g4acd8ea-dirty:bd09/04/2014:svnGOOGLE:pnPeppy:pvr1.0:rvnGOOGLE:rnPeppy:rvr1.0:cvnGOOGLE:ct3:cvr:
 LIBINPUT_ATTR_PRESSURE_RANGE=23:20

From evemu:
# EVEMU 1.3
# Kernel: 4.10.13-1-ARCH
# DMI: dmi:bvncoreboot:bvr4.0-6588-g4acd8ea-dirty:bd09/04/2014:svnGOOGLE:pnPeppy:pvr1.0:rvnGOOGLE:rnPeppy:rvr1.0:cvnGOOGLE:ct3:cvr:
# Input device name: "Cypress APA Trackpad (cyapa)"
# Input device ID: bus 0x18 vendor 0000 product 0000 version 0x01
# Size in mm: 87x47

$ cat /sys/class/dmi/id/modalias
dmi:bvncoreboot:bvr4.0-6588-g4acd8ea-dirty:bd09/04/2014:svnGOOGLE:pnPeppy:pvr1.0:rvnGOOGLE:rnPeppy:rvr1.0:cvnGOOGLE:ct3:cvr:
Comment 1 Peter Hutterer 2017-05-08 01:43:23 UTC
Is the LIBINPUT_MODEL_CYAPA udev property set for your device? What's the output of udevadm info /sys/class/input/eventXXX for the right event node?
Comment 2 freedesktop 2017-05-09 12:43:10 UTC
I'm not sure if LIBINPUT_MODEL_CYAPA is set to the correct value.

# udevadm info /sys/class/input/event11
P: /devices/pci0000:00/0000:00:15.1/i2c-0/0-0067/input/input11/event11
N: input/event11
S: input/by-path/pci-0000:00:15.1-event-mouse
E: DEVLINKS=/dev/input/by-path/pci-0000:00:15.1-event-mouse
E: DEVNAME=/dev/input/event11
E: DEVPATH=/devices/pci0000:00/0000:00:15.1/i2c-0/0-0067/input/input11/event11
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=47
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=87
E: ID_PATH=pci-0000:00:15.1
E: ID_PATH_TAG=pci-0000_00_15_1
E: ID_SERIAL=noserial
E: LIBINPUT_ATTR_PRESSURE_RANGE=10:8
E: LIBINPUT_DEVICE_GROUP=18/0/0/1:i2c-0-0067
E: LIBINPUT_MODEL_CHROMEBOOK=1
E: LIBINPUT_MODEL_CYAPA=1
E: MAJOR=13
E: MINOR=75
E: SUBSYSTEM=input
E: USEC_INITIALIZED=8108960
Comment 3 Peter Hutterer 2017-05-19 05:29:16 UTC
sorry about the late answer.

Your current udevadm output says: 
E: LIBINPUT_ATTR_PRESSURE_RANGE=10:8
but in comment #0 you say that 23:20 is better for you. But as I understand it, you want the pressure needed to be lowered? If so, could it be that the hwdb didn't take effect before testing?
Comment 4 freedesktop 2017-06-02 00:19:08 UTC
It seems that this has resolved itself in an update possibly. I've removed  /etc/udev/hwdb.d/99-touchpad-pressure.hwdb and the touchpad works in the expected manner.
Comment 5 Peter Hutterer 2017-06-02 00:38:52 UTC
ok, thanks. I'm gonna go with the assumption that the hwdb didn't apply properly last time or something like that. Glad it's resolved though :)


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.