1. 02 4月, 2015 1 次提交
  2. 25 3月, 2015 2 次提交
  3. 18 3月, 2015 1 次提交
  4. 17 3月, 2015 1 次提交
    • B
      HID: wacom: ask for a in-prox report when it was missed · 5fcad167
      Benjamin Tissoires 提交于
      If noone listens to the input device when a tool comes in proximity,
      the tablet does not send the in-prox event when a client becomes available.
      That means that no events will be sent until the tool is taken out of
      proximity.
      
      In this situation, ask for the report WACOM_REPORT_INTUOSREAD which will
      read the corresponding feature and generate an in-prox event.
      To make some generation of hardware working, we need to unset the
      quirk NO_GET set by hid-core because the interfaces are seen as "boot
      mouse".
      
      We don't schedule this read in a worker while we are in an IO interrupt.
      We know that usbhid will do it asynchronously. If this is triggered by
      uhid, then this is obviously a client side bug :)
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Acked-by: NJason Gerecke <killertofu@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5fcad167
  5. 15 3月, 2015 1 次提交
  6. 12 3月, 2015 2 次提交
  7. 11 3月, 2015 7 次提交
  8. 03 3月, 2015 2 次提交
  9. 27 2月, 2015 2 次提交
  10. 24 2月, 2015 1 次提交
  11. 23 2月, 2015 4 次提交
  12. 19 2月, 2015 2 次提交
    • B
      HID: wacom: do not directly use input_mt_report_pointer_emulation · 9a1c0012
      Benjamin Tissoires 提交于
      input_mt_sync_frame() calls input_mt_report_pointer_emulation() and do
      some internal steps required to keep in sync the state of the touch within
      the various reports.
      
      Given that we use input_mt_get_slot_by_key() in this driver, it is better to
      use input_mt_sync_frame().
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Reviewed-by: NPing Cheng <pingc@wacom.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      9a1c0012
    • A
      HID: sony: Fix a WARNING shown when rmmod-ing the driver · 6c40065f
      Antonio Ospite 提交于
      ida_destroy() must be called _after_ all the devices have been
      unregistered; otherwise, when calling "rmmod hid_sony" with devices
      still plugged in, the following warning would show up because of calls
      to ida_simple_remove() on a destroyed ID allocator:
      
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 5509 at lib/idr.c:1052 ida_simple_remove+0x26/0x50()
      ida_remove called for id=0 which is not allocated.
      Modules linked in: ...
      CPU: 0 PID: 5509 Comm: rmmod Not tainted 3.19.0-rc6-ao2 #35
      Hardware name: System manufacturer System Product Name/M2N-MX SE, BIOS 0501    03/20/2008
       0000000000000000 ffffffff8176320d ffffffff815b3a88 ffff880036f7fdd8
       ffffffff8106ce01 0000000000000000 ffffffffa07658e0 0000000000000246
       ffff88005077d8b8 ffff88005077d8d0 ffffffff8106ce7a ffffffff81763260
      Call Trace:
       [<ffffffff815b3a88>] ? dump_stack+0x40/0x50
       [<ffffffff8106ce01>] ? warn_slowpath_common+0x81/0xb0
       [<ffffffff8106ce7a>] ? warn_slowpath_fmt+0x4a/0x50
       [<ffffffff812ccb86>] ? ida_simple_remove+0x26/0x50
       [<ffffffffa0762dc8>] ? sony_remove+0x58/0xe0 [hid_sony]
       [<ffffffffa00fff15>] ? hid_device_remove+0x65/0xd0 [hid]
       [<ffffffff8140425e>] ? __device_release_driver+0x7e/0x100
       [<ffffffff81404c70>] ? driver_detach+0xa0/0xb0
       [<ffffffff81403ee5>] ? bus_remove_driver+0x55/0xe0
       [<ffffffffa01000ff>] ? hid_unregister_driver+0x2f/0xa0 [hid]
       [<ffffffff810e45bf>] ? SyS_delete_module+0x1bf/0x270
       [<ffffffff81014089>] ? do_notify_resume+0x69/0xa0
       [<ffffffff815b952d>] ? system_call_fastpath+0x16/0x1b
      ---[ end trace bc794b3d22c30ede ]---
      Signed-off-by: NAntonio Ospite <ao2@ao2.it>
      Acked-by: NFrank Praznik <frank.praznik@oh.rr.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      6c40065f
  13. 17 2月, 2015 3 次提交
  14. 12 2月, 2015 1 次提交
  15. 29 1月, 2015 3 次提交
  16. 27 1月, 2015 1 次提交
    • J
      HID: pidff: Fix initialisation forMicrosoft Sidewinder FF Pro 2 · afd700d9
      Jim Keir 提交于
      The FF2 driver (usbhid/hid-pidff.c) sends commands to the stick during ff_init.
      However, this is called inside a block where driver_input_lock is locked, so
      the results of these initial commands are discarded. This behavior is the
      "killer", without this nothing else works.
      
      ff_init issues commands using "hid_hw_request". This eventually goes to
      hid_input_report, which returns -EBUSY because driver_input_lock is locked. The
      change is to delay the ff_init call in hid-core.c until after this lock has
      been released.
      
      Calling hid_device_io_start() releases the lock so the device can be
      configured.  We also need to call hid_device_io_stop() on exit for the lock to
      remain locked while ending the init of the drivers.
      
      [ benjamin.tissoires@redhat.com: imrpoved the changelog a lot ]
      Signed-off-by: NJim Keir <jimkeir@oracledbadirect.com>
      Reviewed-by: NBenjamin.tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      afd700d9
  17. 26 1月, 2015 1 次提交
  18. 23 1月, 2015 1 次提交
  19. 22 1月, 2015 1 次提交
  20. 21 1月, 2015 1 次提交
  21. 19 1月, 2015 2 次提交