*BSD News Article 21977


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!news
From: dawes@physics.su.OZ.AU (David Dawes)
Subject: Re: Mouse button 2 doesn't work
Message-ID: <CEIHtv.Dzt@ucc.su.OZ.AU>
Sender: news@ucc.su.OZ.AU
Nntp-Posting-Host: physics.su.oz.au
Organization: School of Physics, University of Sydney, Australia
References: <1993Oct4.140601.3834@alw.nih.gov> <MYCROFT.93Oct6061210@duality.gnu.ai.mit.edu>
Date: Thu, 7 Oct 1993 05:27:30 GMT
Lines: 51

In article <MYCROFT.93Oct6061210@duality.gnu.ai.mit.edu> mycroft@duality.gnu.ai.mit.edu (Charles Hannum) writes:
>
>In article <1993Oct4.140601.3834@alw.nih.gov> crtb@helix.nih.gov
>(Chuck Bacon) writes:
>
>   The mouse is a no-name, CompuDyne mouse with a slide switch on the
>   bottom which says (Microsoft <-> Mouse systems), and I have switched
>   it to Microsoft.  I also changed Logitech to Microsoft in Xconfig.
>
>   Can I get a real 3-button mouse out of this?  Or is perhaps the
>   Microsoft mouse inherently a 2-button thing, and my mouse disables
>   the middle button?
>
>Um, `yes'.  The Microsoft Mouse normally has only two buttons, and as
>I recall XFree86 only deals with two.  It's not clear to me whether or
>not the hardware protocol actually deals with all three buttons on a
>Microsoft mouse, but the driver seems to think it does.  (Anyone with
>more information on this is welcome to send me email or post...)

The standard Microsoft protocol has only two buttons.  If you look at the
details, there is no room for any information about a third button.
Logitech (in many of their newer mice) use an extended Microsoft protocol
(by adding an extra byte to the packets).  XFree86 supports both forms
with the "Microsoft" and "MouseMan" keywords.  I have a one of these
Logitech mice, and I use "Microsoft" in my Xconfig, and all three buttons
work.  (The "MouseMan" option is the same as the "Microsoft" option, except
it ensures that those Logitech mice supporting more than one protocol are
initialised correctly.)

Most cheap 3-button clones support either 2-button Microsoft or 3-button
MouseSystems.  For those mice with a switch, simply select MouseSystems
mode, and put "MouseSystems" in your Xconfig.  Some require you to
hold a button down when powering on your computer and I'm told that
some require holding a button down while starting X.

>If you're using the NetBSD mouse drivers (and maybe the 386BSD ones by
>Erik Forsberg on which the NetBSD ones are based), you might try
>telling XFree86 that it's a Logitech mouse.  Both drivers use the same
>protocol, and my Logitech three-button mouse works dandy.

This is a bus mouse driver?  Does it do protocol processing, or just pass
on the raw packets?

David
--
------------------------------------------------------------------------------
 David Dawes <dawes@physics.su.oz.au>    DoD#210      | Phone: +61 2 692 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------
  You run and you run to catch up with the sun, but it's sinking
  and racing around to come up behind you again.  -- Pink Floyd, "Time"