From: "Junko Ichino" Subject: Re: [RFC] keymap support for PVFB Date: Wed, 17 Jan 2007 18:39:21 +0900 Message-ID: <03dd01c73a1b$5e043310$d9b2220a@VF05186P> References: <009d01c72a36$405dd400$d9b2220a@VF05186P><87r6u2my8s.fsf@pike.pond.sub.org><019401c7358a$28117460$d9b2220a@VF05186P><87d55lh2k2.fsf@pike.pond.sub.org><038101c739fd$b86f9ce0$d9b2220a@VF05186P> <87hcuq3xgy.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Markus, PVFB does the same conversion (keysym->scancode) as qemu-dm. Conversion is correctly done in qemu-dm of original, and "\" is displayed on the screen. When keysym was 92, I handed 43 compulsorily to scancode. The result is as follows. PVFB: keycode 92(0x5C) -> scancode 43 xev: keycode 51 keysym 0x5d, bracketright Thanks, - Junko Ichino ----- Original Message ----- From: "Markus Armbruster" To: "Junko Ichino" Cc: Sent: Wednesday, January 17, 2007 4:48 PM Subject: Re: [Xen-devel] [RFC] keymap support for PVFB > "Junko Ichino" writes: > >> Hi Markus, >> >> I checked that the result of conversion had passed PVFB and gone out of >> fbflont. >> I think that the conversion by the OS side will go wrong. >> >> If you know how it will pass from guest OS to guest OS's X, >> please give me some comments. >> >> When I input "\", following message a display each modules >> >> PVFB: >> keycode 92(0x5C) -> scancode 115 >> >> xev: >> keycode 176 keysym 0x0, NoSymbol > > Let's make sure I got the facts right: > > Your vncfb backend receives key symbol 92 (XK_backslash) from your VNC > viewer. > > Your vncfb translates that to Linux input layer key code 115. > > Is that what happens? > > Key code 115 is KEY_VOLUMEUP. That's wrong. You want 43 > (KEY_BACKSLASH) instead. Bug in your translation table? > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel