intel-microcode is closely related to kernel behavior, and so wouldn't
surprise me if it's involved - like I mentioned earlier invariably input
device + power management bugs are something kernel related.

However, looking at the diff for the intel-microcode upgrade the changes
are highly processor specific, and affects a small handful:

http://launchpadlibrarian.net/424908874/intel-
microcode_3.20190514.0ubuntu0.19.04.1_3.20190514.0ubuntu0.19.04.3.diff.gz

I'm guessing for a qemu environment these aren't even relevant, but if
one of the lines matches your host cpu then perhaps this would be worth
more investigation.  Otherwise, probably another red herring.


There is more you could try though.  I suggested some ideas in my previous 
comment.  You could also run xlsclients before and after reproducing the error, 
and see if there are any new X clients running that might have a grab on the 
cursor, and then kill them until the touchpad comes back.  (See 
http://who-t.blogspot.com/2010/11/high-level-overview-of-grabs.html)


I hate to mention this as a possibility, but like I mentioned earlier, 
sometimes these bugs can reproduce very non-reliably.  I've seen cases where, 
for instance, the root cause always existed but it was some change in usage or 
other random things, that caused the input behavior to suddenly start 
happening, only to disappear again - quite mysteriously - after some other 
system change.

The way input devices work, at least in context of this particular bug, is that 
each movement or click generates an "event", that gets communicated up through 
the system through various layers until an application consumes it.  You can 
read about this in more extensive detail at 
https://www.x.org/wiki/Development/Documentation/InputEventProcessing/
That leads us to two questions for this case:  A) Is the event getting 
generated at all?  and B) If it is, then is something unexpectedly consuming 
it?  So a good first step would be to eliminate one or the other of these.  
You've made some progress towards ruling out B.

For testing if the event is getting generated, the tool 'xev' is one of
the easiest and handiest places to start from.  Have you had a chance to
give that a test?  Run it from the command line when you've got the non-
responsive touchpad, and use the touchpad and see if anything prints in
the xev window.  You can do some googling to get some tips and tricks
for filtering xev output and to understand what its output means.

'xdotool' can also be useful; it's intended for automation but it lets
you manhandle mouse events, such as force a click or mouse up/down.
Longshot but at least is easy / low risk to try.

My guess though is the event isn't even getting generated.  In that case
i'd proceed with the standard troubleshooting techniques to see if
something's wrong with the device itself, and go from there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834113

Title:
  QEMU touchpad input erratic after wakeup from sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1834113/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to