linux-stable/drivers
Jason Gerecke 2f84723de7 Revert "HID: wacom: generic: Send BTN_TOOL_PEN in prox once the pen enters range"
This reverts commit 3e70969e44.

This commit causes a few problems for userspace. The most noteworthy are
problems related to the distinguishing of different pens and pointer jumps
when entering proximity. Userspace is written with the expectation that a
pen will provide its tool ID and serial number (if available) in the very
first in-prox report. By sending BTN_TOOL_PEN when the tablet starts
communicating rather than waiting until a tool ID/serial number is
available, userspace ends up treating all pens as being the same and
lacking a serial number. Similarly, userspace assumes that the first
report will contain X/Y data, but by marking the pen as being in-prox
without an X/Y coordinate, userspace ends up warping the pen to the last-
known X/Y location. As of commit 5b40104edf ("HID: wacom: generic: Reset
events back to zero when pen leaves") this means warping to (0,0).

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-10-11 15:17:35 +02:00
..
accessibility
acpi arm64 updates for 4.14: 2017-09-05 09:53:37 -07:00
amba
android ANDROID: binder: don't queue async transactions to thread. 2017-09-01 09:22:50 +02:00
ata Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 08:13:52 -07:00
atm
auxdisplay
base
bcma
block Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 11:52:29 -07:00
bluetooth
bus
cdrom
char Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
clk
clocksource Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 13:06:34 -07:00
connector
cpufreq
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
fmc
fpga
fsi
gpio This is the bulk of the GPIO changes for the v4.14 cycle: 2017-09-05 11:49:48 -07:00
gpu Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 12:21:28 -07:00
hid Revert "HID: wacom: generic: Send BTN_TOOL_PEN in prox once the pen enters range" 2017-10-11 15:17:35 +02:00
hsi
hv
hwmon hwmon: (ltq-cputemp) add cpu temp sensor driver 2017-09-01 07:24:14 -07:00
hwspinlock
hwtracing
i2c
ide
idle
iio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2017-09-05 11:54:41 -07:00
infiniband Updates for 4.14 kernel merge window 2017-09-03 17:49:17 -07:00
input Driver core update for 4.14-rc1 2017-09-05 10:41:21 -07:00
iommu Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 12:21:28 -07:00
ipack
irqchip Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 13:08:27 -07:00
isdn
leds
lightnvm
macintosh
mailbox
mcb Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
md
media
memory
memstick
message
mfd hwmon updates for v4.14 2017-09-03 18:43:20 -07:00
misc Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
mmc
mtd
mux
net Merge branch 'parisc-4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2017-09-05 09:37:11 -07:00
nfc
ntb
nubus
nvdimm
nvme Updates for 4.14 kernel merge window 2017-09-03 17:49:17 -07:00
nvmem
of
oprofile
parisc
parport Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
pci Updates for 4.14 kernel merge window 2017-09-03 17:49:17 -07:00
pcmcia
perf
phy Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator Merge remote-tracking branches 'regulator/topic/rc5t619' and 'regulator/topic/stm32-vref' into regulator-next 2017-09-04 17:45:50 +01:00
remoteproc
reset
rpmsg
rtc
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-09-05 09:45:46 -07:00
sbus
scsi Merge branch 'parisc-4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2017-09-05 09:37:11 -07:00
sfi
sh
sn
soc
spi Merge remote-tracking branch 'spi/topic/xlp' into spi-next 2017-09-04 15:51:34 +01:00
spmi
ssb
staging Staging/IIO driver updates for 4.14-rc1 2017-09-05 10:36:26 -07:00
target
tc
tee
thermal
thunderbolt
tty Staging/IIO driver updates for 4.14-rc1 2017-09-05 10:36:26 -07:00
uio
usb Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
uwb
vfio
vhost
video Driver core update for 4.14-rc1 2017-09-05 10:41:21 -07:00
virt
virtio Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 09:52:57 -07:00
vlynq
vme
w1
watchdog
xen Driver core update for 4.14-rc1 2017-09-05 10:41:21 -07:00
zorro
Kconfig
Makefile