1. 07 1月, 2011 5 次提交
  2. 30 12月, 2010 1 次提交
  3. 28 12月, 2010 3 次提交
  4. 23 12月, 2010 2 次提交
  5. 22 12月, 2010 3 次提交
  6. 20 12月, 2010 2 次提交
    • H
      Input: fix double equality sign in uevent · fcd3027a
      Henrik Rydberg 提交于
      Looking at the uevent stream for input devices, all properties are on
      the form "A=B" except the bitmap values, which are on the form
      "A==B". This bug has been around at least since 2007, and the input
      uevent code has been untouched since. The recent addition of device
      properties suggests this is a good time for a remedy.
      Acked-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      fcd3027a
    • H
      Input: introduce device properties · 85b77200
      Henrik Rydberg 提交于
      Today, userspace sets up an input device based on the data it emits.
      This is not always enough; a tablet and a touchscreen may emit exactly
      the same data, for instance, but the former should be set up with a
      pointer whereas the latter does not need to. Recently, a new type of
      touchpad has emerged where the buttons are under the pad, which
      changes logic without changing the emitted data. This patch introduces
      a new ioctl, EVIOCGPROP, which enables user access to a set of device
      properties useful during setup. The properties are given as a bitmap
      in the same fashion as the event types, and are also made available
      via sysfs, uevent and /proc/bus/input/devices.
      Acked-by: NPing Cheng <pingc@wacom.com>
      Acked-by: NChase Douglas <chase.douglas@canonical.com>
      Acked-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      85b77200
  7. 16 12月, 2010 4 次提交
  8. 08 12月, 2010 2 次提交
  9. 01 12月, 2010 3 次提交
  10. 23 11月, 2010 2 次提交
  11. 22 11月, 2010 3 次提交
  12. 21 11月, 2010 1 次提交
    • J
      Input: serio HIL MLC - don't deref null, don't leak and return proper error · 39de5210
      Jesper Juhl 提交于
      While reviewing various users of kernel memory allocation functions I came
      across drivers/input/serio/hil_mlc.c::hil_mlc_register() and noticed that:
      
       - it calls kzalloc() but fails to check for a NULL return before use.
       - it makes several allocations and if one fails it doesn't free the
         previous ones.
       - It doesn't return -ENOMEM in the failed memory allocation case (it just
         crashes).
      
      This patch corrects all of the above and also reworks the only caller of
      this function that I could find
      (drivers/input/serio/hp_sdc_mlc.c::hp_sdc_mlc_out()) so that it now checks
      the return value of hil_mlc_register() and properly propagates it on
      failure and I also restructured the code to remove some labels and goto's
      to make it, IMHO nicer to read.
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Tested-by: NHelge Deller <deller@gmx.de>
      Acked-by: NHelge Deller <deller@gmx.de>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      39de5210
  13. 20 11月, 2010 1 次提交
  14. 18 11月, 2010 5 次提交
  15. 15 11月, 2010 3 次提交