cvs commit: src/sys/dev/vkbd vkbd.c vkbd_var.h
src/sys/modules/vkbd Makefile
Brooks Davis
brooks at one-eyed-alien.net
Tue Nov 16 14:04:53 PST 2004
On Tue, Nov 16, 2004 at 02:55:34PM -0700, M. Warner Losh wrote:
> In message: <419A4F8F.8000509 at freebsd.org>
> Scott Long <scottl at 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? If
> : there is no chance that the BT device could be needed for DDB or
> : single-user mode then I guess that your driver is a good thing, though
> : 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 =-)
>
> 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041116/dbbe3121/attachment.bin
More information about the cvs-all
mailing list