WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] Fix keymap support for PVFB.
From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2007 19:51:36 +0900
Delivery-date: Mon, 02 Jul 2007 03:49:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>