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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [RFC] keymap support for PVFB

To: Markus Armbruster <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] keymap support for PVFB
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: 2007年1月12日 09:15:21 +0100
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx, Junko Ichino <ichino.junko@xxxxxxxxxxxxxx>
Delivery-date: 2007年1月12日 00:15:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87hcuxh2lk.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: <009d01c72a36405ドルdd400$d9b2220a@VF05186P> <87r6u2my8s.fsf@xxxxxxxxxxxxxxxxx> <45A5FEB0.4010606@xxxxxxx> <87hcuxh2lk.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20060911)
 Hi,
>> I've tried to tackle the same issue by hacking the vnc client side to
>> send us keysyms no matter what the local keyboard mapping is. So I can
>> have any keyboard map loaded on the host, qemu-dm/vncfb sees us keysyms
>> nevertheless and passes the correct scancodes to the guest OS.
>
> You mean scan codes, don't you? Key symbols are the XK_a and so
> forth.
No, keysyms. This is what the vnc protocol uses, so there is no way
around that, unfortunaly. It takes the X11 keycodes and translates
these to us keymap keysyms using a buildin table, then sends them. So
for the server side (from vnc protocol view, i.e. qemu-dm or vnc-fb) it
looks like a vnc client with us keyboard.
> Passing scan codes in addition to key symbols makes sense.
Does the vnc protocol allow that? I don't think so :-(
> Would you mind sharing your code when it's ready?
http://www.suse.de/~kraxel/xen/, the vnc client in the "xenwatch" package.
cheers,
 Gerd
-- 
Gerd Hoffmann <kraxel@xxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] fix build when CONFIG_COMPAT disabled , Jan Beulich
Next by Date: Re: [Xen-devel] [PATCH] linux/i386: allow CONFIG_HIGHPTE on i386 (take 2) , Keir Fraser
Previous by Thread: Re: [Xen-devel] [RFC] keymap support for PVFB , Markus Armbruster
Next by Thread: Re: [Xen-devel] [RFC] keymap support for PVFB , Markus Armbruster
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /