Opened 15 months ago

Last modified 3 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 15 months ago.
Syslog when keyboard doesn't work

Download all attachments as: .zip

Change History (6)

comment:1 by waddlesplash, 15 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, 15 months ago

Attachment: syslog.log added

Syslog when keyboard doesn't work

comment:2 by waddlesplash, 15 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, 15 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, 15 months ago

In the meantime you can use usb in qemu:

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

comment:5 by waddlesplash, 3 months ago

This may be improved or fixed by hrev58155.

Note: See TracTickets for help on using tickets.