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

[Xen-devel] [PATCH] linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 21 Sep 2011 15:45:44 +0200
Delivery-date: Wed, 21 Sep 2011 06:48:11 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1316612758; l=889; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=H0kjaDonBS+JQvpovOlcBbdNr0w=; b=cC23yuDAvb/fKtUZij7mUSFWex3449SVphA7sUpDSB7vii0QLesag1ERp8oYT3uGhLD pIf6lkv7bNYQ+enOvmoLQiQQiMPFNWUJsq9UryP1Hz+W6OMKr48Y3HQD0PminNSHztMdt ONBME83+Epw/vuhkG+ilUjIok8Z9hLmYq3Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1316612524 -7200
# Node ID 4d03b2c3bf5953afddca325e15cce89ad5db0098
# Parent  56c7b8e10d3ba46e34d7a1be3b708da6f999b1a0
linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event

In commit 1083:211849d9d511 the wheel event was lost due to an incorrect
backport of upstream commit 8c3c283e6bf463ab498d6e7823aff6c4762314b6.
With this change the wheel event is available again in the guest.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 56c7b8e10d3b -r 4d03b2c3bf59 drivers/xen/fbfront/xenkbd.c
--- a/drivers/xen/fbfront/xenkbd.c
+++ b/drivers/xen/fbfront/xenkbd.c
@@ -170,6 +170,7 @@ int __devinit xenkbd_probe(struct xenbus
                __set_bit(REL_Y, ptr->relbit);
        }
        __set_bit(REL_WHEEL, ptr->relbit);
+       __set_bit(EV_REL, ptr->evbit);
 
        __set_bit(EV_KEY, ptr->evbit);
        for (i = BTN_LEFT; i <= BTN_TASK; i++)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event, Olaf Hering <=