To enable the wheel function for mouse with wheel in Linux, simply add this line in
/etc/X11/xorg.conf Section "InputDevice".
Option "ZAxisMapping" "4 5"
Like this,
Section "InputDevice"
...
Option "ZAxisMapping" "4 5"
EndSection