diff --git a/reactos/drivers/input/i8042prt/pnp.c b/reactos/drivers/input/i8042prt/pnp.c index 559f0be0b8f..dfe9fa1cb6a 100644 --- a/reactos/drivers/input/i8042prt/pnp.c +++ b/reactos/drivers/input/i8042prt/pnp.c @@ -156,10 +156,14 @@ i8042DetectKeyboard( WARN_(I8042PRT, "Warning: can't write SET_LEDS (0x%08lx)\n", Status); } - /* Turn on translation and SF (Some machines don't reboot if SF is not set) */ - if (!i8042ChangeMode(DeviceExtension, 0, CCB_TRANSLATE | CCB_SYSTEM_FLAG)) + /* Turn on translation */ + if (!i8042ChangeMode(DeviceExtension, 0, CCB_TRANSLATE)) return FALSE; + /* Turn on SF (Some machines don't reboot if SF is not set) ; + * we assume that if call fails, machine doesn't need it. */ + i8042ChangeMode(DeviceExtension, 0, CCB_SYSTEM_FLAG); + return TRUE; }