1. 06 2月, 2014 1 次提交
  2. 29 1月, 2014 1 次提交
  3. 28 1月, 2014 2 次提交
  4. 17 1月, 2014 3 次提交
    • K
      HID: hid-holtek-mouse: add new a070 mouse · 274be3eb
      Kharlamov Alexey 提交于
      Added support of RITMIX ROM-316 mouse to hid-holtek-mouse workaround module
      Signed-off-by: NAlexey Kharlamov <derlafff@ya.ru>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      274be3eb
    • S
      HID: hid-sensor-hub: Fix buggy report descriptors · 875e36f8
      Srinivas Pandruvada 提交于
      This addresses regression caused by commit id "751d17e2"
       iio: hid-sensors: Fix power and report state.
      This commit removed a quirk, to change the enumeration base
      to 1 from 0 based on an CONFIG paramter. There was objection to
      add more changes under this quirk, instead suggested to add an
      HID quirk. But there is no easy way to add HID qurik as the
      reports are not properly using collection class.
      
      The solution was to use logical minimum, which is a correct way.
      There were changes done in firmware to address this.
      
      Unfortunately some devices, still use old FW and can't be upgraded
      to newer version on Linux devices as there is no FW upgrade tool
      available for Linux devices. So we need to fix report descriptors,
      for such devices. This will not have any impact, if the FW uses
      logical 1 as minimum.
      
      In this patch we look for usage id for "power and report state", and
      modify logical minimum value to 1.
      
      Background on enum:
      In the original HID sensor hub firmwares all Named array enums were
      to 0-based. But the most recent hub implemented as 1-based,
      because of the implementation by one of the major OS vendor.
      Using logical minimum for the field as the base of enum. So we add
      logical minimum to the selector values before setting those fields.
      Some sensor hub FWs already changed logical minimum from 0 to 1
      to reflect this and hope every other vendor will follow.
      There is no easy way to add a common HID quirk for NAry elements,
      even if the standard specifies these field as NAry, the collection
      used to describe selectors is still just "logical".
      Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      875e36f8
    • F
      HID: sony: Add force-feedback support for the Dualshock 4 · 0bd88dd3
      Frank Praznik 提交于
      Adds the Dualshock 4 to the HID device list and enables force-feedback.
      
      Adds a Dualshock 4 specific worker function since the Dualshock 4 needs a
      different report than the Sixaxis.
      
      The right motor in the Dualshock 4 is variable so the full rumble value
      is now passed to the worker function and clamped there if necessary.
      Signed-off-by: NFrank Praznik <frank.praznik@oh.rr.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      0bd88dd3
  5. 13 12月, 2013 1 次提交
  6. 03 12月, 2013 1 次提交
    • V
      HID: add support for Logitech Dual Action gamepads · 56d0c8b7
      Vitaly Katraew 提交于
      I have two Logitech Dual Action gamepads, both have same Vendor/Device id pair.
      Newest gamepad (A) can switch between old mode (HID) and XBox gamepad emulation
      mode. Old gamepad (B) can only work in HID mode.  In HID mode gamepad A sends
      many EPIPE errors during initialization and was disconnected immediately after
      connect  to usb port. It works fine in Win and Mac. After adding NOGET quirk in
      driver, it was working properly.  Gamepad B works fine before and after
      changes. I tested both gamepads with 3.8.0 and 3.11.6 kernels  with modified
      driver. Follow patch can apply for current git kernel version. I can send pcap
      log from usb bus with both gamepads or any other additional information if it
      is needed
      Signed-off-by: NVitaly Katraew <zawullon@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      56d0c8b7
  7. 02 12月, 2013 3 次提交
  8. 21 11月, 2013 2 次提交
  9. 19 11月, 2013 1 次提交
  10. 30 10月, 2013 1 次提交
  11. 25 10月, 2013 2 次提交
  12. 21 10月, 2013 1 次提交
  13. 09 10月, 2013 3 次提交
  14. 07 10月, 2013 1 次提交
  15. 02 10月, 2013 1 次提交
  16. 04 9月, 2013 1 次提交
  17. 02 9月, 2013 2 次提交
  18. 29 7月, 2013 1 次提交
  19. 15 7月, 2013 1 次提交
  20. 04 7月, 2013 1 次提交
    • B
      HID: kye: Add report fixup for Genius Gila Gaming mouse · 3685c18e
      Benjamin Tissoires 提交于
      Genius Gila Gaming Mouse presents an obviously wrong report descriptor.
      the Consumer control (report ID 3) is the following:
      0x05, 0x0c,                    // Usage Page (Consumer Devices)       105
      0x09, 0x01,                    // Usage (Consumer Control)            107
      0xa1, 0x01,                    // Collection (Application)            109
      0x85, 0x03,                    //   Report ID (3)                     111
      0x19, 0x00,                    //   Usage Minimum (0)                 113
      0x2a, 0xff, 0x7f,              //   Usage Maximum (32767)             115
      0x15, 0x00,                    //   Logical Minimum (0)               118
      0x26, 0xff, 0x7f,              //   Logical Maximum (32767)           120
      0x75, 0x10,                    //   Report Size (16)                  123
      0x95, 0x03,                    //   Report Count (3)                  125
      0x81, 0x00,                    //   Input (Data,Arr,Abs)              127
      0x75, 0x08,                    //   Report Size (8)                   129
      0x95, 0x01,                    //   Report Count (1)                  131
      0x81, 0x01,                    //   Input (Cnst,Arr,Abs)              133
      0xc0,                          // End Collection                      135
      
      So the first input whithin this report has a count of 3 but a usage range
      of 32768. So this value is obviously wrong as it should not be greater than
      the report count.
      
      Fixes:
      https://bugzilla.redhat.com/show_bug.cgi?id=959721Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      3685c18e
  21. 03 7月, 2013 1 次提交
  22. 28 5月, 2013 4 次提交
  23. 23 5月, 2013 1 次提交
    • V
      HID: ignore Jabra speakerphones HID interface · 31b9779c
      Vincent Palatin 提交于
      Add a quirk to ignore Jabra speakerphone 410 and 510 devices HID
      interface.
      On those devices, the USB audio interface is working nicely,
      but the HID interface is not working with the kernel usbhid driver,
      and it requires a specific userspace program.
      We could unbind it from userspace but just attaching the usbhid driver has
      sometimes nasty effects:
      either confusing the device state machine or triggering a storm of volume key
      events making eventual sound UI blinking like crazy.
      Signed-off-by: NVincent Palatin <vpalatin@chromium.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      31b9779c
  24. 20 5月, 2013 2 次提交
  25. 16 5月, 2013 1 次提交
  26. 29 4月, 2013 1 次提交