Bug 861813

Summary: Separate Lenovo Thinkpad USB keyboard is not setup correctly to allow scrolling with the trackpoint
Product: [openSUSE] openSUSE 13.1 Reporter: Robert Riemann <robert-suse>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: jreidinger
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- 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 Robert Riemann 2014-02-03 12:10:10 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

I got a USB keyboard which equals the inbuilt one of the Lenovo Thinkpads [1]. The keyboard has a trackpoint and 3 dedicated keys to replace the mouse buttons.

Opensuse 13.1 on my thinkpad setup the trackpoint to enable scrolling while the middle (mouse) key button is hold out-of-the-box. How do I get the same with my keyboard.

I can get it working with some xinput calls in the console:
xinput set-int-prop 10 "Evdev Wheel Emulation Button" 8 2 && xinput set-int-prop 10 "Evdev Wheel Emulation" 8 1

But this can only be a work-around. I think there must be a way to make this automatically by udev-rules or something like this.


[1]: http://www.amazon.de/LENOVO-ThinkPad-USB-Keyboard-TrackPoint/dp/B002XGUXPG/ref=sr_1_3?s=computers&ie=UTF8&qid=1391428911

Reproducible: Always

Steps to Reproduce:
- plug in the keyboard (or it is already)
- try to scroll in firefox by holding the middle mouse button and moving the trackpoint
Actual Results:  
- instead of scrolling, the cursor moves

Expected Results:  
scrolling

I don't need to call xinput on my Lenovo Thinkpad Laptop. I think it should be the same of this keyboard.

lsusb:

Bus 002 Device 004: ID 17ef:6009 Lenovo ThinkPad Keyboard with TrackPoint

xinput list:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=8    [slave  pointer  (2)]
⎜   ↳ Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint    id=10   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                        id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint    id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
Comment 1 Josef Reidinger 2014-02-03 12:19:01 UTC
looks like X issue as X autoconfigure hardware itself now. Reassigning
Comment 2 Stefan Dirsch 2014-02-10 11:02:38 UTC
Likely a dup of Bugs #597214, #780626, #843333 ...
Comment 3 Robert Riemann 2014-02-10 12:31:31 UTC
Created attachment 577847 [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.

On the thinkwiki there is a suggestion for an even longer MatchProduct line. It reads like this:

	MatchProduct	"TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"

source: http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#xorg.conf.d
Comment 4 Stefan Dirsch 2014-02-10 13:17:42 UTC
fixed for factory.
Comment 5 Bernhard Wiedemann 2014-02-10 14:00:17 UTC
This is an autogenerated message for OBS integration:
This bug (861813) was mentioned in
https://build.opensuse.org/request/show/221636 Factory / xf86-input-evdev