1. 07 11月, 2012 1 次提交
    • F
      HID: Ignore D-WAV/eGalax devices handled by usbtouchscreen · 729b814a
      Forest Bond 提交于
      Previously, both usbhid and usbtouchscreen would bind to D-WAV devices
      with class HID and protocol None, so they would be claimed by whichever
      driver was loaded first.  Some of these devices do in fact work with
      usbhid, but not all of them do.  OTOH they all work with usbtouchscreen
      as of commit 037a833e ("Input:
      usbtouchscreen - initialize eGalax devices").  So we ignore them in
      usbhid to prevent getting in the way of usbtouchscreen and claiming an
      interface that we may not be able to do anything useful with.
      Signed-off-by: NForest Bond <forest.bond@rapidrollout.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      729b814a
  2. 31 10月, 2012 1 次提交
  3. 01 10月, 2012 2 次提交
    • D
      HID: Add support for Sony PS3 BD Remote Control · 5844c1cd
      David Dillow 提交于
      The Sony PS3 Blue-ray Disc Remote Control used to be supported by the
      BlueZ project's user space, but the code that handled it was recently
      removed as its functionality conflicted with a real HSP implementation
      and the mapping was thought to be better handled in the kernel. This is
      a port of the mapping logic from the fakehid driver by Marcel Holtmann
      to the in-kernel HID layer.
      
      We also add support for the Logitech Harmony Adapter for PS3, which
      emulates the BD Remote.
      Signed-off-by: NDavid Dillow <dave@thedillows.org>
      Signed-off-by: NAntonio Ospite <ospite@studenti.unina.it>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5844c1cd
    • K
      HID: keep dev_rdesc unmodified and use it for comparisons · 86e6b77e
      Kevin Daughtridge 提交于
      The dev_rdesc member of the hid_device structure is meant to store the original
      report descriptor received from the device, but it is currently passed to any
      report_fixup method before it is copied to the rdesc member. This patch uses a
      temporary buffer to shield dev_rdesc from the side effects of many HID drivers'
      report_fixup implementations.
      
      usbhid's hid_post_reset checks the report descriptor currently returned by the
      device against a descriptor that may have been modified by a driver's
      report_fixup method. That leaves some devices nonfunctional after a resume, with
      a "reset_resume error 1" reported. This patch checks the new descriptor against
      the unmodified dev_rdesc instead and uses the original, instead of modified,
      report size.
      
      BugLink: http://bugs.launchpad.net/bugs/1049623Signed-off-by: NKevin Daughtridge <kevin@kdau.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      86e6b77e
  4. 17 9月, 2012 2 次提交
  5. 07 9月, 2012 2 次提交
  6. 02 9月, 2012 2 次提交
  7. 27 8月, 2012 1 次提交
    • N
      HID: uclogic: Add support for UC-Logic TWHA60 · eb4e426a
      Nikolai Kondrashov 提交于
      Add support for UC-Logic Tablet TWHA60.
      It is known to be sold as Genius EasyPen M610 and Monoprice MP1060-HA60.
      
      As this tablet has several variations with different number and different
      assignments of frame buttons, they are simply mapped to F1-F24 range and are
      left for users to remap in userspace.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      eb4e426a
  8. 22 8月, 2012 1 次提交
  9. 15 8月, 2012 1 次提交
  10. 31 7月, 2012 1 次提交
  11. 23 7月, 2012 1 次提交
  12. 22 7月, 2012 1 次提交
  13. 20 7月, 2012 2 次提交
    • D
      HID: Allow drivers to be their own listener · 4bc19f62
      David Herrmann 提交于
      hid-picolcd and hid-wiimote do not allow any of hidinput, hiddev or hidraw
      to claim the device but still want to remain on the bus. Hence, if a
      driver uses the raw_event callback but no other listener claimed the
      device, we still leave it on the bus as the driver handles everything by
      itself. It thus becomes its own listener.
      
      Under some circumstances (eg., hidinput_connect() fails and raw_event set)
      a device may be left on the bus even though it requires external
      listeners. But then if hidinput_connect() fails there are bigger issues
      than a device that is left unhandled. So we can safely use this heuristic
      to avoid adding another flag for special devices like hid-picolcd and
      hid-wiimote.
      
      This also removes the ugly hack from hid-picolcd as this is no longer
      required.
      Signed-off-by: NDavid Herrmann <dh.herrmann@googlemail.com>
      Acked-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      4bc19f62
    • M
      HID: hid-core: optimize in case of hidraw · b94e3c94
      Matthieu CASTET 提交于
      When using hidraw, hid buffer can be big and take lot's of
      time to process (interrupt) kernel context.
      Don't try to parse report if we are only interrested in hidraw.
      
      Also don't prepare data for debug stuff if no debugfs file
      are opened.
      Signed-off-by: NMatthieu CASTET <matthieu.castet@parrot.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      b94e3c94
  14. 12 7月, 2012 1 次提交
  15. 11 7月, 2012 2 次提交
  16. 28 6月, 2012 1 次提交
  17. 12 6月, 2012 1 次提交
  18. 08 6月, 2012 1 次提交
  19. 15 5月, 2012 1 次提交
  20. 14 5月, 2012 2 次提交
  21. 01 5月, 2012 6 次提交
  22. 28 4月, 2012 1 次提交
  23. 20 4月, 2012 1 次提交
  24. 14 4月, 2012 1 次提交
  25. 28 3月, 2012 1 次提交
  26. 20 3月, 2012 1 次提交
    • A
      HID: multitouch: add PID for Fructel product · 4d5df5d1
      Andreas Nielsen 提交于
      Adds multitouch support for the Gametel Android game controller.
      
      The multitouch events are emulated by the Gametel device. Each physical button
      is configured to generate a MT event on a specific coordinate. This seems to be
      the only way for us to support Android games that doesn't support HID gamepads.
      It is possible to inject MT events at Android level, but this requires root on
      the phone.
      Signed-off-by: NAndreas Nielsen <eas@svep.se>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      4d5df5d1
  27. 13 3月, 2012 1 次提交
  28. 12 3月, 2012 1 次提交