[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55103: /dev/wsmouse returns EINVAL
The following reply was made to PR kern/55103; it has been noted by GNATS.
From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: pgoyette%netbsd.org@localhost, Michael van Elst <mlelstv%serpens.de@localhost>
Subject: Re: kern/55103: /dev/wsmouse returns EINVAL
Date: Thu, 2 Apr 2020 10:05:36 +0200
Le jeu. 2 avr. 2020 =C3=A0 07:25, Michael van Elst <mlelstv%serpens.de@localhost> a =
> On Wed, Apr 01, 2020 at 07:38:52PM -0700, Paul Goyette wrote:
> > Looking at the original code, it seems pretty clear that the intent wa=
> > to restrict use of version-0 to compat code, and that without compat
> > code one should use WSEVENT_VERSION. And that is what the current cod=
> > implements, as far as I can tell.
> So, in your opinion, everything is correct now because reading the
> mouse without a special program that negotiates the non-default
> protocol version is forbidden. It wasn't forbidden in the beginning,
FWIW, I think the most useful behaviour is default to latest version,
and the COMPAT_05 version would simply force the default to be the
version-0. If you want to be really nice, it would be cool to add a
sysctl to set the default version.
Main Index |
Thread Index |