Subject: Re: New device - Patch review for mouse console support
To: Julio Merino <jmmv@hispabsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 05/01/2002 18:07:20
I'm not sure creating a new device is worth the hazzle.  But I'll let some
wscons guru decide that.  I'd be happy with some new ioctls for ttyEcfg.

    -- Lennart

Julio Merino wrote:

> Well, continuing with my patch, I've done some changes trying to get a
> better structure. I've added a new device, /dev/ttyEctl beeing 47,254 that
> is used for new ioctl's. This way we can completly separate them from the
> ones already found in /dev/ttyEcfg; as I see it, that is for "configuring"
> wscons, not to "control" it. The real reason to separate it is that I may
> need to include several more ioctl's, and ttyEcfg would get messed with
> lots of features.
>
> And this way we could run wsmoused from a user that is not root, changing
> ownership and permissions of ttyEctl...
>
> I don't know if you will like this idea so I keep a backup of the file as
> I posted before (all ioctl's inside ttyEcfg).
>
> The patch for wsdisplay.c is included, so you can see it :p
>
> Thank you.
>
> On Wed, May 01, 2002 at 01:32:13PM +0000, Christos Zoulas wrote:
> > In article <3CCFC2FC.C3A092E1@augustsson.net>,
> > Lennart Augustsson <lennart@augustsson.net> wrote:
> > >I've not looked at your patch very carefully, but it looks nice and small.
> > >I think you're on the right track. :-)  Good work!
> > >
> >
> > Yup, that looks good.
> >
> > christos
>
> --
> Of course it runs NetBSD - http://www.netbsd.org
> HispaBSD member - http://www.hispabsd.org
> Julio Merino <jmmv@hispabsd.org>
>
>   -------------------------------------------------------------------------------
>                  Name: patch.diff
>    patch.diff    Type: Plain Text (text/plain)
>              Encoding: quoted-printable
>
>    Part 1.2Type: application/pgp-signature