Disable touchpad tap to click?
#21
OK, this looks better.  Settings here correspond with what's in your xorg.conf files and what you can find in the synaptics man page.  Now I can work on making changes.
Code:
[    23.892] (II) LoadModule: "synaptics"
[    23.893] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    23.894] (II) Module synaptics: vendor="X.Org Foundation"
[    23.895] compiled for 1.19.0, module version = 1.9.0
[    23.895] Module class: X.Org XInput Driver
[    23.895] ABI class: X.Org XInput driver, version 24.1
[    23.895] (II) Using input driver 'synaptics' for 'HAILUCK CO.,LTD USB KEYBOARD Touchpad'
[    23.896] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 31 paused 0
[    23.897] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: always reports core events
[    23.897] (**) Option "Device" "/dev/input/event2"
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: found clickpad property
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: x-axis range 0 - 1400 (res 29)
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: y-axis range 0 - 914 (res 29)
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: device does not report pressure, will use touch data.
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: device does not report finger width.
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: buttons: left double triple
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: Vendor 0x258a Product 0x1e
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: invalid pressure range.  defaulting to 0 - 255
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: invalid finger width range.  defaulting to 0 - 15
[    23.897] (**) Option "FingerLow" "20"
[    23.897] (**) Option "FingerHigh" "35"
[    23.897] (**) Option "ClickTime" "50"
[    23.898] (**) Option "TapButton1" "1"
[    23.898] (**) Option "TapButton2" "3"
[    23.898] (**) Option "ClickFinger1" "3"
[    23.898] (**) Option "ClickFinger2" "2"
[    23.898] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    23.898] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: touchpad found
[    23.898] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: always reports core events
[    23.898] (**) Option "config_info" "udev:/sys/devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:258A:001E.0002/input/input2/event2"
[    23.898] (II) XINPUT: Adding extended input device "HAILUCK CO.,LTD USB KEYBOARD Touchpad" (type: TOUCHPAD, id 7)
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) MaxSpeed is now 1.75
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) AccelFactor is now 0.120
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) keeping acceleration scheme 1
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration profile 1
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration factor: 2.000
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration threshold: 4
[    23.899] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: touchpad found
[    23.901] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[    23.901] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
#22
(02-09-2020, 04:42 PM)ab1jx Wrote: OK, this looks better.  Settings here correspond with what's in your xorg.conf files and what you can find in the synaptics man page.  Now I can work on making changes.
Code:
[    23.892] (II) LoadModule: "synaptics"
[    23.893] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    23.894] (II) Module synaptics: vendor="X.Org Foundation"
[    23.895] compiled for 1.19.0, module version = 1.9.0
[    23.895] Module class: X.Org XInput Driver
[    23.895] ABI class: X.Org XInput driver, version 24.1
[    23.895] (II) Using input driver 'synaptics' for 'HAILUCK CO.,LTD USB KEYBOARD Touchpad'
[    23.896] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 31 paused 0
[    23.897] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: always reports core events
[    23.897] (**) Option "Device" "/dev/input/event2"
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: found clickpad property
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: x-axis range 0 - 1400 (res 29)
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: y-axis range 0 - 914 (res 29)
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: device does not report pressure, will use touch data.
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: device does not report finger width.
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: buttons: left double triple
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: Vendor 0x258a Product 0x1e
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: invalid pressure range.  defaulting to 0 - 255
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: invalid finger width range.  defaulting to 0 - 15
[    23.897] (**) Option "FingerLow" "20"
[    23.897] (**) Option "FingerHigh" "35"
[    23.897] (**) Option "ClickTime" "50"
[    23.898] (**) Option "TapButton1" "1"
[    23.898] (**) Option "TapButton2" "3"
[    23.898] (**) Option "ClickFinger1" "3"
[    23.898] (**) Option "ClickFinger2" "2"
[    23.898] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    23.898] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: touchpad found
[    23.898] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: always reports core events
[    23.898] (**) Option "config_info" "udev:/sys/devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:258A:001E.0002/input/input2/event2"
[    23.898] (II) XINPUT: Adding extended input device "HAILUCK CO.,LTD USB KEYBOARD Touchpad" (type: TOUCHPAD, id 7)
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) MaxSpeed is now 1.75
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) AccelFactor is now 0.120
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) keeping acceleration scheme 1
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration profile 1
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration factor: 2.000
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration threshold: 4
[    23.899] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: touchpad found
[    23.901] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[    23.901] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"

ab1jx, could you please post your changes configs? how did you get synapics to load?
#23
(02-09-2020, 04:42 PM)ab1jx Wrote: OK, this looks better.  Settings here correspond with what's in your xorg.conf files and what you can find in the synaptics man page.  Now I can work on making changes.
Code:
[    23.892] (II) LoadModule: "synaptics"
[    23.893] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    23.894] (II) Module synaptics: vendor="X.Org Foundation"
[    23.895] compiled for 1.19.0, module version = 1.9.0
[    23.895] Module class: X.Org XInput Driver
[    23.895] ABI class: X.Org XInput driver, version 24.1
[    23.895] (II) Using input driver 'synaptics' for 'HAILUCK CO.,LTD USB KEYBOARD Touchpad'
[    23.896] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 31 paused 0
[    23.897] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: always reports core events
[    23.897] (**) Option "Device" "/dev/input/event2"
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: found clickpad property
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: x-axis range 0 - 1400 (res 29)
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: y-axis range 0 - 914 (res 29)
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: device does not report pressure, will use touch data.
[    23.897] (II) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: device does not report finger width.
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: buttons: left double triple
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: Vendor 0x258a Product 0x1e
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: invalid pressure range.  defaulting to 0 - 255
[    23.897] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: invalid finger width range.  defaulting to 0 - 15
[    23.897] (**) Option "FingerLow" "20"
[    23.897] (**) Option "FingerHigh" "35"
[    23.897] (**) Option "ClickTime" "50"
[    23.898] (**) Option "TapButton1" "1"
[    23.898] (**) Option "TapButton2" "3"
[    23.898] (**) Option "ClickFinger1" "3"
[    23.898] (**) Option "ClickFinger2" "2"
[    23.898] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    23.898] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: touchpad found
[    23.898] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: always reports core events
[    23.898] (**) Option "config_info" "udev:/sys/devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:258A:001E.0002/input/input2/event2"
[    23.898] (II) XINPUT: Adding extended input device "HAILUCK CO.,LTD USB KEYBOARD Touchpad" (type: TOUCHPAD, id 7)
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) MaxSpeed is now 1.75
[    23.898] (**) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) AccelFactor is now 0.120
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) keeping acceleration scheme 1
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration profile 1
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration factor: 2.000
[    23.899] (**) HAILUCK CO.,LTD USB KEYBOARD Touchpad: (accel) acceleration threshold: 4
[    23.899] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Touchpad: touchpad found
[    23.901] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[    23.901] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"

I managed to get Xorg to load synaptics, however touchpad still doesn't work. This is where I'm at now.

My synaptics config:

Code:
Section "InputClass"
   Identifier "HAILUCK CO.,LTD USB KEYBOARD Mouse"
   Driver "synaptics"
      MatchDevicePath "/dev/input/event1"
EndSection

Section "InputClass"
       Identifier "pointer catchall"
       Driver "synaptics"
       MatchIsTouchpad "on"
EndSection

Section "InputClass"
       Identifier "touchpad ignore duplicates"
       MatchIsTouchpad "on"
       MatchOS "Linux"
       MatchDevicePath "/dev/input/mouse*"
       Option "Ignore" "on"
EndSection


xorg.log (grep synaptics):

Code:
[    23.218] (II) LoadModule: "synaptics"
[    23.218] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    23.228] (II) Module synaptics: vendor="X.Org Foundation"
[    23.228] (II) Using input driver 'synaptics' for 'HAILUCK CO.,LTD USB KEYBOARD Mouse'
[    23.300] (EE) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: Synaptics driver unable to detect protocol
[    23.300] (II) UnloadModule: "synaptics"

Then I added


Option "Protocol" "event"

to first section. This is the xorg.log with it, again, grep synaptics:

Code:
[    22.807] (II) LoadModule: "synaptics"
[    22.807] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    22.818] (II) Module synaptics: vendor="X.Org Foundation"
[    22.818] (II) Using input driver 'synaptics' for 'HAILUCK CO.,LTD USB KEYBOARD Mouse'
[    22.819] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: Vendor 0x258a Product 0xc
[    22.819] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: invalid x-axis range.  defaulting to 1615 - 5685
[    22.819] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: invalid y-axis range.  defaulting to 1729 - 4171
[    22.819] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: invalid pressure range.  defaulting to 0 - 255
[    22.819] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: invalid finger width range.  defaulting to 0 - 15
[    22.819] (--) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: no supported touchpad found
[    22.819] (EE) synaptics: HAILUCK CO.,LTD USB KEYBOARD Mouse: Unable to query/initialize Synaptics hardware.
[    22.940] (II) UnloadModule: "synaptics"

[]$ uname -r
5.3.0-3-MANJARO-ARM
[]$ lsb_release -a
LSB Version:    n/a
Distributor ID: Manjaro-ARM
Description:    Manjaro ARM Linux
Release:        19.10
Codename:       n/a

hardware:

1080p pinebook 11 inch
#24
I don't get email notifications on follow-up posts, and "Subscribe and receive email notification of new replies" is checked and my email address is correct.  I get emails from the Pine Store about shipping but I've never gotten one from this board.

I'm not using the synaptics driver, I'm using the libinput drover.  Maybe synaptics got rolled into libinput, I don't know.  Using Debian Stretch as originally came on my eMMC, dpkg-query -l | grep libinput shows me:
Code:
ii  libinput-bin                                                1.6.3-1
ii  libinput10:armhf                                            1.6.3-1
ii  xserver-xorg-input-libinput                                 0.23.0-2

In /usr/share/X11/xorg.conf.d I have:
Code:
10-amdgpu.conf
10-evdev.conf
10-quirks.conf
11-flags.conf
40-libinput.conf
40-libinput.conf.orig

You can disable a .conf file by renaming it to anytbing else (like .off or .txt) but I apparently got rid of them entirely, which makes the driver not load.  The only significant change to libinput.conf I think was to enable a drag on the right edge of the touchpad to act like a mouse wheel for scrolling.  That's in the libinput man page I think.  Notice ScrollMethod below.

My libinput.conf:
Code:
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
       Identifier "libinput pointer catchall"
       MatchIsPointer "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

Section "InputClass"
       Identifier "libinput keyboard catchall"
       MatchIsKeyboard "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

Section "InputClass"
       Identifier "libinput touchpad catchall"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
Option "ScrollMethod" "edge"
EndSection

# Don't want this
Section "InputClass"
       Identifier "libinput touchscreen catchall"
       MatchIsTouchscreen "off"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

# Don't want this
Section "InputClass"
       Identifier "libinput tablet catchall"
       MatchIsTablet "off"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

I specifically didn't want gestures.  It seemed like there might be multiple drivers loading, I don't now if they conflict or not.  I turned them off by removing the .conf files, the drivers are still there.
#25
(04-27-2020, 06:25 PM)ab1jx Wrote: I don't get email notifications on follow-up posts, and "Subscribe and receive email notification of new replies" is checked and my email address is correct.  I get emails from the Pine Store about shipping but I've never gotten one from this board.

I'm not using the synaptics driver, I'm using the libinput drover.  Maybe synaptics got rolled into libinput, I don't know.  Using Debian Stretch as originally came on my eMMC, dpkg-query -l | grep libinput shows me:
Code:
ii  libinput-bin                                                1.6.3-1
ii  libinput10:armhf                                            1.6.3-1
ii  xserver-xorg-input-libinput                                 0.23.0-2

In /usr/share/X11/xorg.conf.d I have:
Code:
10-amdgpu.conf
10-evdev.conf
10-quirks.conf
11-flags.conf
40-libinput.conf
40-libinput.conf.orig

You can disable a .conf file by renaming it to anytbing else (like .off or .txt) but I apparently got rid of them entirely, which makes the driver not load.  The only significant change to libinput.conf I think was to enable a drag on the right edge of the touchpad to act like a mouse wheel for scrolling.  That's in the libinput man page I think.  Notice ScrollMethod below.

My libinput.conf:
Code:
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
       Identifier "libinput pointer catchall"
       MatchIsPointer "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

Section "InputClass"
       Identifier "libinput keyboard catchall"
       MatchIsKeyboard "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

Section "InputClass"
       Identifier "libinput touchpad catchall"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
Option "ScrollMethod" "edge"
EndSection

# Don't want this
Section "InputClass"
       Identifier "libinput touchscreen catchall"
       MatchIsTouchscreen "off"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

# Don't want this
Section "InputClass"
       Identifier "libinput tablet catchall"
       MatchIsTablet "off"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

I specifically didn't want gestures.  It seemed like there might be multiple drivers loading, I don't now if they conflict or not.  I turned them off by removing the .conf files, the drivers are still there.

Thank you for your logs and configs.

Not sure if I need to quote your message, so just in case I do.

I just saw this message in xorg.conf you loaded:


Code:
[    23.895] (II) Using input driver 'synaptics' for 'HAILUCK CO.,LTD USB KEYBOARD Touchpad'

And all the messages further in your log suggest that synaptics identified your touchpad properly unlike mine where it says that couldn't detect touchpad etc etc.

Do you use pinebook or pinebook pro?

Your touchpad is identified as touchpad, mine as mouse. I can do two-finger scrolling but I can't do touch to click. This is my problem. I though synaptics could help me with that.
#26
That was early on before I gave up on the Synaptics driver I think.  I tried for a while to use it, gave up.

The name is only important I think in that it has to match the same thing somewhere else.  You can change both together and it will work.  Like display0 has to match display0 somewhere else.  Or you can change it to a brand and model as long as it matches.

In the libinput man page I see:
Code:
.      Option "Tapping" "bool"
             Enables or disables tap-to-click behavior.
I don't know if that's what you're looking for.  I always turn it off.  Or ignore it but don't enable it.

I have a Pinebook Pro 14 inch, 1920x1080, ANSI keyboard that came in January 2020.  Debian Stretch maybe more importantly.


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to enable touchpad natural scrolling? plumlis 3 7,207 07-19-2020, 02:46 PM
Last Post: Martin Gruber
  Proof of concept script to disable the touchpad while typing daid 21 31,910 02-25-2018, 06:47 PM
Last Post: pfeerick
Sad touchpad edges scrolling kurai021 11 15,687 07-09-2017, 05:56 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 7 Guest(s)