Problem with my mouse in KDE

Hi there!

Hope you guys can help me with this, I'm totally desperate.
My mouse always behaves oddly when I start KDE, but in the console it works just fine. At first I could only move it along the edge of the screen. I could solve this problem and my mouse moves perfectly, but now it appears as if I would be clicking all the time, and when it does not, then clicking doesn't work at all.
KDE accesses the mouse over the mouse daemon. I have an old 2 button mouse without a wheel and I have FreeBSD 4.6 Release installed.

Thanks in advance for any help.

I got around that problem by disabling moused under the console and letting KDE to the mouse handling for me. This might be inconvient to you depending on how much you use the mouse under the console.

I have already tried this, and my mouse did not move at all.

What is the current settings for your mouse under /etc/X11/XF86Config file?

Here is mine that I use on FreeBSD 4.5 with XFree86 4.1.0:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "Auto"
        Option      "Device" "/dev/psm0"
        Option      "ZAxisMapping" "4 5"
        Option      "Buttons" "6"
EndSection

I use a Microsoft Intellimouse optical PS/2 with scrolling wheel.

did you run Xf86config to configure your mouse and X?