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

Re: [Xen-devel] [PATCH 0/2] PV framebuffer

To: Markus Armbruster <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/2] PV framebuffer
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 21 Nov 2006 09:43:58 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Kasai Takanori <kasai.takanori@xxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Nov 2006 01:44:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87ejrxbb6h.fsf@xxxxxxxxxxxxxxxxx>
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>
References: <87odrfptrb.fsf@xxxxxxxxxxxxxxxxx> <1f5601c70d2d$1d805eb0$dab2220a@VF03007L> <87ejrxbb6h.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Nov 21, 2006 at 06:50:30AM +0100, Markus Armbruster wrote:

> "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx> writes:
> 
> > Hi all,
> >
> > The keymap is being written in these patches.
> 
> Are you talking about sdlfb or vncfb?
> 
> > However, the keymap seems to be 101 keyboard layout.
> > Therefore, other keyboard layouts cannot be used.
> 
> sdlfb works with scancodes and its mapping to Linux input layer
> keycodes assumes a standard AT or PS/2 keyboard.
> 
> vncfb can't work with scancodes, because LibVNCServer doesn't provide
> them.  It has to work with key symbols instead.  This can't work in
> general, see the source code for why.  Its mapping to Linux keycodes
> assumes you're using the usual US keymap.
> 
> > I think that the mechanism that keyboard layout is selected like
> > qemu-dm is necessary.
> > How do you think about it?
> 
> Nobody coded it yet.  It would sure be useful.

I think you could steal the keymaps from QEMU, and the parsing and translation
code.  That would be good, because we would have only one set of keymaps to
maintain.  That translation between VNC's X11 keysyms and the appropriate
scancode has been all written once (for QEMU's VNC frontend), so it would be
good if you could take advantage of that.

Cheers,

Ewan.

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