mouseconfig is the ncurses gui to setup a mouse for dev mouse!
You should run mouseconfig as root if your mouse is not being detected....just make sure that you make /dev/mouse the place that x looks for the mouse... then when you then run xorgconfig it will find the mouse. Depending on the type of mouse you have mouseconfig will let you select how your mouse is connected DO NOT USE xorgconfig to configure the mouse first! Here is a sample of the mouse section of my /etc/X11/xorg.conf file.... as you can see the mouse is already booted before X as /dev/mouse which is a symbolic link to the actual mouse. By having the mouse running at boot you can cut and paste commands and text in a shell without having to use an x gui client like kde or whatever. Remember all the fun when you tried msdos programs with a mouse the first time?....well using a mouse in a bash shell without x is so much more effective and it works!;)
# Identifier and driver
# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:
# Option "Protocol" "Auto"
# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.