projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed8bf1
)
Input: atkbd - don't lose keymap settings when reconnecting keyboard
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Fri, 6 Jan 2006 04:00:13 +0000
(23:00 -0500)
committer
Dmitry Torokhov
<dtor_core@ameritech.net>
Fri, 6 Jan 2006 04:00:13 +0000
(23:00 -0500)
Call serio_reconnect() instead of serio_rescan() when detecting that
a new keyboard was plugged in. This should help KVM uses losing custom
keymap settings when switching between boxes.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/atkbd.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/atkbd.c
b/drivers/input/keyboard/atkbd.c
index a0256f8de8efab412a1ee6ee22321fb5ca941ce7..ffacf6eca5f536c9107d6e6d0ac8be31f22327ed 100644
(file)
--- a/
drivers/input/keyboard/atkbd.c
+++ b/
drivers/input/keyboard/atkbd.c
@@
-321,7
+321,7
@@
static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
switch (code) {
case ATKBD_RET_BAT:
atkbd->enabled = 0;
- serio_re
scan
(atkbd->ps2dev.serio);
+ serio_re
connect
(atkbd->ps2dev.serio);
goto out;
case ATKBD_RET_EMUL0:
atkbd->emul = 1;