[vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode

Jonathan Scruggs j.scruggs at gmail.com
Mon Jan 18 11:47:58 UTC 2016


Hi Gerd,

Would there be a way to add repeating keys back in that doesn't cause
issues? Maybe slow down the repeat cycle? Or is this strictly a issue with
how the actual event drivers or the buffers work and would need changing to
that on the host side? In my mind it seams fairly straightforward in just
forwarding these events to the VM.

Would it be different if the keyboard was using the PS/2 versus the USB
interface on the guest? I have a USB controller added for the guest but the
keyboard and mouse are on PS/2 interfaces.

A second thought. What if you made the keyboard and mouse USB only, then on
the guest, make sure the USB controller is using Message Signal-Based
interrupts. On Windows, the controller was set to the old style Line-Based.
The slow downs could be caused by a lake in speed with he interrupts and
USB polling speed.

Would you be able to tell me how to make the keyboard/mouse USB only and
enable repeat keys, so I can investigate this option? If it works like this
then a good set of instructions will need to be done to enable all this and
solve an issue. :-) Also, I would need to know the cases where the slow
downs happen to test.

What do you think?

-Jon
On 15 Jan 2016 08:50, "Gerd Hoffmann" <kraxel at redhat.com> wrote:

> On Fr, 2016-01-15 at 00:19 +0100, sL1pKn07 SpinFlo wrote:
> > ok, now works tnx Gerd!
> >
> >
> > but i found 2 problems, one with keyboard and other with the mouse
> >
> > Keyboard:
> >
> > the repetition (hold the key) don't work.
>
> Support used to be there, but the constant flow of key repeat events in
> case you hold down a key longer (like you do with shift or ctrl in some
> games) made things unstable so I turned that off.
>
> > Mouse:
> >
> > only detect 3 buttons (my Logitech G5 Laser Have 7)
>
> The mouse emulated by qemu has only three buttons.
>
> cheers,
>   Gerd
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160118/cf3ac712/attachment.htm>


More information about the vfio-users mailing list