From: Dave Jones There are two messages in the input layer that seem to be triggerable very easily, and they confuse end-users to no end. "too many keys pressed? Should I press less keys?" I actually got a complaint from one user that he had only hit one key before being told to type less. The latter message seems to trigger with certain keyboard switchers and again, does nothing but confuse people. Best of all, asides from the silly messages, none of the people suffering them report any other misbehaviour, their keyboards work just fine. Signed-off-by: Dave Jones Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- drivers/input/keyboard/atkbd.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff -puN drivers/input/keyboard/atkbd.c~remove-silly-messages-from-input-layer drivers/input/keyboard/atkbd.c --- devel/drivers/input/keyboard/atkbd.c~remove-silly-messages-from-input-layer 2006-06-01 20:26:39.000000000 -0700 +++ devel-akpm/drivers/input/keyboard/atkbd.c 2006-06-01 20:26:39.000000000 -0700 @@ -340,7 +340,6 @@ static irqreturn_t atkbd_interrupt(struc atkbd_report_key(atkbd->dev, regs, KEY_HANJA, 3); goto out; case ATKBD_RET_ERR: - printk(KERN_DEBUG "atkbd.c: Keyboard on %s reports too many keys pressed.\n", serio->phys); goto out; } @@ -359,11 +358,7 @@ static irqreturn_t atkbd_interrupt(struc case ATKBD_KEY_NULL: break; case ATKBD_KEY_UNKNOWN: - if (data == ATKBD_RET_ACK || data == ATKBD_RET_NAK) { - printk(KERN_WARNING "atkbd.c: Spurious %s on %s. Some program, " - "like XFree86, might be trying access hardware directly.\n", - data == ATKBD_RET_ACK ? "ACK" : "NAK", serio->phys); - } else { + if (data != ATKBD_RET_ACK && data != ATKBD_RET_NAK) { printk(KERN_WARNING "atkbd.c: Unknown key %s " "(%s set %d, code %#x on %s).\n", atkbd->release ? "released" : "pressed", _