lkml.org 
[lkml]   [2004]   [Apr]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromGiuseppe Bilotta <>
SubjectRe: [PATCH 6/15] New set of input patches: atkbd soften accusation
DateWed, 21 Apr 2004 16:13:00 +0200
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008