1. 17 2月, 2015 1 次提交
  2. 21 1月, 2015 1 次提交
  3. 12 1月, 2015 1 次提交
  4. 07 1月, 2015 1 次提交
  5. 29 12月, 2014 1 次提交
  6. 22 12月, 2014 1 次提交
  7. 17 12月, 2014 1 次提交
  8. 02 12月, 2014 1 次提交
  9. 20 11月, 2014 1 次提交
  10. 11 11月, 2014 1 次提交
  11. 05 11月, 2014 1 次提交
  12. 04 11月, 2014 1 次提交
  13. 03 11月, 2014 1 次提交
  14. 29 10月, 2014 3 次提交
  15. 01 10月, 2014 1 次提交
    • B
      HID: wacom: implement generic HID handling for pen generic devices · 7704ac93
      Benjamin Tissoires 提交于
      ISDv4 and v5 are plain HID devices. We can directly implement a generic
      HID parsing/handling and remove the need to manually add those PID in
      the list of supported devices.
      
      This patch implements the pen support only. The finger part will come in
      a later patch.
      
      To be properly notified of an .event() and a .report(), we need to force
      hid-core to go through the HID parsing. By default, wacom.ko binds only
      hidraw, so the hid parsing is not done by hid-core. When a true HID device
      is there, we add the flag HID_CLAIMED_DRIVER to hid->claimed which will
      force hid-core to parse the incoming reports.
      (Note that this can be easily backported by directly setting the .claimed
      flag to HID_CLAIMED_DRIVER even if hid-core does not support
      HID_CONNECT_DRIVER)
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Acked-by: NJason Gerecke <killertofu@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      7704ac93
  16. 08 9月, 2014 2 次提交
  17. 04 9月, 2014 1 次提交
  18. 07 8月, 2014 2 次提交
  19. 29 7月, 2014 5 次提交
  20. 26 7月, 2014 1 次提交
    • B
      Input: wacom - switch from an USB driver to a HID driver · 29b47391
      Benjamin Tissoires 提交于
      All USB Wacom tablets are actually HID devices.
      For historical reasons, they are handled as plain USB devices.
      The current code makes more and more reference to the HID subsystem
      like implementing its own HID report descriptor parser to handle new
      devices.
      
      From the user point of view, we can transparently switch from this state
      to a driver handled in the HID subsystem and clean up a lot of USB specific
      code in the wacom.ko driver.
      
      The other benefit once the USB dependecies have been removed is that we can
      use a tool like uhid to make regression tests and allow further cleanup or
      new implementations without risking breaking current behaviors.
      
      To match the current handling of devices in wacom_wac.c, we rely on the
      hid_type set by usbhid. usbhid sets the hid_type to HID_TYPE_USBMOUSE when
      it sees a USB boot mouse protocol declared and HID_TYPE_USBNONE when the
      device is plain HID. There is thus a one to one matching between the list
      of supported devices before and after the switch from USB to HID.
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Reviewed-by: NJason Gerecke <killertofu@gmail.com>
      Tested-by: NJason Gerecke <killertofu@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      29b47391
  21. 01 7月, 2014 1 次提交
  22. 22 5月, 2014 1 次提交
  23. 21 5月, 2014 1 次提交
  24. 20 5月, 2014 1 次提交
  25. 05 5月, 2014 1 次提交
  26. 09 4月, 2014 1 次提交
  27. 07 4月, 2014 2 次提交
    • B
      HID: core: do not scan constant input report · e24d0d39
      Benjamin Tissoires 提交于
      The Microsoft Surface Type/Touch Cover 2 is a fancy device which advertised
      itself as a multitouch device but with constant input reports.
      This way, hid_scan_report() gives the group MULTITOUCH to it, but
      hid-multitouch can not handle it due to the constant collection ignored
      by hid-input.
      
      To prevent such crap in the future, and while we do not fix this particular
      device, make the scan_report coherent with hid-input.c, and ignore constant
      input reports.
      
      CC: stable@vger.kernel.org # 3.12+
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      e24d0d39
    • D
      Revert "HID: microsoft: Add ID's for Surface Type/Touch Cover 2" · f3b0cbce
      Derya 提交于
      This reverts commit 117309c5.
      
      The MS Surface Pro 2 has an USB composite device with 3 interfaces
      - interface 0 - sensor hub
      - interface 1 - wacom digitizer
      - interface 2 - the keyboard cover, if one is attached
      This USB composite device changes it product id dependent on if and which
      keyboard cover is attached. Adding the covers to hid_have_special_driver
      prevents loading the right hid drivers for the other two interfaces, all 3
      get loaded with hid-microsoft. We don't even need hid-microsoft for the
      keyboards. We have to revert this to load the right hid modules for each
      interface.
      
      CC: stable@vger.kernel.org # kernel 3.14 only
      Signed-off-by: NDerya <derya.kiran@yahoo.de>
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f3b0cbce
  28. 25 2月, 2014 1 次提交
  29. 18 2月, 2014 1 次提交
    • D
      HID: add hid-cp2112 driver · e932d817
      David Barksdale 提交于
      This patch adds support for the Silicon Labs CP2112 "Single-Chip HID USB to
      SMBus Master Bridge."
      
      This is a HID device driver which registers as an i2c adapter and gpiochip to
      expose these functions of the CP2112. The customizable USB descriptor fields
      are exposed as sysfs attributes.  The SMBus byte-read, byte-data-read/write,
      and word-data-read transfer modes have been tested by talking to an i2c
      sensor.  The GPIO functions and USB descriptor field programming have also
      been tested.
      Signed-off-by: NDavid Barksdale <dbarksdale@uplogix.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      e932d817
  30. 17 2月, 2014 1 次提交
  31. 16 2月, 2014 1 次提交