linux-uconsole/drivers/input
Igor Mammedov 5a6e9f0368 Input: xen-kbdfront - fix mouse getting stuck after save/restore
commit c36b58e8a9 upstream.

Mouse gets "stuck" after restore of PV guest but buttons are in working
condition.

If driver has been configured for ABS coordinates at start it will get
XENKBD_TYPE_POS events and then suddenly after restore it'll start getting
XENKBD_TYPE_MOTION events, that will be dropped later and they won't get
into user-space.

Regression was introduced by hunk 5 and 6 of
5ea5254aa0ad269cfbd2875c973ef25ab5b5e9db
("Input: xen-kbdfront - advertise either absolute or relative
coordinates").

Driver on restore should ask xen for request-abs-pointer again if it is
available. So restore parts that did it before 5ea5254.

Acked-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
[v1: Expanded the commit description]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-05-09 15:54:55 -07:00
..
gameport Input: serio - do not use deprecated dev.power.power_state 2009-05-09 16:10:18 -07:00
joystick Input: xpad - add BigBen Interactive XBOX 360 Controller 2009-10-05 22:00:09 -07:00
keyboard Input: twl40300-keypad - fix handling of "all ground" rows 2010-08-02 10:20:55 -07:00
misc Input: winbond-cir - remove dmesg spam 2010-02-09 04:50:51 -08:00
mouse input: bcm5974: Add support for MacBookAir3 2011-02-17 15:36:59 -08:00
serio Input: i8042 - introduce 'notimeout' blacklist for Dell Vostro V13 2011-02-17 15:36:58 -08:00
tablet Input: wacom - switch mode upon system resume 2010-04-26 07:41:34 -07:00
touchscreen Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-10-09 13:32:24 -07:00
apm-power.c Input: apm-power - fix crash when unloading modules 2008-03-24 11:02:06 -04:00
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
ff-core.c Input: fix locking in memoryless force-feedback devices 2009-11-10 21:13:32 -08:00
ff-memless.c Input: fix locking in memoryless force-feedback devices 2009-11-10 21:13:32 -08:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-polldev.c Input: remove private member from input_dev structure 2008-04-02 00:41:00 -04:00
input.c Input: add compat support for sysfs and /proc capabilities output 2010-09-26 17:21:38 -07:00
joydev.c Input: joydev - fix JSIOCSAXMAP ioctl 2010-10-28 21:43:59 -07:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
Makefile Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
mousedev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
xen-kbdfront.c Input: xen-kbdfront - fix mouse getting stuck after save/restore 2011-05-09 15:54:55 -07:00