Subject: Re: Sun COMPACT1 mouse generates errors
To: None <port-sparc@netbsd.org>
From: MOCHIDA Shuji <mochid@yo.rim.or.jp>
List: port-sparc
Date: 09/24/1998 21:55:00
> Wrong baud rate assumed by the mouse driver. In the past, all Sun mice

 I made following change,

--- sys/dev/sun/ms.c.ORIG	Tue Jan 13 23:32:20 1998
+++ sys/dev/sun/ms.c	Wed Sep 23 23:42:55 1998
@@ -92,7 +92,11 @@
 /*
  * Keyboard serial line speed is fixed at 1200 bps.
  */
+#ifdef SUN_MS_BPS
+#define MS_BPS SUN_MS_BPS
+#else
 #define MS_BPS 1200
+#endif
 
 /*
  * Mouse state.  A Mouse Systems mouse is a fairly simple device,


and made three kernels: -DSUN_MS_BPS=2400, 4800, 9600.
4800 one generates no error.

Thank you!

-mochid