1. 22 Jan, 2014 1 commit
  2. 21 Jan, 2014 2 commits
  3. 20 Jan, 2014 1 commit
  4. 17 Jan, 2014 4 commits
  5. 16 Jan, 2014 6 commits
    • Kharlamov Alexey's avatar
      HID: hid-holtek-mouse: add new a070 mouse · 274be3eb
      Kharlamov Alexey authored
      Added support of RITMIX ROM-316 mouse to hid-holtek-mouse workaround module
      Signed-off-by: default avatarAlexey Kharlamov <derlafff@ya.ru>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      274be3eb
    • Srinivas Pandruvada's avatar
      HID: hid-sensor-hub: Fix buggy report descriptors · 875e36f8
      Srinivas Pandruvada authored
      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: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      875e36f8
    • Benjamin Tisssoires's avatar
      HID: logitech-dj: Fix USB 3.0 issue · 42c22dbf
      Benjamin Tisssoires authored
      This fix (not very clean though) should fix the long time USB3
      issue that was spotted last year. The rational has been given by
      Hans de Goede:
      
       ----
      
      I think the most likely cause for this is a firmware bug
      in the unifying receiver, likely a race condition.
      
      The most prominent difference between having a USB-2 device
      plugged into an EHCI (so USB-2 only) port versus an XHCI
      port will be inter packet timing. Specifically if you
      send packets (ie hid reports) one at a time, then with
      the EHCI controller their will be a significant pause
      between them, where with XHCI they will be very close
      together in time.
      
      The reason for this is the difference in EHCI / XHCI
      controller OS <-> driver interfaces.
      
      For non periodic endpoints (control, bulk) the EHCI uses a
      circular linked-list of commands in dma-memory, which it
      follows to execute commands, if the list is empty, it
      will go into an idle state and re-check periodically.
      
      The XHCI uses a ring of commands per endpoint, and if the OS
      places anything new on the ring it will do an ioport write,
      waking up the XHCI making it send the new packet immediately.
      
      For periodic transfers (isoc, interrupt) the delay between
      packets when sending one at a time (rather then queuing them
      up) will be even larger, because they need to be inserted into
      the EHCI schedule 2 ms in the future so the OS driver can be
      sure that the EHCI driver does not try to start executing the
      time slot in question before the insertion has completed.
      
      So a possible fix may be to insert a delay between packets
      being send to the receiver.
      
       ----
      
      I tested this on a buggy Haswell USB 3.0 motherboard, and I always
      get the notification after adding the msleep.
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      42c22dbf
    • Frank Praznik's avatar
      HID: sony: Rename worker function · cad665a2
      Frank Praznik authored
      Rename sony_state_worker to sixaxis_state_worker since the function is now
      sixaxis specific.
      Signed-off-by: default avatarFrank Praznik <frank.praznik@oh.rr.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      cad665a2
    • Frank Praznik's avatar
      HID: sony: Add LED controls for the Dualshock 4 · 60781cf4
      Frank Praznik authored
      Add LED lightbar controls for the Dualshock 4.
      
      The Dualshock 4 light bar has 3 separate RGB LEDs that can range in
      brightness from 0 to 255 so a full byte is now needed to store each LED's
      state
      
      Changed the module to support an arbitrary number of LEDs instead of being
      hardcoded to 4.
      Signed-off-by: default avatarFrank Praznik <frank.praznik@oh.rr.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      60781cf4
    • Frank Praznik's avatar
      HID: sony: Add force-feedback support for the Dualshock 4 · 0bd88dd3
      Frank Praznik authored
      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: default avatarFrank Praznik <frank.praznik@oh.rr.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      0bd88dd3
  6. 06 Jan, 2014 1 commit
  7. 02 Jan, 2014 1 commit
  8. 20 Dec, 2013 1 commit
  9. 17 Dec, 2013 1 commit
  10. 16 Dec, 2013 1 commit
  11. 15 Dec, 2013 1 commit
  12. 13 Dec, 2013 20 commits