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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 6 14:05:35 UTC 2017


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

            Bug ID: 99695
           Summary: Can't manage acceleration on HP 255 G5 "SynPS/2
                    Synaptics TouchPad"
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: giuseppemargarita at gmail.com

Created attachment 129365
  --> https://bugs.freedesktop.org/attachment.cgi?id=129365&action=edit
evemu record

Hello, I wanted to use libinput on Arch Linux x64, it became the default
library for pointing devices on this distro. But unfortunately I had to return
back using synaptics because libinput causes the pointer to be less comfortable
to control.

libinput version is 1.6.1-1 (can't specify it in the form above)
xf86-input-libinput package version on Arch is 0.23.0-1

The touchpad is a "SynPS/2 Synaptics" on my laptop, model: HP 255 G5. 

Its behavior is strange. When I move my finger little, the pointer moves fast,
so it is not precise like on the old synaptics driver. Even if I lower the
acceleration option, the behavior is the same.

This is the list of available options:
$ xinput list-props 11
Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (142):   1
        Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (277): 1
        libinput Tapping Enabled Default (278): 0
        libinput Tapping Drag Enabled (279):    1
        libinput Tapping Drag Enabled Default (280):    1
        libinput Tapping Drag Lock Enabled (281):       0
        libinput Tapping Drag Lock Enabled Default (282):       0
        libinput Tapping Button Mapping Enabled (283):  0, 1
        libinput Tapping Button Mapping Default (284):  1, 0
        libinput Accel Speed (285):     -0.400000
        libinput Accel Speed Default (286):     0.000000
        libinput Natural Scrolling Enabled (287):       0
        libinput Natural Scrolling Enabled Default (288):       0
        libinput Send Events Modes Available (262):     1, 1
        libinput Send Events Mode Enabled (263):        0, 0
        libinput Send Events Mode Enabled Default (264):        0, 0
        libinput Left Handed Enabled (289):     0
        libinput Left Handed Enabled Default (290):     0
        libinput Scroll Methods Available (291):        1, 1, 0
        libinput Scroll Method Enabled (292):   1, 0, 0
        libinput Scroll Method Enabled Default (293):   1, 0, 0
        libinput Disable While Typing Enabled (294):    1
        libinput Disable While Typing Enabled Default (295):    1
        Device Node (265):      "/dev/input/event13"
        Device Product ID (266):        2, 7
        libinput Drag Lock Buttons (296):       <no items>
        libinput Horizontal Scroll Enabled (297):       1

"Accel Speed" at -0.4 is the best value I found after lots of test, but the
pointer movement is strange anyway.

This is my custom xorg configuration stored at
/etc/X11/xorg.conf.d/30-libinput.conf:
Section "InputClass"
    Identifier                          "Touchpad"
    Driver                              "libinput"
    MatchIsTouchpad                     "on"
    Option      "AccelProfile"          "adaptive"
    Option      "Tapping"               "on"
    Option      "TappingButtonMap"      "lmr"
    Option      "AccelerationScheme"    "none"
    Option      "AccelSpeed"            "-0.4"
    Option      "ScrollMethod"          "twofinger"
    Option      "HorizontalScrolling"   "on"
EndSection 

AccelProfile option is set, but I can't see it in the xorg log:
[    17.179] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad
(/dev/input/event13)
[    17.179] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput
touchpad catchall"
[    17.180] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Touchpad"
[    17.180] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics
TouchPad'
[    17.180] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    17.180] (**) Option "Device" "/dev/input/event13"
[    17.180] (**) Option "_source" "server/udev"
[    17.181] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event13
is tagged by udev as: Touchpad
[    17.181] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event13
is a touchpad
[    17.237] (**) Option "Tapping" "on"
[    17.237] (**) Option "TappingButtonMap" "lmr"
[    17.237] (**) Option "AccelSpeed" "-0.4"
[    17.237] (**) Option "ScrollMethod" "twofinger"
[    17.237] (**) Option "HorizontalScrolling" "on"
[    17.237] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio1/input/input8/event13"
[    17.237] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics
TouchPad" (type: TOUCHPAD, id 11)
[    17.238] (**) Option "AccelerationScheme" "none"
[    17.238] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    17.238] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor:
2.000
[    17.238] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    17.239] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event13
is tagged by udev as: Touchpad
[    17.239] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event13
is a touchpad

But there's AccelerationScheme to none. Even if I set AccelProfile to flat, the
xorg log is the same. So I think that libinput misses acceleration profile on
my touchpad model.

In fact, libinput-list-devices command returns:
Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event13
Group:            6
Seat:             seat0, default
Size:             108.05x42.16mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

As you can see, Accel profiles is none.

udev info are
$ udevadm info /dev/input/event13
P: /devices/platform/i8042/serio1/input/input8/event13
N: input/event13
E: DEVNAME=/dev/input/event13
E: DEVPATH=/devices/platform/i8042/serio1/input/input8/event13
E: ID_BUS=i8042
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=42
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
E: ID_INPUT_WIDTH_MM=108
E: LIBINPUT_DEVICE_GROUP=11/2/7/1b1:isa0060/serio1
E: LIBINPUT_MODEL_SYNAPTICS_SERIAL_TOUCHPAD=1
E: MAJOR=13
E: MINOR=77
E: SUBSYSTEM=input
E: USEC_INITIALIZED=15768187

108x42 mm is the real physical dimension, as correctly reported by udev.

/sys/class/dmi/id/modalias content is:
dmi:bvnInsyde:bvrF.13:bd07/21/2016:svnHewlett-Packard:pnHP255G5NotebookPC:pvrType1ProductConfigId:rvnHewlett-Packard:rn81F5:rvr66.26:cvnHewlett-Packard:ct10:cvrChassisVersion:

evemu record is attached.

So, what can I do? I would use libinput, but synaptics is still better. Will
you introduce acceleration profile for this touchpad model in the future?

-- 
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/20170206/3e048a6c/attachment.html>


More information about the wayland-bugs mailing list