[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: at_keyboard flush on i386-qemu
From: |
Robert Millan |
Subject: |
Re: at_keyboard flush on i386-qemu |
Date: |
Mon, 29 Jun 2009 15:33:15 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jun 29, 2009 at 12:02:55AM -0400, Pavel Roskin wrote:
>
> I would just read and discard the keyboard data from the port at startup
> without embedding at_keyboard.
Seems fine.
> > I don't like that we have a race here. Suggestions welcome on how to
> > improve that, but TTBOMK if there's more than one event you can't tell
> > when you're processing the last one.
>
> I think there is at most one event.
Actually, you need two events for a single key press (MAKE + BREAK), and
I've seen it print two keys sometimes.
> And I suspect it's due to a qemu
> bug.
Well, other firmwares (coreboot, bios.bin) don't have this problem. It's
probably something that you need to do on real hardware anyway (which we
might want to support someday).
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."