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


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to