• D
    Input: i8042 - try disabling and re-enabling AUX port at close · 5ddbc77c
    Dmitry Torokhov 提交于
    Ever since we switched from having a polling timer to registering IRQ
    handlers for both keyboard and AUX ports at the driver registration
    time, on certain boxes probing for a mouse results in keyboard
    stopping working. The only real difference between old and new way is
    that before we disabled ports after unsuccessful probe whereas now we
    leave them as is. Try to emulate the old behavior by disabling and
    immediately re-enabling AUX and KBD ports when corresponding serio
    port is being closed.
    Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
    5ddbc77c
i8042.c 30.5 KB