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] Access to raw keycodes in xen domU

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Access to raw keycodes in xen domU
From: "Maxim Gorbachyov" <maxim.gorbachyov@xxxxxxxxx>
Date: Mon, 25 Aug 2008 13:26:41 +0400
Delivery-date: Mon, 25 Aug 2008 02:27:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=yIHKZr4KT2kyNF4zLQdcHiyqS1SrNTh9VATTfxjhksw=; b=OepbGYVH+1YfTOxU2vm5SqPpvNGhBoyjR3EIOna2bGK7uDF+LiuKGmUgorD8uHui6b jCvy+pPWxTERcDfvqbFk57NXrQMug/eSgaCP/FpT5ptqd1Sc9yp02EjZLdBmucizqorl pyZsPgsIyqeMVIXw4jRxIO1IudFkVSULzfVSQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=BzELv6/jDTh5kRb0TsRdXHV8hHRyQLKOUAa/aPyQbBp8M2hWdMINyMBJLWr7kdEboH UOJzgpBx34Nj4abc7wSY/HrOU75ebZYrrG2bfHgptbAvGnO6ZhEiJppYqrvizD0yWaDS hUy3sakaOY35GtPkQJnpaK153wUFO11wMiBPQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080814152151.GU4590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <291f35090808140658i41ef68acx50ebb15e12f237be@xxxxxxxxxxxxxx> <C4C9FABA.25FA3%keir.fraser@xxxxxxxxxxxxx> <18596.17306.166292.733162@xxxxxxxxxxxxxxxxxxxxxxxx> <291f35090808140809lf43f6bfv5925f780af076f08@xxxxxxxxxxxxxx> <20080814152151.GU4590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello.

On Thu, Aug 14, 2008 at 7:21 PM, Samuel Thibault
<samuel.thibault@xxxxxxxxxxxxx> wrote:
> Well, the problem is that since the xen console can be accessed e.g.
> through ssh, there is really no way to properly return keycodes. If you
> can not use pvfb, The only half-sane way I see is that you hardcode the
> translation that your dinosaur binary expects according to the keyboard
> layout you are using and use that patched version.  I really don't see
> how that could ever fit generically in xen console.

There were doubts if anyone beside me needs it. Well, just
informational, this is the way I did it (see diff attached). Note,
some used esc-sequences are not in the default keymap.

Attachment: domU-raw-keycodes.patch
Description: Text Data

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