Re: KDSETKEYCODE work with new input layer?

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Tue Oct 01 2002 - 12:39:38 EST


On Tue, Oct 01, 2002 at 01:41:27PM -0400, Skip Ford wrote:
> Vojtech Pavlik wrote:
> > On Tue, Oct 01, 2002 at 12:49:08PM -0400, Skip Ford wrote:
> > >
> > > The new AT driver
> > > doesn't log any 'unknown scancode' messages for the same buttons the
> > > old XT driver did.
> >
> > That means it understands them. If it did not, showkey -s wouldn't work.
> >
> > Just update the keymap - you don't need to change the scancode table if
> > the keys are working.
>
> How do I make use of these keycodes in a map file?
>
> 0 press
> 1 release
> 14 release
>
> 0 press
> 1 release
> 15 release

0,1,14 is keycode 142 (Sleep) and 0,1,15 is keycode 143 (WakeUp),
encoded because medium raw mode cannot handle keycodes above 128. If
loadkeys doesn't allow keycodes 142 and 143, well, I'll have to fix it.

-- 
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:27 EST