1. 23 12月, 2010 1 次提交
  2. 15 11月, 2010 3 次提交
  3. 12 11月, 2010 3 次提交
    • D
      Input: hgpk - extend jumpiness detection · a309cdc7
      Daniel Drake 提交于
      In addition to forcing recalibrations upon detection of cursor jumps (and
      performing them quicker than before), detect and discard errant 'jump'
      packets caused by a firmware bug, which are then repeated with each one
      being approximately half the delta of the one previously (as if it is
      averaging out)
      
      Based on original work by Paul Fox.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      a309cdc7
    • D
      Input: hgpk - rework spew detection · c0dc8342
      Daniel Drake 提交于
      The old implementation of spew detection simply tracked the overall
      position delta of the cursor over every 100 packets. We found that
      this causes occasional false positives in spew detection, and also
      that the conditions of the spewy packets are perhaps more fixed than
      we once thought.
      
      Rework the spew detection to look for packets of specific small
      delta, and only recalibrating if the overall movement delta stays
      within expected bounds.
      
      Also discard duplicate packets in the advanced mode, which appear
      to be very common. If we don't, the spew detection kicks in far
      too early. If we get a large spew of duplicates, request a
      recalibration straight up.
      
      Based on earlier work by Paul Fox.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      c0dc8342
    • D
      Input: hgpk - support GlideSensor and PenTablet modes · ca94ec43
      Daniel Drake 提交于
      Add a "hgpk_mode" sysfs attribute that allows selection between 3 options:
      Mouse (the existing option), GlideSensor and PenTablet.
      
      GlideSensor is an enhanced protocol for the regular touchpad mode that
      additionally reports pressure and uses absolute coordinates. We suspect
      that it may be more reliable than mouse mode in some environments.
      
      PenTablet mode puts the touchpad into resistive mode, you must then use
      a stylus as an input. We suspect this is the most reliable way to drive
      the touchpad.
      
      The GlideSensor and PenTablet devices expose themselves with the
      intention of being combined with the synaptics X11 input driver.
      
      Based on earlier work by Paul Fox.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      ca94ec43
  4. 31 10月, 2010 1 次提交
  5. 18 10月, 2010 1 次提交
  6. 13 10月, 2010 3 次提交
  7. 01 9月, 2010 1 次提交
  8. 11 8月, 2010 1 次提交
    • R
      param: use ops in struct kernel_param, rather than get and set fns directly · 9bbb9e5a
      Rusty Russell 提交于
      This is more kernel-ish, saves some space, and also allows us to
      expand the ops without breaking all the callers who are happy for the
      new members to be NULL.
      
      The few places which defined their own param types are changed to the
      new scheme (more which crept in recently fixed in following patches).
      
      Since we're touching them anyway, we change get() and set() to take a
      const struct kernel_param (which they really are).  This causes some
      harmless warnings until we fix them (in following patches).
      
      To reduce churn, module_param_call creates the ops struct so the callers
      don't have to change (and casts the functions to reduce warnings).
      The modern version which takes an ops struct is called module_param_cb.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Tested-by: NPhil Carmody <ext-phil.2.carmody@nokia.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Ville Syrjala <syrjala@sci.fi>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Alessandro Rubini <rubini@ipvvis.unipv.it>
      Cc: Michal Januszewski <spock@gentoo.org>
      Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
      Cc: "J. Bruce Fields" <bfields@fieldses.org>
      Cc: Neil Brown <neilb@suse.de>
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-input@vger.kernel.org
      Cc: linux-fbdev-devel@lists.sourceforge.net
      Cc: linux-nfs@vger.kernel.org
      Cc: netdev@vger.kernel.org
      9bbb9e5a
  9. 09 8月, 2010 1 次提交
  10. 06 8月, 2010 2 次提交
  11. 03 8月, 2010 1 次提交
  12. 22 7月, 2010 1 次提交
  13. 20 7月, 2010 2 次提交
    • C
      Input: synaptics - set min/max for finger width · 58fb0218
      Chris Bagwell 提交于
      Reporting this will allow GUI config apps to correctly scale
      width sensitive config values (such as palm detect) to correct
      range.  Current user apps are detecting kernels min/max=0/0 and
      making an assumption that it means 0/16 or 0/15.
      
      Synaptics touchpad interface guides show 4/15 are correct values
      but driver forces to 0 when no fingers on touchpad.
      Signed-off-by: NChris Bagwell <chris@cnpbagwell.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      58fb0218
    • C
      Input: synaptics - only report width on hardware that supports it · 2a8e7710
      Chris Bagwell 提交于
      Synaptics devices report fixed value of 5 for finger/palm widths
      on devices that do not support capability and driver further
      hardcodes to 5.  Stop reporting this fixed value when its not
      supported since its not useful.
      
      This will aid applications so they can better auto-enable support
      for multi-touch emulation and palm detection logic using finger
      width only for devices that support width detection.
      
      I can find no applications that currently require existence on
      ABS_TOOL_WIDTH. Since only synaptics and bcm input devices
      currently support this tool, it seems they must handle it
      gracefully.
      Signed-off-by: NChris Bagwell <chris@cnpbagwell.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      2a8e7710
  14. 15 7月, 2010 1 次提交
  15. 08 7月, 2010 1 次提交
  16. 24 6月, 2010 1 次提交
  17. 08 6月, 2010 1 次提交
  18. 03 6月, 2010 1 次提交
  19. 27 5月, 2010 1 次提交
  20. 21 5月, 2010 1 次提交
  21. 20 5月, 2010 5 次提交
  22. 13 5月, 2010 2 次提交
  23. 04 5月, 2010 3 次提交
  24. 20 4月, 2010 2 次提交