This archive holds the driver for the PS/2 mouse port. I've tested it with
a german notebook from Siemens-Nixdorf and a TrackMan Portable from
Logitech.

The driver was developed under Coherent 4.2.12, it probably will work
OK under 4.2.10 too, if you are running an older release you definitely
should upgrade. Upgrades from 4.2.05 to a later release are free, talk
to MWC tech support to request it.

To install the driver into your kernel, do the following as user root:

- Copy contents of this archive into directory /etc/conf/bmps.

- The driver uses major number 10. There already is an entry in
  /usr/include/sys/devices.h, which looks like:

	#define MS_MAJOR	10	/* Microsoft mouse */

  We'll use major number 10 for more than just the Microsoft bus mouse,
  so change this line too:

	#define BM_MAJOR	10	/* bus mouse, PS/2 mouse */

- Have a short look at Space.c, you can configure several parameters for
  the driver there. The archive is distributed with working defaults
  which are fine for my hardware. You first should try this defaults and
  if the mouse movement isn't how you like it, you can tune the driver
  here. Please note that one can tune the mouse behaviour under X11 with
  the command "xset" too, probably it's not necessary to change the
  driver parameters, but now you know that there is something to play
  with.

- Add the following line into the section "old-style Coherent drivers"
  in the file /etc/conf/mdevice:

  bmps	-	CGHo	bmps	10	10	0	255	-1	-1

- Add the following line into the section "old-style Coherent drivers"
  in the file /etc/conf/sdevice:

  bmps	Y	0	1	1	12	0x0	0x0	0x0	0x0

- Now build a kernel including this driver:

	cd /etc/conf
	bin/idmkcoh -o /coh.test

- To create the special file in /dev needed to access the device driver, run
  the shell script "mkdev". This script also creates a link to /dev/mouse
  if this file doesn't exist. This is done so that all applications can
  use the same device name all the time.

Now reboot the machine with the new kernel coh.test. If everything is OK
so far, the driver prints a short message to the console at startup time,
so that you know it's there. Try to use the driver with X11, you need to
change the file /usr/X11/lib/Xconfig for that. Near the top of this file
you'll find the current mouse configuration, which might look like:

	#Mouse configuration
	mouseman	"/dev/com1l"
	BaudRate	1200

Comment the both lines with adding a #-character in front of them and add
the following line to tell the X server to use the PS/2 mouse driver
instead:

	#Mouse configuration
	#mouseman	"/dev/com1l"
	#BaudRate	1200
	PS/2		"/dev/bm"

Now start X11 as usuall and see if you can use the mouse, if not please
send a detailed problem report to support@mwc.com, which describs the
hardware you are using and which problem you have.
