thinkpad x61 thinkpad_select
Here is a script I made ages ago to enable at startup my thinkpad’s rubber nipple (thinkpoint):
#!/sbin/runscript
#
# This starts the thinkpad thinkpoint so you can select, etc.
#
checkconfig() {
if [ ! -e /sys/devices/platform/i8042/serio1/press_to_select ] ; then
eerror "You cannot set the thinkpoint select. Check settings."
return 1
fi
}
start()
{
checkconfig || return 1
ebegin "Starting Thinkpoint Select"
echo -n 1 > /sys/devices/platform/i8042/serio1/press_to_select
}
stop()
{
checkconfig || return 1
ebegin "Stopping Thinkpoint Select"
echo -n 0 > /sys/devices/platform/i8042/serio1/press_to_select
}
I put this script here on gentoo:
/etc/init.d/thinkpoint_select
And, do this to set it to run at startup:
rc-update add thinkpoint_select default
I realease this all under GPL. Hats off to anyone who creates and ebuild for this and posts it into gentoo portage.



On a T61 (which has a touchpad in addition to trackpoint) the file is
/sys/devices/platform/i8042/serio1/serio2/press_to_select
What’s /sbin/runscript? It looks an interesting Gentoo feature. Is there any documentation online? http://gentoo-wiki.com/Runscript is somewhat incomplete.
Comment by Marius Gedminas — January 23, 2008 @ 6:34 pm
/sbin/runscript is a set of functions for handling init script variety…I guess, one option would be to test if the T61’s device is present, and then allow that to be started and stopped.
The other option is to find a way to test and find the trackpoint through other means (which I don’t know about)
Maybe you can just find the svn of runscript and look at the script directly.
Comment by jon — January 24, 2008 @ 12:27 am
[...] noticed for ages that my thinkpad x61 with 4 gigs of ram has been sluggish on the desktop with redraws. Now that I have a bit more [...]
Pingback by Fix Your MTRR on Gentoo with Thinkpad x61 Intel x3100 | rejon.org is Jon Phillips. — August 6, 2008 @ 10:23 am