Subject: Re: wsmouse
To: Grant Beattie <Grant.Beattie@fulcrum.com.au>
From: Lennart Augustsson <lennart@mail.augustsson.net>
List: port-i386
Date: 05/21/2001 03:50:40
You should use /dev/mouse which is a ws multiplexor.
Then use a kernel that attaches the mice to that multiplexor.  That's
what the default kernel does (using the mux locator).

The just plug and play. :)  If your type of mouse supports it.  It works with
USB, PS/2 doesn't seem to.

    -- Lennart

Grant Beattie wrote:

> I've been meaning to ask for a while - how does one attach a mouse to
> wsmouse *after* booting?
>
> eg. to change mice without rebooting, or have two mice connected and switch
> between them...
>
> g.
>
> > -----Original Message-----
> > From: port-i386-owner@netbsd.org [mailto:port-i386-owner@netbsd.org]On
> > Behalf Of Richard Rauch
> > Sent: Saturday, 19 May 2001 12:52 AM
> > To: BSD
> > Cc: port-i386@netbsd.org
> > Subject: Re: wsmouse
> >
> >
> > > I have a lot of problems with running the PS2-mouse under
> > /dev/wsmouse0 ,
> > > it is functioning but the marker is running around like a
> > madman when you
> >
> > The behavior that you describe is consistant with the mouse driver getting
> > the wrong protocol, so events are not understood.
> >
> > One possibility is that you didn't try telling X to use the "wsmouse"
> > protocol.  (I can't remember if the X configuration tools/docs actually
> > mention this, but wsmouse uses a standard, albeit custom, mouse protocol
> > for ALL mice.  The NetBSD version of XFree86 knows about the wsmouse
> > protocol, whether or not the documentation/config-tools mention it.)
> >
> > Another possibility is that you have a mouse that isn't supported by the
> > wsmouse driver in the kernel.  I DOUBT that this is the problem, if you
> > are using a standard 1.5 kernel.
> >