Re: Keys get stuck

From: Pavel Machek
Date: Fri Mar 14 2008 - 14:24:37 EST


On Fri 2008-03-14 10:21:29, Jiri Kosina wrote:
> On Thu, 13 Mar 2008, Pavel Machek wrote:
>
> > No.
> > hw is proper place to implement autorepeat, and along with some
> > buffering, it has chance to work. Kernel is not real-time, and X are
> > definitely not real-time, while autorepeat is real-time operation.
> > It actually mostly works in ps/2 case. Buffer in hardware means that
> > pretty big interrupt delays can be tolerated without problems.
>
> That's true. Unfortunately USB keyboards don't behave this way and there
> is nothing we can do about that.

Maybe. (Could we get host controller to effectively timestamp usb
packets for us?)

..but that is not a problem here, because X are broken even on ps/2
keyboards. USB keyboards may be misdesigned, but they are not responsible
for problems we see.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/