published on in Uncategorized

Trackpoint on openSuSE 10.2

Well, today I finally managed to configure the trackpoint on my Linux. I was doing so advanced for a long time, trying to install some extra drivers and re-compiling the kernel (some file configure-trackpoint.tgz), but the solution lay in the xorg.conf file itself. Beauty.

For those of you who want to configure it on their system too, do try this out. I got this working on openSuSE 10.2, but my guess is that it should work as long as the xorg version is same (or nearly the same).

Section “InputDevice”

Driver “mouse”

Identifier “Mouse[3]”

Option “Buttons” “5”

Option “Device” “/dev/input/mice”

Option “Name” “TPPS/2 IBM TrackPoint”

Option “Protocol” “explorerps/2”

Option “Vendor” “Sysp”

Option “EmulateWheel” “on”

Option “EmulateWheelButton” “2”

Option “YAxisMapping” “4 5”

Option “XAxisMapping” “6 7”

Option “ZAxisMapping” “4 5”

EndSection

Restart X server (reboot or relogin).

To get the scroll feature working in Firefox, there is still one change to be made (because left/right scroll is configured to move the page backward/forward). Enter about:config in the address bar and change these settings:

mousewheel.horizscroll.withcontrolkey.action = 3;

mousewheel.horizscroll.withcontrolkey.numlines = 1;

mousewheel.horizscroll.withcontrolkey.sysnumlines = true;

mousewheel.horizscroll.withnokey.action = 0;

mousewheel.horizscroll.withnokey.numlines = 1;

mousewheel.horizscroll.withnokey.sysnumlines = true;

mousewheel.horizscroll.withshiftkey.action = 1;

mousewheel.horizscroll.withshiftkey.numlines = 1;

mousewheel.horizscroll.withshiftkey.sysnumlines = true;

For Opera change these settings:

Find the standard_mouse.ini file of Opera and comment out these lines:

Button6 = Back

Button7 = Forward

Like this:

;Button6 = Back;

;Button7 = Forward

To get the trackpoint press feature, enter this command as root

echo -n 1 > /sys/devices/platform/i8042/serio0/serio2/press_to_select

Press to select should now be working.