Talk:How to configure the TrackPoint
- 1 Enable/disable touchpad
- 2 /sys-configuration files
- 3 shifting /sys-paths
- 4 Press to Select
- 5 No mouse in Fedora Core 6
- 6 TrackPoint scrolling inverted in Firefox
- 7 Sensitivity and Speed settings under Gutsy Gibbon
- 8 No scroll in Ubuntu 7.10 without UltraNav installed in Windows Vista
- 9 press to select: new mouse button
- 10 outdated and broken
- 11 Soft Transparent Mode
As for now, the 3 buttons are disabled when you disable the touchpad. The patch provided at UltraNav correct this.
Another problem is the back-forward buttons that are also associated to the touchpad as button1 and button2. Another hack to alps.c can resolve this problem, but its too much of a bad hack to be approved in kernel as it might break other devices. The following patch assign the 3 mouse buttons to the trackpoint (as with the above one) and the back-forward buttons as well. They will be reported as Button8 and Button9 by xorg, imitating the behavior of my Intellimouse explorer, and making them available when the track point is disabled. http://pastebin.com/fa8ed909
Now to enable/disable the trackpoint easily, make sure the fn-f8 key is recognized by xorg (using xev). For sl (300 at least) models, it involves building the lenovo-sl-laptop module (http://github.com/tetromino/lenovo-sl-laptop/tree/master, archlinux package availible in AUR).
This script (http://pastebin.com/f157355d6) allow easy switching between active/inactive state. It uses the synaptic X11 driver. A notification is sent using kdialog, you can change that of course. Now execute this script on key event. For kde, go to input actions.
where can i find documentation of the other files (thresh, upthresh, skipback, reach, inertia...)? Blerp 01:01, 9 March 2007 (CET)
- I second that question. --Telofy 18:11, 31 December 2008 (CET)
2007-03-13 On my Thinkpad R60 with kernel 2.6.20, the path is /sys/devices/platform/i8042/serio1/serio2.
On Fedora 5, with kernels 2.6.15 and forward, the path does not include serio2; it stops at serio0.
2006-07-18 On Fedora 5, with kernels 2.6.16 and forward, the path is /sys/devices/platform/i8042/serio0/serio2
2005-11-07 OpenSuSE 10.0 has a kernel based on 2.6.13 (probably heavily patched), but the directory /sys/devices/platform/i8042/serio0/serio2 does not exist. instead, it looks like this:
hoppetosse:/sys/devices/platform/i8042/serio0 # ls -l total 0 -rw-r--r-- 1 root root 4096 Nov 7 18:38 bind_mode lrwxrwxrwx 1 root root 0 Nov 7 18:38 bus -> ../../../../bus/serio -r--r--r-- 1 root root 4096 Nov 7 18:38 description lrwxrwxrwx 1 root root 0 Nov 7 18:38 driver -> ../../../../bus/serio/drivers/psmouse --w------- 1 root root 4096 Nov 7 18:38 drvctl drwxr-xr-x 2 root root 0 Nov 7 18:38 id -r--r--r-- 1 root root 4096 Nov 7 18:38 modalias drwxr-xr-x 2 root root 0 Nov 7 18:38 power -rw-r--r-- 1 root root 4096 Nov 7 18:38 protocol -rw-r--r-- 1 root root 4096 Nov 7 18:38 rate -rw-r--r-- 1 root root 4096 Nov 7 18:38 resetafter -rw-r--r-- 1 root root 4096 Nov 7 18:38 resolution
"description" says it's an "i8042 Aux Port". The page Patch to enable advanced trackpoint configuration seems to imply that a kernel patch is needed in order to get those features... this needs clarification. hmm. where can i find out whether "drvctrl" is what i'm looking for and what options it takes? guess it's back to RTFS...
2005-10-06 It seems that new version of the patch ( 2.6.12 at least ), the press to select entry in /sys is named "press_to_select" and not "ptson". I changed the page accordingly so that it complies with the Patch to enable advanced trackpoint configuration page. If you use an older version try :
Press to Select
Press to Select allows you to tap the control stick which will simulate a left click. You can enable this feature by typing the following in to a terminal (you may need to be root):
# echo 1 > /sys/devices/platform/i8042/serio0/ptson
Press to Select should now be enabled. You can disable it in a similar manner:
# echo 0 > /sys/devices/platform/i8042/serio0/ptson
Where do I have to put this script (which should automate this), so that it is executed on startup (I have kubuntu (feisty) runing)? Samba
Now I have Intrepid with the new X.org running. I could not find any source how to configure press to select with this X.org version. Can anybody help? Samba
I found out it still work the old way, even with new X.org, for kubuntu jaunty the correct way of doing this is: "echo -n 1| sudo tee /sys/devices/platform/i8042/serio1/press_to_select"
No mouse in Fedora Core 6
FC6 makes an X11/xorg.conf file with no mouse section, so it's not clear how to make the TrackPoint work for scrolling. Any ideas? --Whizkid 17:36, 4 December 2006 (CET)
TrackPoint scrolling inverted in Firefox
Running Ubuntu Feisty, Firefox 126.96.36.199, I edited /etc/X11/xorg.conf like described in the article and set mousewheel.horizscroll.withnokey.action = 0; in Firefox. Scrolling works perfectly in other applications. Up-Down scrolling in Firefox, too, but right-left is inverted (only in Firefox). Does anybody have an idea why this could be? Tec 11:15, 30 March 2007 (CEST)
Yes: you have to configure mousewheel.horizscroll.withnokey.numlines as well. I have the value set to 1, but you may need to set it to -1. There is also a mousewheel.horizscroll.withnokey.sysnumlines setting, which you must set to false. --RichardNeill 03:22, 4 April 2007 (CEST)
Thanks a lot. mousewheel.horizscroll.withnokey.sysnumlines was set to false correctly, but mousewheel.horizscroll.withnokey.numlines was set to -1 as a standard setting. Switched to 1 and it works perfectly :-) BTW, is there a good explanation available in the net, what all those parameters of about:config mean? I searched for it and didn't find anything :-( Tec
Sensitivity and Speed settings under Gutsy Gibbon
Sensitivity and speed value editing seem broken in gutsy. Its no writeable even as root. Tools like configure-trackpoint do not start arguing a lack of root tights.
- Hm, I just installed the deb 0.6-1 available at sourceforge and sudo configure-trackback works for me. Maybe you'd better ask in some forum or file a bug to find out why it's not working on your machine? Tec
- I confirm that even root can not edit the config files with an editor (vim or nano). But the echo > file works fine.
# echo -n 120 > /sys/devices/platform/i8042/serio1/serio2/speed
- I have put these echo in a script executed by root at bootime with a @reboot entry in the root's crontab. Should also work with a call to that script in /etc/bootmisc.sh
- Ripat 10:20, 6 January 2008 (CET)
- Same on my machine. Config files are not writable with an editor, but echo > file works.
$ sudo configure-trackpointworks, too (sorry, I misspelled this before) Tec 16:00, 12 January 2008 (CET)
- Same on my machine. Config files are not writable with an editor, but echo > file works.
I could not get trackpoint scroll working in Ubuntu 7.10 (Gutsy Gibbon) on my Z61t using the xorg.conf modifications listed here until I installed the UltraNav Utility on Windows Vista (dual-boot configuration). Scrolling worked fine without the UltraNav utility and with just the UltraNav driver on Windows. It's weird to me that installing the UltraNav utility in Vista would have an effect on Ubuntu. (I know it's not a coincidence because I ran into it once before.) Any explanation for this strangeness? --Threexk 04:05, 18 February 2008 (CET)
is it possible to put the z axis button (aka pressing the stick) on another x mouse button (and, further on, set EmulateWheelButton to that button)? i use all three buttons both for clicking and dragging and lack a scroll wheel; having the mouse send scroll events when z axis button is pressed instead of moving the mouse would provide that without damaging the other buttons' functionalities. --Webograph 12:58, 4 March 2009 (UTC)
outdated and broken
This document is severely outdated and broken. The path to the trackpoint configuration has changed many times, in fact the latest points to /sys/devices/platform/i8042/serio0/serio2 but on my T41 with Ubuntu 8.10 i8042/serio0 is the keyboard (makes sense), the trackpoint is instead located under i8042/serio1/serio2
Problem is that it is difficult to gauge which sections are still relevant
Soft Transparent Mode
I removed the below section from the main article page, as there is no 'transparent' sysfs file on my ThinkPad T41 or ThinkPad T60. Which can mean that either the feature was removed from modern kernels, or it is unique to specific ThinkPads in which case this needs to be clarified.
If you wish to connect a special device to the external PS/2 port, you should consider using "Soft Transparent Mode" so that the TrackPoint controller does not interpret any commands sent to the external PS/2 port. You can enable soft transparent mode by typing the following in to a terminal:
# echo -n 1 > /sys/devices/platform/i8042/serio1/serio2/transparent
Disabling soft transparent mode is similar:
# echo -n 0 > /sys/devices/platform/i8042/serio1/serio2/transparent