*BSD News Article 92751


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!news.maxwell.syr.edu!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: MS Serial Mouse
Date: 4 Apr 1997 14:57:14 GMT
Organization: Awfulhak Ltd.
Lines: 51
Message-ID: <5i34sa$i6r@ui-gate.utell.co.uk>
References: <5i18iq$47$1@news.hal-pc.org>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38418

In article <5i18iq$47$1@news.hal-pc.org>,
	dlac@aldridge.com writes:
> Running FreeBSD 2.2.1-RELEASE #0
> 
> I have been unsuccessfull in getting my serial mouse to function under
> console or X.  If anyone is in tutorial mode, I would appreciate a
> clue.
> Regards
> Dave
> --
> David L. Aldridge
> The Aldridge Company 281.368.0166 (fax: 281.368.0381)
> http://www.aldridge.com/
> Powered by Pentium/FreeBSD/Apache - Because it works.

I'm sure this is scattered throught the manual.

To make your serial devices:

    cd /dev
    for f in 0 1 2 3; do
      sh ./MAKEDEV cuaa$f ttyd$f
    done

COM1=cuaa0, COM2=cuaa1 etc.   These devices are probably alread there.
In /etc/sysconfig,

    mousedtype=microsoft
    mousedport=/dev/cuaa0

There are other options, have a look at the comments.
You can now use your mouse after typing "vidcontrol -m on".

To set it up in conjunction with X, syscons emulates the mouse
input (from $mousedport) as output to /etc/sysmouse using the
MouseSystems protocol.

    cd /dev
    sh ./MAKEDEV sysmouse

and in /etc/XF96config in the pointer section:

    Protocol    "MouseSystems"
    Device      "/dev/sysmouse"

Good luck.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !