> When I run 'wsconsctl -a' the mouse stops to work
> both under console and X.
> I receive this message:
> wsmouse_input: evar->q=NULL
> When I kill wsmouse or X, I receive:
> wsevent_fini: already invoked
This should fix it.
Miod
Index: wsmouse.c
===================================================================
RCS file: /cvs/src/sys/dev/wscons/wsmouse.c,v
retrieving revision 1.15
diff -u -p -r1.15 wsmouse.c
--- wsmouse.c 2005/05/18 21:31:27 1.15
+++ wsmouse.c 2005/06/01 12:31:27
@@ -506,6 +506,9 @@ wsmouseclose(dev_t dev, int flags, int m
(struct wsmouse_softc *)wsmouse_cd.cd_devs[minor(dev)];
struct wseventvar *evar = sc->sc_base.me_evp;
+ if ((flags & (FREAD | FWRITE)) == FWRITE)
+ return (0); /* see wsmouseopen() */
+
if (evar == NULL)
/* not open for read */
return (0);