Re: Bug#594089: keyboard-configuration: caps lock keycode problem

From: Samuel Thibault
Date: Mon Oct 25 2010 - 14:03:30 EST


Tom Vier, le Mon 25 Oct 2010 09:37:26 -0400, a écrit :
> On 10/25/2010 12:50 AM, Dmitry Torokhov wrote:
> >On Sun, Oct 24, 2010 at 04:41:51PM +0200, Samuel Thibault wrote:
> >>The short story is: Tom's keyboard sends all that when he presses caps
> >>lock:
> >>
> >>press: 0x3a 0xe0 0x66
> >>repeat: 0x3a
> >>release: 0xba 0xe0 0xe6
> >>
> >>0xe0 0x66 happens to be the "favorites" key on his keyboard with
> >>internet navigation keys. I thus believe there's a bug in his keyboard
> >>that needs to be filtered at the kernel level.
> >>
> >>The long story can be read on
> >>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594089
> >
> >Hmm, the question is whether the real "favorites" key send the same
> >usage and the fake one after caps lock. Any chance Tom could locate
> >evtest utility and see what MSC_SCAN events being emitted?
>
> Sure. Here's caps-lock:
>
> Event: time 1288013671.633008, -------------- Report Sync ------------
> Event: time 1288013674.171812, type 4 (Misc), code 4 (ScanCode), value 70039
> Event: time 1288013674.171853, type 1 (Key), code 58 (CapsLock), value 1
> Event: time 1288013674.171862, -------------- Report Sync ------------
> Event: time 1288013674.172210, type 17 (LED), code 1 (CapsLock), value 1
> Event: time 1288013674.299553, type 4 (Misc), code 4 (ScanCode), value 70039
> Event: time 1288013674.299580, type 1 (Key), code 58 (CapsLock), value 0
> Event: time 1288013674.299593, -------------- Report Sync ------------
>
>
> Right-shift (the other problem key):
>
> Event: time 1288013798.388025, -------------- Report Sync ------------
> Event: time 1288013800.742088, type 4 (Misc), code 4 (ScanCode), value 700e5
> Event: time 1288013800.742130, type 1 (Key), code 54 (RightShift), value 1
> Event: time 1288013800.742142, -------------- Report Sync ------------
> Event: time 1288013800.861777, type 4 (Misc), code 4 (ScanCode), value 700e5
> Event: time 1288013800.861812, type 1 (Key), code 54 (RightShift), value 0
> Event: time 1288013800.861824, -------------- Report Sync ------------

Could you also post results when pressing the "favorite" and the "prev"
internet keys of your keyboard?

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