Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 14:05:52 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/vkbd vkbd.c vkbd_var.h src/sys/modules/vkbd Makefile
Message-ID:  <20041116220552.GA17633@odin.ac.hmc.edu>
In-Reply-To: <20041116.145534.79867788.imp@bsdimp.com>
References:  <419A492A.7020602@freebsd.org> <bb4a86c704111610513b1af34a@mail.gmail.com> <419A4F8F.8000509@freebsd.org> <20041116.145534.79867788.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 16, 2004 at 02:55:34PM -0700, M. Warner Losh wrote:
> In message: <419A4F8F.8000509@freebsd.org>
>             Scott Long <scottl@FreeBSD.org> writes:
> : I guess I'm having a hard time picturing how a bluetooth keyboard works.
> : Is it something that you attach in place of a normal PS2 or USB
> : keyboard, or is it something that merely augments the real keyboard?  I=
f=20
> : there is no chance that the BT device could be needed for DDB or=20
> : single-user mode then I guess that your driver is a good thing, though=
=20
> : the 'vkbd' name is a bit misleading since it really only applies to BT.
> : But if you're interested in working with Brooks on a more unified
> : abstraction, please don't let me stop you =3D-)
>=20
> Having looked at the code, it looks like one could also use it to
> implment a newton keyboard interface as well.  A newton keyboard is a
> serially attached keyboard that has nothing to do with bluetooth, but
> which some people use on their tiny laptops in X with a driver program
> I wrote a while ago.  This looks to be a fairly clean abstraction.  It
> isn't immediately clear if it could also be used for the many-to-one
> mux that people have talked about implementing for some time now, but
> it isn't clear that it couldn't be used for that also.

vkbd is probably actually a good place to start working on the mux.
The decision to add the functionality to vkbd or to split it out to
another driver is a separate issue and I can make it later.  I've
been working on doing the mux as a keyboard driver the eats the other
keyboards in the system.  At this point I think that's the quickest
route to a working system.  Doing this as a separate function between
the keyboard and the console makes some sense, but at this point I don't
think it's worth the effort especially since we only have two consumers
of keyboards (syscons and pcvt), both of which are bad examples to
generalize from.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBmnm/XY6L6fI4GtQRAudFAKCyI74udcBZ8FyUU1y63ofZ09MWgQCdEXzK
R8R1XPODfNfwVjh7rLulsCw=
=YJ7Y
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041116220552.GA17633>