After installing Mate desktop environment on a fresh FreeBSD 10.2 box, mouse was not working. This is what I have in my /etc/rc.conf:

...
moused_enable="YES"
hald_enable="YES"
dbus_enable="YES"

Some suggests that the order of hald and dbus to be swapped around. I tried that, and it still didn’t work.

A bit of more Googlings, I found out a working solution [1]. I need to install: xf86-input-mouse.

Here’s how I did it:

# portmaster x11/drivers/xf86-input-mouse

And that was all required. If your keyboard is not working in Xorg, you might want to also install xf86-input-keyboard.

Full credit goes to the guy at [1]. Thanks!

Ref: