From: Scott C. Cottrille (scottco@lynx.cs.washington.edu)
Date: 10/06/93


From: scottco@lynx.cs.washington.edu (Scott C. Cottrille)
Subject: Re: Microsoft Inport Mouse
Date: Thu, 7 Oct 1993 02:51:57 GMT

Scott C. Cottrille (scottco@lynx.cs.washington.edu) wrote:

: I'm having trouble getting Linux/XFree86 to recognize
: my Microsoft Inport mouse. I've got 99pl12. Here's
: what I've tried so far:

: Using the original kernel, which detected a MS Busmouse,
: Logitech mouse, and an ATI inport mouse at the same
: time (odd!), I created /dev/inportbm with major = 10,
: minor = 2. Then, I specified Busmouse "/dev/inportbm"
: in the Xconfig, and also tried Microsoft "/dev/inportbm".
: I tried setting baudrate to 1200 and 9600 for both of these
: configurations. Didn't work.

: Then, as per someone's suggestion, I recompiled the kernel
: and specified that I only wanted to detect the Microsoft
: Busmouse. The kernel successfully detected only the
: Microsoft Busmouse. I tried the above configurations in
: my Xconfig file again, and it still didn't work.

: What's a fellow gotta do to get X to work with his Microsoft
: Inport mouse?

: I also tried making a symbolic link from /dev/mouse to
: /dev/inportbm, because there was some comment on this in a
: man page or doc file I read. That didn't work (obviously).

: Oh, one other probably relevant piece of information: I've
: got an S3 chipset, and I'm using the XS3 Xserver. Is it
: still Linux's responsibility to enable my mouse, or the xserver's?

: Any suggestions? Please mail scottco@lynx.cs.washington.edu,
: as I don't read here very often (I'll post with a solution
: if one comes through). Thanks,

: - mouseless

Thanks to Arnd Gehrmann and Wayne Stidolph. With their mail I pieced together
the following:

 Modify /usr/include/linux/busmouse.h and set the IRQ to 9 (from 5 or
  whatever yours is set to). The reason it is not set to 2, which is
  what the hardware IRQ was set to, is because IRQ2 is used by another,
  so IRQ2 gets 'cascaded' to IRQ9.

 Make config from the /linux directory and tell it to look for a MS busmouse.
  Then make the kernel.

 Create a symbolic link, just for clarity, using
  ln -s /dev/bmousems /dev/mouse

 In the Xconfig file, do not specify Microsoft "/dev/mouse". Use
  Busmouse "/dev/mouse". Don't know why a Microsoft mouse does not work
  with the Microsoft setting, but when I used the Microsoft setting, the
  freaked and was acting as if I was holding the button down.

Glad I don't have to go out and get a serial mouse!

-scott