Using xinput:

<code>
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Wheel Emulation Button" 8 2
</code>

The right way. Make a fdi file in /etc/hal/fdi/policy/mouse-wheel.fdi that looks like this:

<file>
<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
</file>

To keep the scrolling working after a suspend do the following:

  * Make the file: sudo vi /etc/acpi/resume.d/97-reload-psmouse
  * Insert
<code>
#!/bin/sh
modprobe -r psmouse
sleep 2
modprobe psmouse
</code>

  * Make it executable: sudo chmod +x /etc/acpi/resume.d/97-reload-psmouse

  


This will regain you scrolling mouse button. But what a mess to get it working.....

Remember that the "*-reload-psmouse" must be executed prior to "98-acpi-unlock.sh" otherwise it wouldn't be run on resume. That's why I've called it "97-reload-psmouse".



==== Jackalope ====

Scrolling with Trackpoint

Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:

sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi

And fill it with this code:
<file>
<?xml version="1.0" encoding="UTF-8"?> 

<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
</file>