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. 11 2月, 2015 2 次提交
  16. 10 2月, 2015 2 次提交
  17. 09 2月, 2015 3 次提交
  18. 07 2月, 2015 1 次提交
  19. 06 2月, 2015 2 次提交
    • R
      xen/manage: Fix USB interaction issues when resuming · 72978b2f
      Ross Lagerwall 提交于
      Commit 61a734d3 ("xen/manage: Always freeze/thaw processes when
      suspend/resuming") ensured that userspace processes were always frozen
      before suspending to reduce interaction issues when resuming devices.
      However, freeze_processes() does not freeze kernel threads.  Freeze
      kernel threads as well to prevent deadlocks with the khubd thread when
      resuming devices.
      
      This is what native suspend and resume does.
      
      Example deadlock:
      [ 7279.648010]  [<ffffffff81446bde>] ? xen_poll_irq_timeout+0x3e/0x50
      [ 7279.648010]  [<ffffffff81448d60>] xen_poll_irq+0x10/0x20
      [ 7279.648010]  [<ffffffff81011723>] xen_lock_spinning+0xb3/0x120
      [ 7279.648010]  [<ffffffff810115d1>] __raw_callee_save_xen_lock_spinning+0x11/0x20
      [ 7279.648010]  [<ffffffff815620b6>] ? usb_control_msg+0xe6/0x120
      [ 7279.648010]  [<ffffffff81747e50>] ? _raw_spin_lock_irq+0x50/0x60
      [ 7279.648010]  [<ffffffff8174522c>] wait_for_completion+0xac/0x160
      [ 7279.648010]  [<ffffffff8109c520>] ? try_to_wake_up+0x2c0/0x2c0
      [ 7279.648010]  [<ffffffff814b60f2>] dpm_wait+0x32/0x40
      [ 7279.648010]  [<ffffffff814b6eb0>] device_resume+0x90/0x210
      [ 7279.648010]  [<ffffffff814b7d71>] dpm_resume+0x121/0x250
      [ 7279.648010]  [<ffffffff8144c570>] ? xenbus_dev_request_and_reply+0xc0/0xc0
      [ 7279.648010]  [<ffffffff814b80d5>] dpm_resume_end+0x15/0x30
      [ 7279.648010]  [<ffffffff81449fba>] do_suspend+0x10a/0x200
      [ 7279.648010]  [<ffffffff8144a2f0>] ? xen_pre_suspend+0x20/0x20
      [ 7279.648010]  [<ffffffff8144a1d0>] shutdown_handler+0x120/0x150
      [ 7279.648010]  [<ffffffff8144c60f>] xenwatch_thread+0x9f/0x160
      [ 7279.648010]  [<ffffffff810ac510>] ? finish_wait+0x80/0x80
      [ 7279.648010]  [<ffffffff8108d189>] kthread+0xc9/0xe0
      [ 7279.648010]  [<ffffffff8108d0c0>] ? flush_kthread_worker+0x80/0x80
      [ 7279.648010]  [<ffffffff8175087c>] ret_from_fork+0x7c/0xb0
      [ 7279.648010]  [<ffffffff8108d0c0>] ? flush_kthread_worker+0x80/0x80
      
      [ 7441.216287] INFO: task khubd:89 blocked for more than 120 seconds.
      [ 7441.219457]       Tainted: G            X 3.13.11-ckt12.kz #1
      [ 7441.222176] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      [ 7441.225827] khubd           D ffff88003f433440     0    89      2 0x00000000
      [ 7441.229258]  ffff88003ceb9b98 0000000000000046 ffff88003ce83000 0000000000013440
      [ 7441.232959]  ffff88003ceb9fd8 0000000000013440 ffff88003cd13000 ffff88003ce83000
      [ 7441.236658]  0000000000000286 ffff88003d3e0000 ffff88003ceb9bd0 00000001001aa01e
      [ 7441.240415] Call Trace:
      [ 7441.241614]  [<ffffffff817442f9>] schedule+0x29/0x70
      [ 7441.243930]  [<ffffffff81743406>] schedule_timeout+0x166/0x2c0
      [ 7441.246681]  [<ffffffff81075b80>] ? call_timer_fn+0x110/0x110
      [ 7441.249339]  [<ffffffff8174357e>] schedule_timeout_uninterruptible+0x1e/0x20
      [ 7441.252644]  [<ffffffff81077710>] msleep+0x20/0x30
      [ 7441.254812]  [<ffffffff81555f00>] hub_port_reset+0xf0/0x580
      [ 7441.257400]  [<ffffffff81558465>] hub_port_init+0x75/0xb40
      [ 7441.259981]  [<ffffffff814bb3c9>] ? update_autosuspend+0x39/0x60
      [ 7441.262817]  [<ffffffff814bb4f0>] ? pm_runtime_set_autosuspend_delay+0x50/0xa0
      [ 7441.266212]  [<ffffffff8155a64a>] hub_thread+0x71a/0x1750
      [ 7441.268728]  [<ffffffff810ac510>] ? finish_wait+0x80/0x80
      [ 7441.271272]  [<ffffffff81559f30>] ? usb_port_resume+0x670/0x670
      [ 7441.274067]  [<ffffffff8108d189>] kthread+0xc9/0xe0
      [ 7441.276305]  [<ffffffff8108d0c0>] ? flush_kthread_worker+0x80/0x80
      [ 7441.279131]  [<ffffffff8175087c>] ret_from_fork+0x7c/0xb0
      [ 7441.281659]  [<ffffffff8108d0c0>] ? flush_kthread_worker+0x80/0x80
      Signed-off-by: NRoss Lagerwall <ross.lagerwall@citrix.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
      72978b2f
    • L
      ACPI / EC: Add GPE reference counting debugging messages · b5bca896
      Lv Zheng 提交于
      This patch enhances debugging with the GPE reference count messages added.
      No functional changes.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b5bca896