Hi Chris and Chris,

There could be a number of different causes for why the keyboard may not
work.  You'll need to do a bit more sleuthing to isolate where it's
getting hung up.

Given Christian is not reproducing it, it's unlikely to be a regression
in the qemu software itself, but perhaps more likely a conflict for your
particular combination of hardware and environment.

Generally for X input devices, the first thing I'd check is if the
device is being recognized by the system.  Two commands for this are:

  $ xinput
  $ sudo lsinput

The first command shows what X sees.  You should see 'Virtual core
keyboard' and some sub-devices off of it.  I've seen situations where,
for instance, a power button or webcam or other function key gets
detected as "the keyboard", so keystrokes don't do anything; I'm
doubtful this would happen under qemu but look for anything irregular.
If the problem can be isolated to X devices, there are further
troubleshooting steps that can be taken.

The second command shows the kernel layer.  There should be at least one
/dev/input/event* entry for a keyboard.  I'm not versed in how this
looks under qemu vs. ordinary desktops but again look for anything
irregular.  If the problem can be isolated to the kernel layer, then
kernel troubleshooting steps should be followed.

Another thing I would check is if you can access the console and log in
that way.  This would isolate the problem to X as opposed to something
lower in the stack.

Also note that sometimes if you can move the mouse cursor, but nothing
else works (not just typing, but neither button clicks nor clock updates
on the screen), then the problem might be a system lockup or crash, in
which case the issue would probably be with the application layer.
Checking dmesg or the journal for error messages would be the next step
there.

Other random things to try would be to see if you can reliably reproduce
the same issue or not on different hardware, or different ubuntu
releases, or other variances.

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

Title:
  Failure installing ubuntu 20.04 in virtual machine at 19.10

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

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

Reply via email to