1. 18 May, 2022 1 commit
    • Zongmin Zhou's avatar
      Input: vmmouse - disable vmmouse before entering suspend mode · c8532465
      Zongmin Zhou authored
      Currently, when trying to suspend and resume with VirtualPS/2 VMMouse
      there is an error message after resuming:
      
      	psmouse serio1: vmmouse: Unable to re-enable mouse when reconnecting, err: -6
      
      and the mouse will no longer be operable, requiring full rescan to find a
      another driver to use for the port.
      
      This error is due to QEMU still generating PS2 events which the kernel is
      not consuming until resume time, where they interfere with mouse
      identification and ultimately resulting in an error getting
      VMMOUSE_VERSION_ID.
      
      Test scenario:
      
      1) start virtual machine with qemu command "vmport=on"
      2) click suspend botton to enter suspend mode
      3) resume and observe the error message in the kernel logs
      
      Let's fix this by disabling the vmmouse in its reset handler. This will
      notify qemu to stop vmmouse and remove the handler.
      
      Signed-off-by: Zongmin Zhou<zhouzongmin@kylinos.cn>
      Reviewed-by: default avatarZack Rusin <zackr@vmware.com>
      Link: https://lore.kernel.org/r/20220322021046.1087954-1-zhouzongmin@kylinos.cnSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      c8532465
  2. 17 May, 2022 3 commits
  3. 05 May, 2022 3 commits
  4. 25 Apr, 2022 10 commits
  5. 20 Apr, 2022 1 commit
  6. 17 Apr, 2022 2 commits
  7. 09 Apr, 2022 3 commits
  8. 21 Mar, 2022 7 commits
  9. 15 Mar, 2022 7 commits
  10. 13 Mar, 2022 2 commits
  11. 12 Mar, 2022 1 commit