You are not logged in.

#1 2017-05-23 19:52:24

localost
Member
Registered: 2017-03-20
Posts: 6

Cannot configure devices using libinput

I'm running a Lenovo X1 2017, some time ago I could configure my trackpoint/trackpad without problems using xinput with libinput, now some update seems to have broken my setup.
xinput now only shows some wayland devices:

$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:13                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:13            	id=7	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:13                    	id=8	[slave  keyboard (3)]

While libinput-list-devices lists everything correctly:

# libinput-list-devices 
Device:           Power Button
Kernel:           /dev/input/event3
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event7
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Integrated Camera
Kernel:           /dev/input/event5
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event0
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event14
Group:            6
Seat:             seat0, default
Size:             98x53mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

Device:           ImPS/2 Generic Wheel Mouse
Kernel:           /dev/input/event15
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           ThinkPad Extra Buttons
Kernel:           /dev/input/event4
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

I've also copied the xorg  config for libinput, but that doesnt seem to have any effect:

# cat /etc/X11/xorg.conf.d/40-libinput.conf 
# 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"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Any help would be appreciated as I have no idea how to debug this (also no log seems to show any errors related to this problem).

Offline

#2 2017-05-23 21:49:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,373

Re: Cannot configure devices using libinput

Because you're on (likely gone on) wayland - explicitly select gnome on xorg at login.

Offline

#3 2017-05-24 06:13:01

phw
Member
Registered: 2013-05-27
Posts: 318

Re: Cannot configure devices using libinput

As seth said, see also the following blog post for details and backgrounds: http://who-t.blogspot.de/2017/05/xinput … inter.html

Offline

#4 2017-05-24 08:37:45

localost
Member
Registered: 2017-03-20
Posts: 6

Re: Cannot configure devices using libinput

Yes thought that this is related to wayland somehow, but though that not sure how to configure certain stuff now (eg. two-finger scrolling with touchpad or middle-button scroll with the trackpoint - read once somewhere that this should even work out of the box when using libinput).

Last edited by localost (2017-05-24 12:02:21)

Offline

#5 2017-05-24 10:36:54

phw
Member
Registered: 2013-05-27
Posts: 318

Re: Cannot configure devices using libinput

As stated in the blog post I linked you use the tools provided by the compositor to configure such things. In Gnome you can configure this in settings under mouse and trackpad. You can enable / disable two finger scrolling there.

No idea about "middle-button scroll with the trackpad", I don't even know what a trackpad is smile

Offline

#6 2017-05-24 12:02:54

localost
Member
Registered: 2017-03-20
Posts: 6

Re: Cannot configure devices using libinput

Offline

#7 2017-05-24 13:56:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,373

Re: Cannot configure devices using libinput

You're down to the config in gsettings - if that doesn't cover your needs, resort to gnome on xorg for the time being.
You cannot configure wayland input using the X11 configuration mechanisms.

Offline

Board footer

Powered by FluxBB