1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00
serenity/Kernel/Devices/HID
Liav A 53b65ddc41 Kernel: Make i8042 existence check more robust against faulty hardware
Some hardware controllers might reset when trying to do self-test, so
keep the configuration byte to restore it later on.
To ensure we are not missing the response from the i8042 controller,
bump the attempts count to 20 times after initiating self-test check.

Also, try to drain the i8042 controller output buffer as it might be a
early good indication on whether i8042 is present or not.
To ensure we drain all the output buffer, we attempt to read from the
buffer 50 times and not 20 times.
2022-02-20 19:48:46 +00:00
..
HIDDevice.h Kernel: Make major and minor numbers to be DistinctNumerics 2021-12-23 23:02:39 +01:00
HIDManagement.cpp Kernel: Only do i8042 existence check via probing as a fallback 2022-02-19 13:37:51 +00:00
HIDManagement.h Kernel: Convert i8042 code to use the ErrorOr pattern more broadly 2022-02-10 15:42:56 +02:00
I8042Controller.cpp Kernel: Make i8042 existence check more robust against faulty hardware 2022-02-20 19:48:46 +00:00
I8042Controller.h Kernel: Only do i8042 existence check via probing as a fallback 2022-02-19 13:37:51 +00:00
KeyboardDevice.cpp Kernel: Use u64 instead of size_t for File::can_read offset 2022-01-25 22:41:17 +02:00
KeyboardDevice.h Kernel: Support PS/2 right super key 2022-01-30 15:08:49 +01:00
MouseDevice.cpp Kernel: Use u64 instead of size_t for File::can_read offset 2022-01-25 22:41:17 +02:00
MouseDevice.h Kernel: Use u64 instead of size_t for File::can_write offset 2022-01-25 22:41:17 +02:00
PS2KeyboardDevice.cpp Kernel: Remove unnecessary includes from Thread.h 2022-01-30 16:21:59 +01:00
PS2KeyboardDevice.h Kernel+LibELF+LibVT: Remove unused AK::String header includes 2022-02-16 22:21:37 +01:00
PS2MouseDevice.cpp Kernel: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
PS2MouseDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
VMWareMouseDevice.cpp Kernel: Evaluate block conditions only once on new mouse packets 2022-02-14 11:35:20 +01:00
VMWareMouseDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00