Hi,

I also installed X on a Toshiba 5005-S504 recently, and got the same problem
with the keyboard ('doublestrokes'). The keyboard is fine in consoles.

I investigated a little with the xev program. It appears that instantaneous
spurious keystrokes are generated occasionally, for one reason or another:

(This is the real keystroke.)

KeyPress event, serial 26, synthetic NO, window 0xc00001,
    root 0x5e, subw 0x0, time 1099042576, (99, 80), root:(103,463),
    state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
    XlookupString gives 1 characters:  "x"

KeyRelease event, serial 26, synthetic NO, window 0xc00001,
    root 0x5e, subw 0x0, time 1099042665, (99, 80), root:(103,463),
    state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
    XlookupString gives 1 characters:  "x"

(And it is soon followed by a spurious one. Note that the times are the same.)

KeyPress event, serial 26, synthetic NO, window 0xc00001,
    root 0x5e, subw 0x0, time 1099042669, (99, 80), root:(103,463),
    state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
    XlookupString gives 1 characters:  "x"

KeyRelease event, serial 26, synthetic NO, window 0xc00001,
    root 0x5e, subw 0x0, time 1099042669, (99, 80), root:(103,463),
    state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
    XlookupString gives 1 characters:  "x"

I tried this a few times, and in each instance the generated keystroke occurs
4 ticks after the real one. Does anyone know why this is the case?

Thankfully there is an easy workaround to this problem
(i.e. turn on bouncekeys with a minimal delay).
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to