Skip to content

Commit 8c7a169

Browse files
committed
Fix: Mouse initialization failed on Laptop
Error: Timeout in ps2mouse_init()
1 parent 4958fe1 commit 8c7a169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kernel/drivers/x86/pc/8042_ps2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#define IS_READ_READY(status) (((status)&0x1) == 1)
1919
#define IS_WRITE_READY(status) (((status)&0x2) == 0)
2020

21-
#define RW_TIMEOUT_ITERATION (200U)
21+
#define RW_TIMEOUT_ITERATION (10000U)
2222
#define DEVICE_COUNT (2U)
2323

2424
typedef struct PS2Device {

0 commit comments

Comments
 (0)