AT KBC: Fast track command AE (enable keyboard) because the LG MultiNet sends command A7 immediately after it, fixes keyboard lock-ups in its CMOS Setup.
This commit is contained in:
@@ -2127,6 +2127,13 @@ kbc_at_write(uint16_t port, uint8_t val, void *priv)
|
|||||||
} else if (fast_reset && ((val & 0xf0) == 0xf0)) {
|
} else if (fast_reset && ((val & 0xf0) == 0xf0)) {
|
||||||
pulse_output(dev, val & 0x0f);
|
pulse_output(dev, val & 0x0f);
|
||||||
|
|
||||||
|
dev->state = STATE_MAIN_IBF;
|
||||||
|
return;
|
||||||
|
} else if (val == 0xae) {
|
||||||
|
/* Fast track it because of the LG MultiNet. */
|
||||||
|
kbc_at_log("ATkbc: enable keyboard\n");
|
||||||
|
set_enable_kbd(dev, 1);
|
||||||
|
|
||||||
dev->state = STATE_MAIN_IBF;
|
dev->state = STATE_MAIN_IBF;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user