]> git.karo-electronics.de Git - linux-beck.git/commit
HID: Add driver to fix Speedlink VAD Cezanne support
authorStefan Kriwanek <mail@stefankriwanek.de>
Fri, 27 May 2011 16:40:29 +0000 (18:40 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 8 Jun 2011 07:45:37 +0000 (09:45 +0200)
commit74bc6953135ae1478acc18046321bfca05b0e823
tree194f288653928661abb8e8f88e07a19dd643210a
parentdc0a4f0ce2b1a9ef5947cdb6d62f60008a7e42bf
HID: Add driver to fix Speedlink VAD Cezanne support

Speedlink VAD Cezanne have a hardware bug that makes the cursor "jump" from one
place to another every now and then. The issue are relative motion events
erroneously reported by the device, each having a distance value of +256. This
256 can in fact never occur due to real motion, therefore those events can
safely be ignored.  The driver also drops useless EV_REL events with a value of
0, that the device sends every time it sends an "real" EV_REL or EV_KEY event.

Signed-off-by: Stefan Kriwanek <mail@stefankriwanek.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-speedlink.c [new file with mode: 0644]