qemu/hw/input
Hervé Poussineau d2e550a828 ps2kbd: default to scan enabled after reset
A check for scan_enabled has been added to ps2_keyboard_event in commit
143c04c7e0 to prevent stream corruption.
This works well as long as operating system is resetting keyboard, or enabling it.

This fixes IBM 40p firmware, which doesn't bother sending KBD_CMD_RESET,
KBD_CMD_ENABLE or KBD_CMD_RESET_ENABLE before trying to use the keyboard.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20181021190721.2148-1-hpoussin@reactos.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-11-27 07:47:50 +01:00
..
Makefile.objs hw: make virtio devices configurable via default-configs/ 2018-06-01 15:14:31 +02:00
adb-internal.h Split adb.c into adb.c, adb-mouse.c and adb-kbd.c 2017-12-21 20:11:28 +01:00
adb-kbd.c adb: add property to disable direct reg 3 writes 2018-06-16 16:32:33 +10:00
adb-mouse.c adb: add property to disable direct reg 3 writes 2018-06-16 16:32:33 +10:00
adb.c adb: add property to disable direct reg 3 writes 2018-06-16 16:32:33 +10:00
hid.c hw/input/hid: Add support for several keys. 2017-12-18 17:07:02 +03:00
lm832x.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
milkymist-softusb.c memory: Rename memory_region_init_ram() to memory_region_init_ram_nomigrate() 2017-07-14 17:59:42 +01:00
pckbd.c hw/input/pckbd: Use qemu_log_mask(GUEST_ERROR) instead of fprintf 2018-06-26 17:50:40 +01:00
pl050.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
ps2.c ps2kbd: default to scan enabled after reset 2018-11-27 07:47:50 +01:00
pxa2xx_keypad.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
stellaris_input.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
trace-events hw/input/tsc2005: Convert a fprintf() call to trace events 2018-06-29 15:04:18 +01:00
tsc210x.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
tsc2005.c hw/input/tsc2005: Convert a fprintf() call to trace events 2018-06-29 15:04:18 +01:00
virtio-input-hid.c hw: convert virtio-input-hid device to keycodemapdb 2018-01-29 09:35:44 +01:00
virtio-input-host.c virtio-input: support absolute axis config in pass-through 2016-04-13 17:26:12 +02:00
virtio-input.c virtio-input: fix eventq batching 2017-03-27 12:14:45 +02:00