Date: Wed, 20 Jul 2011 12:49:39 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Andriy Gapon <avg@freebsd.org> Cc: "svn-src-head@FreeBSD.org" <svn-src-head@freebsd.org>, "svn-src-all@FreeBSD.org" <svn-src-all@freebsd.org>, "src-committers@FreeBSD.org" <src-committers@freebsd.org> Subject: Re: svn commit: r223989 - head/sys/dev/usb/input Message-ID: <201107201249.39550.hselasky@c2i.net> In-Reply-To: <4E26AFF8.8080107@FreeBSD.org> References: <201107181610.49443.hselasky@c2i.net> <4E26AFF8.8080107@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 20 July 2011 12:37:44 Andriy Gapon wrote: > > This special code is a workaround. The problem is that when not polling > > the key presses will be fed into syscons I think, and not returned via > > the polling function. That's why there is a timer there to distinguish > > when polling starts and polling stops. It is not enough just to > > enable/disable polling around each key-press like currently done. > > I must admit that I failed to understand this paragraph, so I think that I > should shut up until I know the relevant code better. Try and see for yourself, maybe you will understand it then? Remove the kbd_active == 0 branch in the ukbd.c. Then get into the mount-root prompt. Then start pressing keys. You will see that some keys are captured and some are not. This is because two clients are listening for keys. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107201249.39550.hselasky>