Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 1998 10:54:04 -0500
From:      "Richard M. Neswold" <rneswold@drmemory.fnal.gov>
To:        tcc@rose.dlut.edu.cn
Cc:        FreeBSD-Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Serial mouse problem
Message-ID:  <19980909105404.A4027@drmemory.fnal.gov>
In-Reply-To: <35F5E58A.581D@rose.dlut.edu.cn>; from Changchun Teng on Wed, Sep 09, 1998 at 10:18:50AM %2B0800
References:  <35F5E58A.581D@rose.dlut.edu.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
If memory serves, didn't Changchun Teng say:
> My system is FreeBSD 2.2.7. When I configed my X-win, I found that 
> I could not use my serial mouse.
> When I launched "moused -p /dev/cuaa0", the system hinted that 
> cannot determins mouse type on /dev/cuaa0. So I had to config my 
> X-win with /dev/sysmouse as my mouse device. I can started the 
> X-win, but I still could not use the mouse.
> Can you give me an answer to solve it?

NOTE: You don't need 'moused' loaded in order to get mouse support in X.
But since you mention 'moused', this message assumes that you want it to
work, as well.

First, a question: Do you get a mouse cursor that you can move around when
you're in a virtual terminal? If X is running, hit Ctrl-Alt-F1 to return to
the first virtual terminal. Move the mouse to see if it's working. If it
is, great! All you need to do is configure your X server (described below.)

If the mouse doesn't move, then you have to get 'moused' working first.
Since 'moused' couldn't determine your mouse type, you'll have to specify
it. Use the -t option to specify the type of mouse. Do a 'man moused' to
see the various mouse protocols that are supported. If you have a
MouseSystems mouse, be sure to also use the -D option. Before you can
continue, you must get 'moused' to work. Other things to check: make sure
you are specifying the correct device to which the mouse is connected (are
you _sure_ it's on /dev/cuaa0 and not /dev/cuaa1 ?)

Once you have 'moused' working, you have to change your mouse configuration
in the /etc/XF86Config file:

    Section "Pointer"
	Protocol "MouseSystems"
	Device "/dev/sysmouse"
	ClearDTR
    EndSection

It should work fine now.

-- 
  Rich

 ------------------------------------------------------------------------
  Rich Neswold                           | PGP:  0A C8 A5 76 DF 8E E1 B3
  rneswold@mcs.net                       |       F3 97 BE 73 DA CD 4B C9 
  http://www.mcs.net/~rneswold           |

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980909105404.A4027>