Blame linux-2.6-input-kill-stupid-messages.patch
|
Jesse Keating |
2f82dda |
--- linux-2.6.21.noarch/drivers/input/keyboard/atkbd.c~ 2007-07-06 10:51:04.000000000 -0400
|
|
Jesse Keating |
2f82dda |
+++ linux-2.6.21.noarch/drivers/input/keyboard/atkbd.c 2007-07-06 10:51:33.000000000 -0400
|
|
Jesse Keating |
2f82dda |
@@ -409,10 +409,14 @@ static irqreturn_t atkbd_interrupt(struc
|
|
Jesse Keating |
2f82dda |
goto out;
|
|
Jesse Keating |
2f82dda |
case ATKBD_RET_ACK:
|
|
Jesse Keating |
2f82dda |
case ATKBD_RET_NAK:
|
|
Jesse Keating |
2f82dda |
+#if 0
|
|
Jesse Keating |
2f82dda |
+ /* Quite a few key switchers and other tools trigger this and it confuses
|
|
Jesse Keating |
2f82dda |
+ people who can do nothing about it */
|
|
Jesse Keating |
2f82dda |
if (printk_ratelimit())
|
|
Jesse Keating |
2f82dda |
printk(KERN_WARNING "atkbd.c: Spurious %s on %s. "
|
|
Jesse Keating |
2f82dda |
"Some program might be trying access hardware directly.\n",
|
|
Jesse Keating |
2f82dda |
data == ATKBD_RET_ACK ? "ACK" : "NAK", serio->phys);
|
|
Jesse Keating |
2f82dda |
+#endif
|
|
Jesse Keating |
2f82dda |
goto out;
|
|
Jesse Keating |
2f82dda |
case ATKBD_RET_ERR:
|
|
Jesse Keating |
2f82dda |
atkbd->err_count++;
|