Bug 843333

Summary: middle-button trackpoint-scrolling no longer works on thinkpad
Product: [openSUSE] openSUSE Tumbleweed Reporter: Stefan Seyfried <seife>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium CC: eich, fsfbugs, msrb, robert-suse
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: change to /etc/X11/xorg.conf.d/11-evdev.conf to fix this issue

Description Stefan Seyfried 2013-09-30 21:06:57 UTC
after todays Factory update, middle-button + trackpoint scrolling no longer works on thinkpad X200s.

to reenable, I need to

ID=$(xinput list --id-only "TPPS/2 IBM TrackPoint")
xinput set-int-prop $ID "Evdev Wheel Emulation" 8 1
xinput set-int-prop $ID "Evdev Wheel Emulation Button" 8 2


it might of course be a new instance of "drop all useful functionality", in this case, just close this bug as invalid.

But I hope this is simply an bug and will be fixed before 13.1 :-)
Comment 1 Stefan Dirsch 2013-10-01 09:04:14 UTC
Hmm. We thought we no longer need these special cases. Hence we removed 
/etc/X11/xorg.conf.d/11-mouse.conf completely.

-------------------------------------------------------------------
Fri Sep 20 10:12:42 UTC 2013 - sndirsch@suse.com

- removed 11-mouse.conf xorg.conf.d snippet, since now most (if not
  all) the remappings that we have there are actually defaults, so
  doing nothing.  Also I consider them outdated, no longer matching
  at all, or even completely wrong.
-------------------------------------------------------------------

I guess the original entry works for you

Section "InputClass"
        # Novell Bug #597214
        Identifier      "IBM TPPS/2 TrackPoint"
        MatchProduct    "TPPS/2 IBM TrackPoint|ThinkPad USB Keyboard with TrackPoint"
        MatchIsPointer  "on"
        Driver  "evdev"
        Option  "EmulateWheel"  "on"
        Option  "EmulateWheelButton"    "2"
        Option  "YAxisMapping"    "4 5"
        Option  "XAxisMapping"    "6 7"
        Option  "Emulate3Buttons"    "on"
        Option  "EmulateWheelTimeout"    "200"
EndSection

Does that one work for you as well?

Section "InputClass"
        # Novell Bugs #597214, #780626, #843333
        Identifier      "IBM TPPS/2 TrackPoint|ThinkPad USB Keyboard with TrackPoint"
        MatchProduct    "TPPS/2 IBM TrackPoint"
        MatchIsPointer  "on"
        Driver  "evdev"
        Option  "EmulateWheel"  "on"
        Option  "EmulateWheelButton"    "2"
EndSection
Comment 2 Stefan Seyfried 2013-10-12 08:30:59 UTC
Yes, the second, shorter one does work for me, it seems equivalent to my xinput script from comment#0
Comment 3 Stefan Dirsch 2013-10-14 14:41:00 UTC
Thanks. Fix submitrequested for openSUSE:Factory.
Comment 4 Stefan Dirsch 2013-10-14 14:41:36 UTC
SR#203252 (xf86-input-evdev package)
Comment 5 Stefan Dirsch 2013-10-14 14:45:08 UTC
(In reply to comment #4)
> SR#203252 (xf86-input-evdev package)

Sorry. It is SR#203271.
Comment 6 Bernhard Wiedemann 2013-10-14 15:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (843333) was mentioned in
https://build.opensuse.org/request/show/203271 Factory / xf86-input-evdev
Comment 7 Bernhard Wiedemann 2013-10-14 15:00:20 UTC
This is an autogenerated message for OBS integration:
This bug (843333) was mentioned in
https://build.opensuse.org/request/show/203252 Factory / xf86-input-evdev
Comment 8 FSF Bugs 2013-11-01 19:19:31 UTC
The same bug applies to non-ThinkPad trackpoints: middle button scrolling stopped working on my Samsung 600B laptop in 13.1 RC1 (coming from 12.3). The trackpoint is reported by xinput as "PS/2 Generic Mouse". Adding the string to MatchProduct in "11-evdev.conf" makes it work again.
Comment 9 Stefan Dirsch 2013-11-26 14:12:39 UTC
Well, "PS/2 Generic Mouse" doesn't really sound generic for a trackpoint to me, seriously. No option to add this to MatchProduct IMO.
Comment 10 FSF Bugs 2013-11-27 15:54:29 UTC
I understand that but I know too little about the subject matter to give a proper solution. I merely wanted to point out that (1) it worked out-of-the-box in 12.3 and that (2) it can be made to work in 13.1.

I had a dig through the old 12.3 configuration files and it seems that the following section from 11-mouse.conf (package xf86-input-mouse) ensured that my trackpoint worked properly (the referenced bug report might be relevant, too) 

Section "InputClass"
	# Novell Bug #668842
        Identifier      "PS/2 Generic Mouse"
        MatchProduct    "PS/2 Generic Mouse"
        MatchIsPointer  "on"
        Driver  "evdev"
        Option  "EmulateWheel"  "on"
        Option  "EmulateWheelButton"    "2"
        Option  "YAxisMapping"    "4 5"
        Option  "XAxisMapping"    "6 7"
        Option  "Emulate3Buttons"    "on"
        Option  "EmulateWheelTimeout"    "200"
EndSection

Can a similar section be added in 13.1? Or can I give you any additional information to produce a less generic matching criterion?
Comment 11 Robert Riemann 2014-02-10 12:28:33 UTC
Created attachment 577846 [details]
change to /etc/X11/xorg.conf.d/11-evdev.conf to fix this issue

This patch needs to be integrated here?

https://build.opensuse.org/package/view_file/openSUSE:Factory/xf86-input-evdev/11-evdev.conf?expand=1

I will put a comment over there to this bug report.
Comment 12 Robert Riemann 2014-02-10 12:30:10 UTC
I'm sorry. Wrong Tab. -_-. My last comment was meant for Bug #861813