1. 17 Jan, 2008 3 commits
    • Andres Salomon's avatar
      Input: psmouse - fix potential memory leak in psmouse_connect() · 746b31a9
      Andres Salomon authored
      If we successfully call input_register_device() in psmouse_connect()
      but sysfs_create_group() fails, we'll enter the error path without
      ever having called input_unregister_device() potentially leaking
      memory.
      Signed-off-by: default avatarAndres Salomon <dilinger@debian.org>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      746b31a9
    • Daniel Ritz's avatar
      Input: usbtouchscreen - fix buffer overflow, make more egalax work · 62aa366d
      Daniel Ritz authored
      Fix a buffer overflow in mutli-packet handling code.  The overflow can
      only happen with eGalax devices and is even there very unlikely (only
      non-report packet are affected any only when truncated after the first
      byte).
      
      Also changes the mutli-packet handling code not to drop unknown packets,
      but rather just drop one byte.  This allows synchronizing on report packets
      in the data stream.  It's required for some egalax devices to work at all.
      
      Also remove the pointless 'flags' member of the device struct and set the
      version number to 0.6, plus some minor cleanups.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: default avatarDaniel Ritz <daniel.ritz@gmx.ch>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      62aa366d
    • Micah Parrish's avatar
      Input: mousedev - handle mice that use absolute coordinates · 6724f934
      Micah Parrish authored
      Devices like the HP Integrated Remote Console Virtual Mouse, which are
      standard equipment on all Proliant and Integrity servers, produce
      absolute coordinates instead of relative coordinates.  This is done to
      synchronize the position of the mouse cursor on the client desktop
      with the mouse cursor position on the server.  Mousedev is not
      designed to pass those absolute events directly to X, but it can
      translate them into relative movements.  It currently does this for
      tablet like devices and touchpads.  This patch merely tells it to also
      include a device with ABS_X, ABS_Y, and mouse buttons in its list of
      devices to process input for.
      
      This patch enables the mouse pointer to move when using the remote
      console.
      Signed-off-by: default avatarMicah Parrish <micah.parrish@hp.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      6724f934
  2. 14 Jan, 2008 1 commit
  3. 03 Jan, 2008 3 commits
  4. 14 Dec, 2007 2 commits
  5. 27 Nov, 2007 3 commits
  6. 21 Nov, 2007 5 commits
  7. 02 Nov, 2007 3 commits
  8. 28 Oct, 2007 4 commits
  9. 27 Oct, 2007 16 commits