Optical PS/2 mouse not working under X

Andrew L. Gould algould at datawok.com
Fri Jan 16 07:04:46 PST 2004


On Friday 16 January 2004 08:49 am, Slabbert, C. (Clinton) wrote:
> Hello,
>
> I recently purchased a new PS/2 optical mouse.  I can't seem to get it
> working under X.  On Debian and Slackware I use:
> Protocol auto or ImPS/2
> and it works fine.
>
> Under FreeBSD nothing seems to work, auto, Microsoft, PS/2, etc. and there
> is no ImPS/2 option.
>
> Any suggestions would be appreciated.
>
> Thanks,
> Clinton

My optical mouse with the scroll wheel works fine.  It's a USB mouse connected 
to the PS/2 port using an adapter.

First, configure the mouse.  As root:

1. Execute '/stand/sysinstall'
2. Select "Index"
3. Select "Device, Mouse" and click on "OK"
4. Select "2 Enable  Test and run the mouse daemon".  If your mouse works, 
exit this menu and then exit the sysinstall program.
5. If the mouse doesn't work, play with options 3 ("Select mouse protocol 
type") and 4 ("Select mouse port") and then test the mouse again.

After the mouse is properly configured in the system, edit the mouse section 
of your X configuration file using "/dev/sysmouse". Here's the section from 
my /etc/X11/XF86Config:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
EndSection

I hope this helps,

Andrew Gould



More information about the freebsd-questions mailing list