touchpad setup with libinput

Pardub

Member

Reaction score: 5
Messages: 22

Hi everyone,

I installed FreeBSD 13.0 and Mate desktop installed but I have 2 issues wit the touchpad which is a Alps model (at least, that's how it was described under W10 by cheeking the settings).

The touchpad itself is working, the left and right button as well.

1) But I’m unable to modify permanently the touchpad acceleration speed.

The following command xinput set-prop 12 "libinput Accel Speed" 0.9 does modify the acceleration speed but as expected, the change doesn’t survive after a reboot.

Under /usr/local/etx/X11/xorg.conf.d/ I created the file “30-mylibinput.conf” and added the following lines.

Code:
Section "InputClass"

Identifier "libinput touchpad catchall"

Driver "libinput"

MatchIsTouchpad "on"

MatchDevicePath "/dev/input/event*"

Option "AccelSpeed" "0.5"

Option "ClickMethod" "clickfinger"

Option "DisableWhileTyping" "on"

Option "HorizontalScrolling" "on"

Option "LeftHanded" "off"

Option "NaturalScrolling" "off"

Option "ScrollMethod" "twofinger"

Option "Tapping" "on"

Option "TappingDrag" "on"

Option "TappingDragLock" "off"

EndSection


2) The second issue is I can’t set up the 2 fingers scrolling.

In the file above 30-mylibinput.conf, the method Option "ScrollMethod" "twofinger" doesn't seem to produce any change after a reboot.

If I run the command xinput set-prop 12 289 1, there is the output:


Code:
example% xinput set-prop 12 289 1
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  20
  Current serial number in output stream:  21
example%


Some extra outputs:

xinput list
Code:
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ System mouse                                id=6    [slave  pointer  (2)]
⎜   ↳ GlidePoint                                  id=12    [slave  pointer  (2)]
⎜   ↳ Atmel maXTouch Digitizer                    id=13    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ System keyboard multiplexer                 id=7    [slave  keyboard (3)]
    ↳ ACPI video extension                        id=8    [slave  keyboard (3)]
    ↳ Power Button                                id=9    [slave  keyboard (3)]
    ↳ Sleep Button                                id=10    [slave  keyboard (3)]
    ↳ AT keyboard                                 id=11    [slave  keyboard (3)]

xinput list-props 12 after reboot

Device 'GlidePoint':
Device Enabled (160): 1
Coordinate Transformation Matrix (161): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (283): 0
libinput Natural Scrolling Enabled Default (284): 0
libinput Scroll Methods Available (285): 0, 0, 1
libinput Scroll Method Enabled (286): 0, 0, 0
libinput Scroll Method Enabled Default (287): 0, 0, 0
libinput Button Scrolling Button (288): 3
libinput Button Scrolling Button Default (289): 3
libinput Button Scrolling Button Lock Enabled (290): 0
libinput Button Scrolling Button Lock Enabled Default (291): 0
libinput Accel Speed (294): 0.000000
libinput Accel Speed Default (295): 0.000000
libinput Accel Profiles Available (296): 1, 1
libinput Accel Profile Enabled (297): 1, 0
libinput Accel Profile Enabled Default (298): 1, 0
libinput Left Handed Enabled (299): 0
libinput Left Handed Enabled Default (300): 0
libinput Send Events Modes Available (301): 1, 0
libinput Send Events Mode Enabled (302): 0, 0
libinput Send Events Mode Enabled Default (303): 0, 0
Device Node (304): "/dev/input/event7"
Device Product ID (305): 2, 1
libinput Drag Lock Buttons (306): <no items>
libinput Horizontal Scroll Enabled (307): 1


Thank you for your help.
 
Top