Fedora – Enable scrolling with trackpoint+middleclick on wayland

fedoralibinputthinkpadwaylandxorg

I installed Fedora 25 on my Thinkpad E470 and the Trackpoint works well.
But I cannot use the middle button (the button between left and right mouse click) to scroll.

Referring to this source it should be possible.

I found several hints on how to enable this feature on Xorg but I have no clue how to get it work with wayland.

Can anybody help out?

Related button and trackpoint

OS Info:

 Fedora 25
 Gnome 3.22.2
 Wayland 1.12.0
 libinput 1.6.3

Update:
Also libinput-debug-events does not recognize pressing the middle mouse button. libinput-list-devices prints the following:

Device:           TPPS/2 IBM TrackPoint
Kernel:           /dev/input/event8
Group:            8
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: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Best Answer

As I found out the linux kernel had a bug that prevented Fedora from detecting the trackpoint. As far as I know only trackpoints from the new *70 series are affected.

The bug was fixed in Linux 4.13.

Related Question