Talk:How to configure the TrackPoint

From ThinkWiki
Revision as of 11:20, 6 January 2008 by Ripat (Talk | contribs)

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)

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

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)