1. 17 5月, 2010 1 次提交
    • J
      HID: Use kmemdup · 1721a238
      Julia Lawall 提交于
      Use kmemdup when some other buffer is immediately copied into the
      allocated region.
      
      A simplified version of the semantic patch that makes this change is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression from,to,size,flag;
      statement S;
      @@
      
      -  to = \(kmalloc\|kzalloc\)(size,flag);
      +  to = kmemdup(from,size,flag);
         if (to==NULL || ...) S
      -  memcpy(to, from, size);
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      1721a238
  2. 11 5月, 2010 1 次提交
  3. 10 5月, 2010 1 次提交
  4. 29 4月, 2010 1 次提交
    • W
      HID: add support for BTC Emprex 3009URF III Vista MCE Remote · bf280628
      Wayne Thomas 提交于
      The Behavior Tech. Computer Corp. (BTC) remote branded as "Emprex 3009URF III
      Vista Remote Controller" uses non-standard mappings for all of its 'special
      purpose' keys (0xffbc usage page).  This patch modifies the existing
      hid-topseed quirky driver to support both remotes in order to prevent
      proliferation of in-kernel quirky drivers until such a time that udev remapping
      works with these devices.  Tested successfully with both the "Emprex" remote
      and the "CyberLink" remote originally supported by the hid-topseed driver.
      Signed-off-by: NWayne Thomas <waynethomas69@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      bf280628
  5. 23 4月, 2010 2 次提交
  6. 21 4月, 2010 2 次提交
  7. 19 4月, 2010 2 次提交
  8. 13 4月, 2010 1 次提交
    • P
      HID: non-overlapping zeroing of extra bits · 75c28df8
      Pete Zaitcev 提交于
      From my review of the way the unused bits of report are being zeroed,
      it seems like there must be a bug. Currently, the zeroing is done
      in hid_output_field and it covers any bits between the last used bit
      and the end of the byte. But in case of, say, my keyboard, NumLock is
      mask 0x01 and CapsLock is 0x02. Invoking hid_output_field for NumLock
      definitely zeroes across CapsLock. The only reason this works is that
      the fields are sorted by the offset.
      
      It would be more correct and simpler to zero-fill the buffer into
      which the fields are set.
      
      The patch is tested with an IBM keyboard that is improperly sensitive
      to out-of-report pad bits, the extra bits are still zeroed and the
      fields continue to work as expected. It is also tested with good
      keyboards.
      
      In case, a related bug in RHEL 5 is tracked with Red Hat bug 513934.
      Signed-off-by: NPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      75c28df8
  9. 12 4月, 2010 1 次提交
  10. 03 4月, 2010 1 次提交
  11. 22 3月, 2010 2 次提交
  12. 16 3月, 2010 1 次提交
  13. 15 3月, 2010 1 次提交
  14. 26 2月, 2010 2 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · a85821fc
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (41 commits)
        HID: usbhid: initialize interface pointers early enough
        HID: extend mask for BUTTON usage page
        HID: hid-ntrig: Single touch mode tap
        HID: hid-ntrig: multitouch cleanup and fix
        HID: n-trig: remove unnecessary tool switching
        HID: hid-ntrig add multi input quirk and clean up
        HID: usbhid: introduce timeout for stuck ctrl/out URBs
        HID: magicmouse: coding style and probe failure fixes
        HID: remove MODULE_VERSION from new drivers
        HID: fix up Kconfig entry for MagicMouse
        HID: add a device driver for the Apple Magic Mouse.
        HID: Export hid_register_report
        HID: Support for MosArt multitouch panel
        HID: add pressure support for the Stantum multitouch panel
        HID: fixed bug in single-touch emulation on the stantum panel
        HID: fix typo in error message
        HID: add mapping for "AL Network Chat" usage
        HID: use multi input quirk for TouchPack touchscreen
        HID: make full-fledged hid-bus drivers properly selectable
        HID: make Wacom modesetting failures non-fatal
        ...
      a85821fc
    • J
      Merge branches 'upstream', 'raw_report_modifications' and 'apple_magic_mouse' into for-linus · 14ef2b0c
      Jiri Kosina 提交于
      Conflicts:
      	drivers/hid/Kconfig
      14ef2b0c
  15. 25 2月, 2010 10 次提交
  16. 24 2月, 2010 11 次提交