Olaf Hering
2011-Sep-21 13:45 UTC
[Xen-devel] [PATCH] linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event
# HG changeset patch # User Olaf Hering <olaf@aepfle.de> # 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@aepfle.de> 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@lists.xensource.com http://lists.xensource.com/xen-devel