[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Wed, 21 Sep 2011 15:45:44 +0200
  • Delivery-date: Wed, 21 Sep 2011 06:48:11 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.