[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [Patch] Fix keymap support for PVFB.



Hi All,

We had added the patch to support the keymap with PVFB before.
When the keymap is specified with vncfb, it converts it as a keyboard of the
setting.
When the keymap is not specified, it is converted as en-us.

Configuration file :
 keymap="ja"

It converts to keycode from keysym on the BackEnd side.
The converted keycode is transmitted to the FrontEnd side.
Next, the keycode is received on the FrontEnd side of PVFB, and it passes to
GuestOS.
It is not correctly converted because there is not the conversion processing of
keyboard
driver for the GuestOS.
Therefore, the conversion processing by the keyboard driver is done on the
BackEnd side now.

However, I think that it should do this with xenkbd who is originally the driver
on the FrontEnd side.
It will be problem if the HVM domain is working on PVFB in the future.

For HVM domain, The keycode that the keyboard driver on guest OS received from
qemu-dm is converted.
It will convert further in the HVM domain when converting it with PVFB
beforehand, and a correct key cannot be input.

This patch transplanted the conversion processing of the keyboard driver on the
GuestOS side to xenkbd.
We are not supporting the keymap for sdl because we do not understand sdl in
detail.

Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
Signed-off-by: Junko Ichino <ichino.junko@xxxxxxxxxxxxxx>

Best Regards,

--
Takanori Kasai

Attachment: fix-fbfront-xenkbd-driver.patch
Description: Binary data

Attachment: fix-tools-vncfb-keymap.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.