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] Re: [patch] pvfb: Split mouse and keyboard into separate

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [patch] pvfb: Split mouse and keyboard into separate devices.
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Fri, 02 Feb 2007 17:29:57 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>
Delivery-date: Fri, 02 Feb 2007 08:31:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1E9084D.8C73%Keir.Fraser@xxxxxxxxxxxx>
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: <C1E9084D.8C73%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20060911)
Keir Fraser wrote:
> On 2/2/07 08:39, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:
> 
>> Daniel P. Berrange wrote:
>>> Is there some way we can keep the original device supplying both keyboard
>>> and mouse events as before, and just have this second device as an opt-in
>>> 'absolute pointer' event device. That way existing Xorg setups will still
>>> work correctly without needing any config changes, while providing the
>>> ability to opt-in to getting absolute events by adding the extra config.
>> Should be possible.
> 
> I guess I'll wait for this before applying the patch then.

With Xorg 7.2, this patch, and the device id patch on top you can add
this ...

Section "InputDevice"
  Driver        "evdev"
  Identifier    "xenptr"
  Option        "SendCoreEvents" "true"
  Option        "vendor"        "0x5853"
  Option        "product"       "0x0003"
EndSection

... as additional (to the default /dev/input/mice) input device.  The
new input device must also be added to the serverlayout section.
WorksForMe[tm].

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>