1. 21 Mar, 2017 1 commit
  2. 06 Mar, 2017 1 commit
  3. 15 Nov, 2016 1 commit
  4. 03 Nov, 2016 1 commit
  5. 17 Aug, 2016 1 commit
  6. 23 Jun, 2016 1 commit
  7. 17 Jun, 2016 2 commits
  8. 01 Apr, 2016 1 commit
    • Yusuke Fujimaki's avatar
      HID: Asus X205TA keyboard driver · eeb01a57
      Yusuke Fujimaki authored
      Asus X205TA built-in keyboard contains wrong
      logical maximum value in report descriptor.
      
      0x05, 0x01,  // Usage Page (Generic Desktop)
      0x09, 0x06,  // Usage (Keyboard)
      0xa1, 0x01,  // Collection (Application)
      0x85, 0x01,  // Report ID (1)
      0x05, 0x07,  // Usage Page (Keyboard/Keypad)
      0x19, 0xe0,  // Usage Minimum (224)
      0x29, 0xe7,  // Usage Maximum (231)
      0x15, 0x00,  // Logical Minimum (0)
      0x25, 0x01,  // Logical Maximum (1)
      0x75, 0x01,  // Report Size (1)
      0x95, 0x08,  // Report Count (8)
      0x81, 0x02,  // Input (Data,Array,Abs)
      0x95, 0x01,  // Report Count (1)
      0x75, 0x08,  // Report Size (8)
      0x81, 0x03,  // Input (Const,Var,Abs)
      0x95, 0x05,  // Report Count (5)
      0x75, 0x01,  // Report Size (1)
      0x05, 0x08,  // Usage (LED)
      0x19, 0x01,  // Usage Minimum (1)
      0x29, 0x05,  // Usage Maximum (5)
      0x91, 0x02,  // Output (Data,Var,Abs)
      0x95, 0x01,  // Report Count (1)
      0x75, 0x03,  // Report Size (3)
      0x91, 0x03,  // Output (Const,Var,Abs)
      0x95, 0x06,  // Report Count (6)
      0x75, 0x08,  // Report Size (8)
      0x15, 0x00,  // Logical Minimum (0)
      0x25, 0x65,  // Logical Maximum (101)  * too small *
      0x05, 0x07,  // Usage Page (Keyboard/Keypad)
      0x19, 0x00,  // Usage Minimum (0)
      0x29, 0xdd,  // Usage Maximum (221)
      0x81, 0x00,  // Input(Data,Array,Abs)
      
      In Asus X205TA japanese keyboard model,there are language
      specific keys over usage id 101.
      This patch correct wrong logical maximum in report
      descriptor.
      Signed-off-by: default avatarYusuke Fujimaki <usk.fujimaki@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      eeb01a57
  9. 02 Mar, 2016 1 commit
  10. 26 Oct, 2015 1 commit
  11. 30 Sep, 2015 1 commit
  12. 18 Aug, 2015 1 commit
  13. 26 May, 2015 1 commit
  14. 10 Apr, 2015 1 commit
    • Srinivas Pandruvada's avatar
      HID: sensor: Custom and Generic sensor support · 4a7de051
      Srinivas Pandruvada authored
      HID Sensor Spec defines two usage ids for custom sensors
      
      	HID_USAGE_SENSOR_TYPE_OTHER_CUSTOM (0x09, 0xE1)
      	HID_USAGE_SENSOR_TYPE_OTHER_GENERIC(0x09, 0xE2)
      
      	In addition the standard also defines usage ids for custom fields.
      The purpose of these sensors is to extend the functionality or provide a way to
      obfuscate the data being communicated by a sensor. Without knowing the mapping
      between the data and its encapsulated form, it is difficult for an driver to
      determine what data is being communicated by the sensor.  This allows some
      differentiating use cases, where vendor can provide applications.  Since these
      can't be represented by standard sensor interfaces like IIO, we present these
      as fields with
      
      - type (input/output)
      - units
      - min/max
      - get/set value
      
      In addition an dev interface to transfer report events. Details about this
      interface is described in /Documentation/hid/hid-sensor.txt.  Manufacturers
      should not use these ids for any standard sensors, otherwise the the
      product/vendor id can be added to black list.
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Reviewed-by: default avatarJonathan Cameron <jic23@kernel.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      4a7de051
  15. 03 Mar, 2015 1 commit
  16. 21 Jan, 2015 1 commit
  17. 22 Dec, 2014 1 commit
  18. 03 Nov, 2014 1 commit
  19. 29 Oct, 2014 1 commit
  20. 04 Sep, 2014 1 commit
  21. 06 Aug, 2014 1 commit
  22. 29 Jul, 2014 1 commit
  23. 26 Jul, 2014 1 commit
  24. 01 Jul, 2014 1 commit
  25. 09 Apr, 2014 1 commit
  26. 17 Feb, 2014 1 commit
    • David Barksdale's avatar
      HID: add hid-cp2112 driver · e932d817
      David Barksdale authored
      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: default avatarDavid Barksdale <dbarksdale@uplogix.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      e932d817
  27. 30 Oct, 2013 1 commit
  28. 29 Jul, 2013 1 commit
  29. 13 Jun, 2013 1 commit
  30. 03 Jun, 2013 2 commits
  31. 28 May, 2013 3 commits
    • Jiri Slaby's avatar
      HID: add driver for ELO 4000/4500 · d23efc19
      Jiri Slaby authored
      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: default avatarJiri Slaby <jslaby@suse.cz>
      Tested-by: default avatarPetr 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: default avatarJiri Kosina <jkosina@suse.cz>
      d23efc19
    • Martin Rusko's avatar
      HID: add support for Huion 580 tablet · 68e353fe
      Martin Rusko authored
      Add hid-huion.c with support for Huion 580 tablet, which is simple
      8x5" tablet with 4000LPI resolution and 2048 levels pressure-sensitive
      pen manufactured by the Chinese company Huion.
      
      The driver fixes incorrect report descriptor sent by the device,
      performs custom initialization required to switch the tablet into
      its native resolution mode and inverts the in-range bit.
      Signed-off-by: default avatarMartin Rusko <martin.rusko@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      68e353fe
    • Christian Ohm's avatar
      HID: Add driver for Holtek gaming mouse 04d9:a067 · 41de326e
      Christian Ohm authored
      This mouse is sold as Sharkoon Drakonia and Perixx MX-2000 and reports a
      too high usage maximum and logical maximum. This driver fixes the report
      descriptor so those values don't exceed HID_MAX_USAGES.
      Signed-off-by: default avatarChristian Ohm <chr.ohm@gmx.net>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      41de326e
  32. 19 Apr, 2013 1 commit
  33. 14 Mar, 2013 1 commit
  34. 19 Feb, 2013 1 commit
    • Vivien Didelot's avatar
      HID: add ThingM blink(1) USB RGB LED support · 30ba2fbd
      Vivien Didelot authored
      The ThingM blink(1) is an open source hardware USB RGB LED. It contains
      an internal EEPROM, allowing to configure up to 12 light patterns. A
      light pattern is a RGB color plus a fade time. This driver registers a
      LED class instance with additional sysfs attributes to support basic
      functions such as setting RGB colors, fade and playing. Other functions
      are still accessible through the hidraw interface.
      
      At this time, the only documentation for the device is the firmware
      source code from ThingM, plus a few schematics. They are available at:
      
      https://github.com/todbot/blink1
      
      This patch is version 3. It updates the name of the source file, the
      driver and the led sysfs entry, according to comments from Jiri Kosina
      and Simon Wood.
      Signed-off-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      30ba2fbd
  35. 31 Jan, 2013 2 commits