linux/drivers/input/tablet
Benjamin Tissoires 4451e088cf Input: wacom - remove usb dependency for siblings devices
Wacom tablets can share different physical sensors on one physical device.
These are called siblings in the code. The current way of implementation
relies on the USB topology to be able to share data amongs those sensors.

We can replace the code to match a HID subsystem, without involving the USB
topology:
- the first probed sensor does not find any siblings in the list
  wacom_udev_list, so it creates its own wacom_hdev_data with its own
  struct hid_device
- the other sensor checks the current list of siblings in wacom_hdev_data,
  and if there is a match, it associates itself to the matched device.

To be sure that we are not associating different sensors from different
physical devices, we also check for the phys path of the hid device which
contains the USB topology.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-07-25 18:53:53 -07:00
..
acecad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
aiptek.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
gtco.c Input: gtco - fix usb_dev leak 2014-01-27 22:34:49 -08:00
hanwang.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
kbtab.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
Kconfig Merge branch 'next' into for-linus 2012-03-27 00:27:10 -07:00
Makefile Input: add support for Hanwang tablets 2010-09-01 23:26:18 -07:00
wacom.h Input: wacom - register the input devices on top of the HID one 2014-07-25 18:53:52 -07:00
wacom_sys.c Input: wacom - remove usb dependency for siblings devices 2014-07-25 18:53:53 -07:00
wacom_wac.c Input: wacom - switch from an USB driver to a HID driver 2014-07-25 18:53:50 -07:00
wacom_wac.h Input: wacom - switch from an USB driver to a HID driver 2014-07-25 18:53:50 -07:00