Re: [PATCH 0/5] Sonypi driver model & PM changes

From: Vojtech Pavlik
Date: Mon Oct 25 2004 - 14:34:31 EST


On Mon, Oct 25, 2004 at 05:20:24PM +0200, Stelian Pop wrote:
> xev doesn't say anything about modifiers. It shows the modifier being
> pressed, the other key pressed, then released, then the modifier being
> released too.
>
> The trace shows the same kind of events in a working Control case or
> in a not working 'function' case:
>
> KeyPress event, serial 24, synthetic NO, window 0x2a00001,
> root 0x40, subw 0x2a00002, time 6566259, (37,47), root:(542,70),
> state 0x0, keycode 214 (keysym 0x8f6, function), same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyPress event, serial 24, synthetic NO, window 0x2a00001,
> root 0x40, subw 0x2a00002, time 6566259, (37,47), root:(542,70),
> state 0x20, keycode 67 (keysym 0xffbe, F1), same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False
>
> KeyRelease event, serial 24, synthetic NO, window 0x2a00001,
> root 0x40, subw 0x2a00002, time 6566259, (37,47), root:(542,70),
> state 0x20, keycode 67 (keysym 0xffbe, F1), same_screen YES,
> XLookupString gives 0 bytes:
>
> KeyRelease event, serial 24, synthetic NO, window 0x2a00001,
> root 0x40, subw 0x2a00002, time 6566259, (37,47), root:(542,70),
> state 0x20, keycode 214 (keysym 0x8f6, function), same_screen YES,
> XLookupString gives 0 bytes:

Watch the "state" variable.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/