lkml.org 
[lkml]   [2002]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: Four function buttons on DELL Latitude X200
On Thu, Dec 12, 2002 at 07:17:22AM -0500, James H. Cloos Jr. wrote:
> >>>>> "Vojtech" == Vojtech Pavlik <vojtech@suse.cz> writes:
>
> Vojtech> Do they by any chance produce a kernel warning when pressed?
>
> Yes, the two keys that do not generate an event in X syslog these errors:
>
> atkbd.c: Unknown key (set 2, scancode 0x176, on isa0060/serio0) pressed.
> atkbd.c: Unknown key (set 2, scancode 0x176, on isa0060/serio0) released.
> atkbd.c: Unknown key (set 2, scancode 0x11e, on isa0060/serio0) pressed.
> atkbd.c: Unknown key (set 2, scancode 0x11e, on isa0060/serio0) released.
>
> where 0x176 is the PLAY key and 0x11e is the PREV key.

You can edit atkbd.c, and at the beginning there is a big table, add
some reasonable keycodes (KEY_PLAY, KEY_PREV), to entries 0x11e and
0x176 in the table.

> Incidently, the FORWARD key is giving the same keycode as the main
> kb's Pause key.

Should be possible to fix at the same place.

(You can try to use 'setkeycode' for the same purpose in 2.5, but it
might and might not work.)

--
Vojtech Pavlik
SuSE Labs
-
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:31    [W:0.436 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site