Update: for (easier) instructions for Ubuntu Maverick/10.10 and later, click here.
Another Ubuntu release, another set of X.org shakeups.
Some things in X changed in Lucid (xorg 1:7.5+5 and higher), breaking existing Thinkpad TrackPoint scrolling configurations that modify files in /etc/hal/fdi/policy (like those you may have seen in this previous post). You can use gpointing-device-settings to apply the same policy, but I found that even that stops working after a suspend/resume cycle.
Samson Yeung pointed out to me the following fix which can be applied on Ubuntu Lucid/10.04:
Create a new file /usr/lib/X11/xorg.conf.d/20-thinkpad.conf with the following contents (on Ubuntu Maverick/10.10 and later, save the file to /usr/share/X11/xorg.conf.d/20-thinkpad.conf instead):
Section "InputClass" Identifier "Trackpoint Wheel Emulation" MatchProduct "TrackPoint" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "Emulate3Buttons" "false" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" EndSection
Then restart X.
The configuration above works for both Thinkpad laptops with TrackPoints and the Thinkpad TrackPoint keyboard.
Source: instructions derived from these instructions by Samson Yeung. Thanks, Samson!
Thank you!
ReplyDeleteWorked perfectly on X301!
Thanks a lot, i've just returned trackpoint functionality to my T500 as well
ReplyDeleteThanks for the heads-up. Works like a charm.
ReplyDeletesweet worked great
ReplyDeleteWorks with my T43.. Thanks!
ReplyDeleteFine works on my X200s
ReplyDeleteThanks! Works perfectly on R61
ReplyDeleteThis works on my T410s. Thanks :)
ReplyDeleteWorks like a charm on my T400. Thanks a lot!
ReplyDeleteThanks a lot.
ReplyDeleteWorked on T61!:D
thank you! works perfect on my x200
ReplyDeleteWorks on:
ReplyDeletet42
x40
Ultranav Keyboard
Thanks a lot!
Works perfectly on a T61. Thanks!
ReplyDeleteI can not get my x61s to suspend nor resume using this.
ReplyDeleteWhat am I doing wrong?
Another thank you.
ReplyDeleteWorks on a Lenovo Thinkpad X60s, even after resuming from 'sleep'
ReplyDeleteThanks, you saved my day. Works perfect on my X40, also after suspend.
ReplyDeleteWorks on x61s
ReplyDeleteWorked on my T60. Thank you!
ReplyDeleteYou all rock!
ReplyDeleteThanks for keeping this page up-to-date!
Nice - working again
ReplyDeletekudos - a novice even did it
Works on T22
ReplyDeleteYou saved my day! I went nuts using arrow keys to scroll. Works perfectly on my X61 Tablet, vertically and horizontally and also after suspend/resume! THANK YOU!
ReplyDeleteHi guys.
ReplyDeleteFirst of all. I'm a noob in Ubuntu, so have some issues :)
How excatly do I make the new file? (im a beginner.. Sorry ;-) )
@Anonymous, open a terminal (Accessories -> Terminal). Type:
ReplyDeletegksudo gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
(You may be asked to type in your password.) Then paste in the configuration snippet in the post. Save the file and quit. Log out and back in again.
Thank you Phil!. Works as it should now :)!
ReplyDeleteHelped me as well. Thank you!
ReplyDeleteWorks great on my R50. Thanks!
ReplyDeleteThis broke my keyboard; I had to boot off a CD to fix it. See the original instructions (http://dlv.blogspot.com/2010/04/udev-xorgconfd-snippet.html) for a fix.
ReplyDeleteYeah works on my x200s! thx
ReplyDeleteWorks on my R60 too! Nice!
ReplyDeleteThanks a lot for the explanations. Now the wheel emulation works fine with my Thinkpad SL410 ! But how can I disable the touchpad which is now disturbing ?
ReplyDeleteThanks again.
@Anonymous (5/24), I think you can disable the touchpad in the BIOS.
ReplyDeleteThanks, Phil, but not with the SL410. Lenovo has a special program under Windows 7 to do the job.
ReplyDeleteWorked on my much-loved Thinkpad external keyboard attached to a desktop. Thanks!
ReplyDeleteThanks man, works perfectly on my T61p!
ReplyDeleteThis is great! It is working well on R61. Thank you Phil and Samson
ReplyDeleteAnother thank you! It works like a charm for the OS Linux Fedora 13 on a ThinkPad X60s
ReplyDeleteworks perfectly on x60 and ubuntu 10.04 laptop editon, thanks a million
ReplyDeleteThanks for sharing. This worked on my ThinkPad USB Keyboard with TrackPoint Mfg Part #: 55Y9003
ReplyDeleteUbuntu 10.04
works perfectly on my X41 with Ubuntu 10.04
ReplyDeleteWorked perfectly on my X61 tablet.
ReplyDeleteThank you!
ReplyDeleteWorks on my R61e.
Thank you very much!!! Worked fine on my T500! :)
ReplyDeleteThanks! Works great on my ThinkPad X100e! :)
ReplyDeleteThank you! Works quiet well on my x200t!
ReplyDeletethanks! works on T61
ReplyDeletedid not work on my t400 unfortunately
ReplyDeleteProblem:
Would get stuck at "checking battery" during start-up.
Had to CTRL+ALT+F1 and remove file
restarting gdm wouldn't work either for some reason
I got it to work! I went to Yeung's website and had to create a second file
ReplyDeletefile and location: /usr/lib/X11/xorg.conf.d/99-allinput.conf
with the following:
Section "InputClass"
Identifier "allinput"
Driver "evdev"
EndSection
Trackpoint now works. Thanks :)
Thanks, working perfectly in R60
ReplyDeleteit works on x60, thanks.
ReplyDeleteExcellent!!!
ReplyDeleteFixed my R61!!
Thank you!
John
Hello it works on x60, many thanks.
ReplyDeleteNot working for me with my x300. I tried both files. Do I need to make it executable?
ReplyDeleteI did sudo gedit xxx.conf
@seanism,
ReplyDeleteYou shouldn't need to make the file executable. I seem to recall, though, that the X300s have input devices that are configured slightly differently. This comment seems to indicate that you might be able to fix this by disabling the touchpad in the BIOS or by changing the Identifier or MatchProduct fields.
I did what you suggested and it did indeed fix the problem.
ReplyDeleteIsn't there a way to have it work with both enabled? Someone who knows what there doing should be able to modify the phrase to match what the device is called with both enabled.
Thanks for the info!
@seanism,
ReplyDeleteDoes changing MatchProduct to "DualPoint Stick" (and then re-enabling touchpad) help?
Thank you, works perfectly!
ReplyDeleteIt doesnt work in ubuntu 10.10:( Any ideas?
ReplyDeleteUbuntu 10.10 dont work :S
ReplyDeleteUbuntu 10.10 = http://psung.blogspot.com/2010/09/thinkpad-trackpoint-scrolling-in-ubuntu.html
ReplyDeleteFor Ubuntu 10.10 users, does creating 20-thinkpad.conf in /usr/share/X11/xorg.conf.d instead of /usr/lib/X11/xorg.conf.d help?
ReplyDeleteto Pablolibo - thx, it works;)
ReplyDeleteThis worked on my R61 and my wife's R400. Thanks
ReplyDeleteHi,
ReplyDeleteWorks fine on X61T with Maverick!
Thanks
Awesome!
ReplyDeleteWorks perfectly with Ubuntu 10.10 (Maverick) on T510. I used the /usr/share/X11/xorg.conf.d/20-thinkpad.conf file method. Both vertical AND horizontal scrolling work. Even after suspend.
Thank you!
Work with x301 but i make the change in the 50-synaptics.conf, with unbuntu 10.10
ReplyDeleteThanks, works on X200 and Lucid.
ReplyDeleteThis worked for me. Thanks a lot.
ReplyDeleteMy sl410 can workable now. Thanks a lot
ReplyDeleteThank you! T60p works perfectly even after suspend and resume. Horizontal and vertical scroll in Ubuntu 10.10. Gpointing had worked but not reliably after suspend.
ReplyDeleteThank you very much!
ReplyDeleteThis works excellent on my Trackpoint USB keyboard :D
Thanks!! Way easier than the older methods for T61p. Much appreciated!
ReplyDeleteUbuntu 10.4
thanks, works great with x61s :-)
ReplyDeleteTkx! Work great on my T61!!
ReplyDeleteit's work on T400, thanks
ReplyDeleteNot working with 11.04...
ReplyDeleteSo hard issue!
ReplyDelete# aptitude install gpointing-device-settings
Works fantastic using Ubuntu 11.04 x64 on ThinkPad X201
ReplyDeleteTHANK YOU!! I was so annoyed after try to get gpointing to work and not finding any alternative solutions that'd work. After a lot of googling I finally found this and it works great. So thanks a lot. Almost considered going back to Windows for a while there..
ReplyDeleteGreat great thanks, it works like a charm
ReplyDeleteThanks alot. Works perfect on my Thinkpad Edge "11
ReplyDeleteThanks alot. Works perfect on my Thinkpad x32 with Ubuntu 11.04
ReplyDeletedth
Works like a charm! on ThinkPad Edge 13" Intel Core i3 using Ubuntu 11.04 32-bit.
ReplyDeleteGreat Tip!
Thanks! This provided a good start. However, I think ubuntu 11.04 does not like the option for driver evdev there. My computer froze after those changes and a reboot. It recovered completely after removing those files after booting from a live CD.
ReplyDeleteThe fix was to leave the evdev out. This worked:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "3"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
I'm using Ubuntu 10.04 on an R61i and I had to use a slightly different 20-thinkpad.conf file.
ReplyDeleteSection "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
Source: http://warwickchapman.com/getting-trackpoint-scrolling-working-on-a-lenovo-x301-in-ubuntu-10-04
densitywave
ReplyDeleteHow do you know the difference - MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"?
thanks, works great on my T400
ReplyDeleteThank you, it works on my X31 Thinkpad :)
ReplyDeleteFor everyone who cannot create a file in this directory:
ReplyDeletetype in the Terminal:
su
Then you have to type your password.
After that type
sudo gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
to create the file 20-thinkpad.conf in this directory and so on
x40, workinf fine, thanks
ReplyDeleteIt worked great for my x200, thanks !
ReplyDeleteWhere do I enable this for my Lenovo ThinkPad T480?
ReplyDelete