From owner-cvs-src@FreeBSD.ORG Tue Nov 16 22:04:52 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFFE116A4CE; Tue, 16 Nov 2004 22:04:52 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B323943D3F; Tue, 16 Nov 2004 22:04:52 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id iAGM5qjr024164; Tue, 16 Nov 2004 14:05:52 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id iAGM5qLX024162; Tue, 16 Nov 2004 14:05:52 -0800 Date: Tue, 16 Nov 2004 14:05:52 -0800 From: Brooks Davis To: "M. Warner Losh" Message-ID: <20041116220552.GA17633@odin.ac.hmc.edu> References: <419A492A.7020602@freebsd.org> <419A4F8F.8000509@freebsd.org> <20041116.145534.79867788.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <20041116.145534.79867788.imp@bsdimp.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: scottl@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/vkbd vkbd.c vkbd_var.h src/sys/modules/vkbd Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 22:04:53 -0000 --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 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--