]> git.baikalelectronics.ru Git - kernel.git/commit
HID: add driver for ELO 4000/4500
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 May 2013 09:40:58 +0000 (11:40 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 May 2013 23:11:42 +0000 (01:11 +0200)
commit47ef5f8a6636e34527ed9247a03a4a6da10e3ec9
tree0fbc6a75a728470b290db7e1a4b14b1eb978e93c
parent522ac5a784c58f831461cd5e5217e050e4ab16ea
HID: add driver for ELO 4000/4500

This is a driver for ELO 4000/4500 devices which report themselves as
HID devices, but do not really send HID events on touch. So we
introduce a new HID 'quirk' driver with a raw_event handler where we
take care of those events.

What we need additionally is an input_configured hook, because the
device does not mention anything about PRESSURE and TOUCH in its
report descriptor, but it actually generate those. So we set the bits
in the corresponding input_dev in that hook.

Thanks to Petr Ostadal who was willing to test the driver. The rest of
Cc's listed below had something to do with that driver over the years
in our enterprise tree.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Tested-by: Petr Ostadal <postadal@suse.cz>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Egbert Eich <eich@suse.com>
Cc: Libor Pechacek <lpechacek@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-elo.c [new file with mode: 0644]