1. 16 9月, 2009 1 次提交
  2. 16 6月, 2009 1 次提交
  3. 24 5月, 2009 1 次提交
  4. 29 4月, 2009 2 次提交
    • H
      Input: add detailed multi-touch finger data report protocol · 5e5ee686
      Henrik Rydberg 提交于
      In order to utilize the full power of the new multi-touch devices, a
      way to report detailed finger data to user space is needed. This patch
      adds a multi-touch (MT) protocol which allows drivers to report details
      for an arbitrary number of fingers.
      
      The driver sends a SYN_MT_REPORT event via the input_mt_sync() function
      when a complete finger has been reported.
      
      In order to stay compatible with existing applications, the data
      reported in a finger packet must not be recognized as single-touch
      events. In addition, all finger data must bypass input filtering,
      since subsequent events of the same type refer to different fingers.
      
      A set of ABS_MT events with the desired properties are defined. The
      events are divided into categories, to allow for partial implementation.
      The minimum set consists of ABS_MT_TOUCH_MAJOR, ABS_MT_POSITION_X and
      ABS_MT_POSITION_Y, which allows for multiple fingers to be tracked.
      If the device supports it, the ABS_MT_WIDTH_MAJOR may be used to provide
      the size of the approaching finger. Anisotropy and direction may be
      specified with ABS_MT_TOUCH_MINOR, ABS_MT_WIDTH_MINOR and
      ABS_MT_ORIENTATION. Devices with more granular information may specify
      general shapes as blobs, i.e., as a sequence of rectangular shapes
      grouped together by a ABS_MT_BLOB_ID. Finally, the ABS_MT_TOOL_TYPE
      may be used to specify whether the touching tool is a finger or a pen.
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      5e5ee686
    • H
      Input: allow certain EV_ABS events to bypass all filtering · 61994a61
      Henrik Rydberg 提交于
      With the upcoming multi-touch interface as an example, there is
      a need to make certain that all reported events actually get passed
      to the event handler. This patch equips the input core with the
      ability to bypass all filtering for certain EV_ABS events.
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      61994a61
  5. 12 4月, 2009 1 次提交
  6. 31 3月, 2009 1 次提交
    • A
      proc 2/2: remove struct proc_dir_entry::owner · 99b76233
      Alexey Dobriyan 提交于
      Setting ->owner as done currently (pde->owner = THIS_MODULE) is racy
      as correctly noted at bug #12454. Someone can lookup entry with NULL
      ->owner, thus not pinning enything, and release it later resulting
      in module refcount underflow.
      
      We can keep ->owner and supply it at registration time like ->proc_fops
      and ->data.
      
      But this leaves ->owner as easy-manipulative field (just one C assignment)
      and somebody will forget to unpin previous/pin current module when
      switching ->owner. ->proc_fops is declared as "const" which should give
      some thoughts.
      
      ->read_proc/->write_proc were just fixed to not require ->owner for
      protection.
      
      rmmod'ed directories will be empty and return "." and ".." -- no harm.
      And directories with tricky enough readdir and lookup shouldn't be modular.
      We definitely don't want such modular code.
      
      Removing ->owner will also make PDE smaller.
      
      So, let's nuke it.
      
      Kudos to Jeff Layton for reminding about this, let's say, oversight.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=12454Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      99b76233
  7. 09 3月, 2009 1 次提交
  8. 30 1月, 2009 1 次提交
    • J
      Input: stop autorepeat timer on key release · e7b5c1ef
      Johannes Berg 提交于
      Whenever you press and then release a key, the CPU wakes up
      three times:
       * press
       * release
       * autorepeat timer exactly 250ms after press
      
      The autorepeat timer has nothing to do, obviously, since you already
      have released the key, so stop it on key release.
      
      [dtor@mail.ru: This changes autorepeat behavior a bit since we now stop
       autorepeat even if key that is being released is not the one that is
       being auto-repeated, but I believe the new behavior is better.]
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      e7b5c1ef
  9. 30 10月, 2008 1 次提交
  10. 30 6月, 2008 1 次提交
  11. 21 6月, 2008 1 次提交
  12. 29 4月, 2008 2 次提交
  13. 31 1月, 2008 1 次提交
  14. 21 1月, 2008 2 次提交
  15. 03 1月, 2008 1 次提交
  16. 14 12月, 2007 1 次提交
  17. 20 10月, 2007 1 次提交
  18. 14 10月, 2007 1 次提交
  19. 13 10月, 2007 1 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
  20. 30 8月, 2007 1 次提交
  21. 18 7月, 2007 1 次提交
  22. 10 7月, 2007 1 次提交
  23. 09 5月, 2007 1 次提交
  24. 25 4月, 2007 1 次提交
  25. 12 4月, 2007 2 次提交
  26. 16 3月, 2007 1 次提交
  27. 15 3月, 2007 1 次提交
  28. 08 3月, 2007 2 次提交
  29. 18 2月, 2007 1 次提交
  30. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  31. 13 2月, 2007 1 次提交
  32. 03 11月, 2006 1 次提交
  33. 14 9月, 2006 3 次提交