Re: [PATCH 6/15] New set of input patches: atkbd soften accusation

From: Giuseppe Bilotta
Date: Wed Apr 21 2004 - 09:14:10 EST

Dmitry Torokhov wrote:
> + printk(KERN_WARNING "atkbd.c: Unknown key %s "
> + "(%s set %d, code %#x on %s).\n",
> + atkbd->release ? "released" : "pressed",
> + atkbd->translated ? "translated" : "raw",
> + atkbd->set, code, serio->phys);
> + printk(KERN_WARNING "atkbd.c: Use 'setkeycodes %s%02x <keycode>' "
> + "to make it known.\n",
> + code & 0x80 ? "e0" : "", code & 0x7f);

By the way, until the atkbd.c / keyboard.c interaction is fixed, using setkeycodes might
*not* make the keys known *properly*. (example: try setkeycodes e001 129: you'll notice
that a key whose raw code is 0x81 will not produce keycode 129, because the raw mode
emulation will actually turn the 0x81 in a 0x85.)

(See also the temporary patch I posted recently).

Giuseppe "Oblomov" Bilotta

Can't you see
It all makes perfect sense
Expressed in dollar and cents
Pounds shillings and pence
(Roger Waters)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at