Skip to content
Commit 5ddbc77c authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: i8042 - try disabling and re-enabling AUX port at close



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: default avatarDmitry Torokhov <dtor@mail.ru>
parent bd96f378
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment