1. 11 5月, 2010 4 次提交
    • R
      HID: ntrig: add sensitivity and responsiveness support · 369db2a6
      Rafi Rubin 提交于
      The old rejection size thresholds were too high for the 12" devices.
      Larger surfaces like the Dell Studio17 exacerbated the problem since
      contact size is reported on the same logical scale, making a contact
      look smaller to the larger screen.
      
      Since we have observed erroneous ghost events from these devices we
      still need to filter the incoming stream.
      
      The prior size threshold filter is still in place, though with
      defaults set to leave it off.
      
      This patch adds the two new classes of filters, those that reject
      live frames before activation, and those that reject empty frames
      until deactivation.  These filters are expressed in terms of a
      simple state machine for clarity (I hope).
      
      The activation filter has two components, slack and size, events
      are discarded until either is satisfied.  Slack is defined as
      the number of seemingly good contacts to read before accepting the
      stream as valid (if the threshold is reached in the middle of a frame
      the remainder of that frame is still discarded).
      
      The deactivation filter discards empty frames until hitting a
      deactivate slack.  This time measured in frames.  N-Trig devices
      emit 5-8 (observed so far) empty frames at the end of multitouch
      activity.  Ignoring the first few enables us to safely and gracefully
      handle erroneous empty frames, thus preventing a change in the tool
      state which would otherwise result in things like broken lines or
      dragged objects being dropped in bad places.
      
      Also, now that devices with different logical densities have
      been observed, the aforementioned sizes are scaled from physical
      to logical scales once those scales are identified.  Hopefully this
      should mean that a given threshold value means the same thing across
      differing devices.
      Signed-off-by: NRafi Rubin <rafi@seas.upenn.edu>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      369db2a6
    • L
      Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 94b849aa
      Linus Torvalds 提交于
      * 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: Revert "ALSA: hda/realtek: quirk for D945GCLF2 mainboard"
        ALSA: hda - add support for Lenovo ThinkPad X100e in conexant codec
        ALSA: hda - fix DG45ID SPDIF output
      94b849aa
    • I
      autofs4-2.6.34-rc1 - fix link_count usage · f7422464
      Ian Kent 提交于
      After commit 1f36f774 ("Switch !O_CREAT case to use of do_last()") in
      2.6.34-rc1 autofs direct mounts stopped working.  This is caused by
      current->link_count being 0 when ->follow_link() is called from
      do_filp_open().
      
      I can't work out why this hasn't been seen before Als patch series.
      
      This patch removes the autofs dependence on current->link_count.
      Signed-off-by: NIan Kent <raven@themaw.net>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f7422464
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · b77b907f
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: fix suspend crash by moving initializations earlier
        HID: sony: fix sony_set_operational_bt
        HID: ntrig: Remove unused macro, TripleTap and QuadTap
        HID: ntrig: TipSwitch for single touch mode touch.
        HID: hidraw: fix numbered reports
        HID: wacom: remove annoying non-error printk
        HID: ntrig: Emit TOUCH with DOUBLETAP for single touch
        HID: add support for cymotion master solar keyboard
        HID: ntrig: explain firmware quirk
        HID: fix N-trig touch panel with recent firmware
      b77b907f
  2. 10 5月, 2010 5 次提交
  3. 08 5月, 2010 10 次提交
  4. 07 5月, 2010 21 次提交