[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ps2: take exact use of ps2 buffer
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] ps2: take exact use of ps2 buffer |
Date: |
Thu, 02 Jun 2016 10:37:31 +0200 |
On Do, 2016-06-02 at 14:05 +0800, Yang Hongyang wrote:
> According to PS/2 Mouse/Keyboard Protocol, the keyboard output buffer
> size is 16 bytes, but we only use 15 bytes actually, this causes some
> problem, for example, if I submit "123456789" in a bunch through VNC,
> the actual result will be "12345678888888888...", because the 16th key
> event which is "8" key up is dropped.
What if you try a 10-char string next? Things are failing again.
Keyboards are low-bandwidth devices, you can't flood them with data and
expect things to work.
Try this one instead: https://patchwork.ozlabs.org/patch/628491/
cheers,
Gerd