Opened 7 months ago

Last modified 7 months ago

#18622 new bug

Sometimes Keyboard doesn't work (QEMU/KVM)

Reported by: jackburton Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Input/PS2/Keyboard Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Sometimes keyboard doesn't work in VMs under QEMU/KVM. Everything else works. Rebooting usually fixes the problem, but sometimes I have to reboot twice or thrice.

With beta4 AND master. I'm current.

Attachments (1)

syslog.log (64.9 KB ) - added by jackburton 7 months ago.
Syslog when keyboard doesn't work

Download all attachments as: .zip

Change History (5)

comment:1 by waddlesplash, 7 months ago

Please attach a syslog of when it happens. I have also experienced this, it's usually accompanied by PS/2 errors.

by jackburton, 7 months ago

Attachment: syslog.log added

Syslog when keyboard doesn't work

comment:2 by waddlesplash, 7 months ago

Component: SystemDrivers/Input/PS2/Keyboard
Platform: x86-64All

As expected, PS/2 errors.

ps2: cannot read keyboard device id:0x80000009
ps2: keyboard found
error when KB_SET_KEY_REPEAT_RATE, fd:5
error when KB_SET_KEY_REPEAT_DELAY, fd:5

comment:3 by jackburton, 7 months ago

I've also noticed that when keyboard DOES work, I get a "keyboard hotplug detected" or something like that in the log

comment:4 by tqh, 7 months ago

In the meantime you can use usb in qemu:

... -usb -device usb-kbd -device usb-tablet ...

Note: See TracTickets for help on using tickets.