Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 10:09:05 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.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:  <20041116180905.GA11906@odin.ac.hmc.edu>
In-Reply-To: <bb4a86c704111610006d8283ed@mail.gmail.com>
References:  <bb4a86c7041116093262758595@mail.gmail.com> <7302.1100627038@critter.freebsd.dk> <bb4a86c704111610006d8283ed@mail.gmail.com>

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

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

On Tue, Nov 16, 2004 at 10:00:24AM -0800, Maksim Yevmenkin wrote:
> On Tue, 16 Nov 2004 18:43:58 +0100, Poul-Henning Kamp
> <phk@phk.freebsd.dk> wrote:
> > In message <bb4a86c7041116093262758595@mail.gmail.com>, Maksim Yevmenki=
n writes
> > :
> >=20
> >=20
> > >On Tue, 16 Nov 2004 18:04:56 +0100, Poul-Henning Kamp
> > ><phk@phk.freebsd.dk> wrote:
> > >> In message <200411161659.iAGGxNiX087329@repoman.freebsd.org>, Maksim=
 Yevmenkin
> > >> writes:
> > >>
> > >>
> > >> >emax        2004-11-16 16:59:23 UTC
> > >> >
> > >> >  FreeBSD src repository
> > >> >
> > >> >  Added files:
> > >> >    sys/dev/vkbd         vkbd.c vkbd_var.h
> > >> >    sys/modules/vkbd     Makefile
> > >> >  Log:
> > >> >  Add virtual AT keyboard driver vkbd(4).
> > >> >  Not yet connected to the build.
> > >>
> > >> I thought we had one of those already ?
> > >
> > >when? where? did i miss it?
> >=20
> > sys/dev/kbd (and various MD stuff all over the place) ?
>=20
> perhaps i'm missing something here. the idea behind vkdb(4) is to
> create a keyboard without a keyboard. that is to create a keyboard
> that accepts scan codes from userspace and not from real hardware.
> that is what vkbd(4) does. it creates a new keyboard (just like
> ukbd(4) etc) and register it with kbd(4). basically what i want to do
> is to obtain scan codes from bluetooth keyboard and then feed them
> into the kernel. the idea is that bluetooth hid daemon looks for the
> bluetooth keyboard, connects to it, switches active keyboard to
> vkbd(4) , reads scan codes and feeds them into vkbd(4). when bluetooth
> keyboard is gone the bluetooth hid daemon switches back to wired
> keyboard. i do not think i can do it with kdb(4), can i?

Have you considered making the virtual keyboard an in kernel client of
it's child keyboard(s)?  If you don't do this, you can't use the virtual
keyboard in single user mode or in the debugger.

-- 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

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

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

iD8DBQFBmkJBXY6L6fI4GtQRAqpqAKCeNAlnWef3fnL4nuEvYvfdKG4GlQCeKGul
2UATKGDXopk6oP/vmUsMSNI=
=bEMV
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--



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