You first need to configure
moused(8), this works for most PS/2 mice:
# moused -p /dev/psm0 -t auto
Use this command before you start Xorg, if it works, you should be able to see the mouse pointer move.
Once moused works, you can add this to
/etc/xorg.conf:
Code:
Section "InputDevice"
Identifier "mouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "False"
EndSection
to make the changes persistent across boots, add this to
/etc/rc.conf:
Code:
moused_enable="yes"