Talk:How to configure the TrackPoint

From ThinkWiki
Revision as of 10:40, 11 March 2009 by Tonko (Talk | contribs) (outdated and broken: new section)
Jump to: navigation, search

/sys-configuration files

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)

shifting /sys-paths

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.

Same thing on a Ubuntu Dapper install on an X31, again with kernel 2.6.15 (maybe that's the reason? Piccobello 17:02, 26 November 2006 (CET)).

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

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 2.0.0.3, 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-trackpoint works, too (sorry, I misspelled this before) Tec 16:00, 12 January 2008 (CET)

No scroll in Ubuntu 7.10 without UltraNav installed in Windows Vista

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)

press to select: new mouse button

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