[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#543903: Similar problems + repeated keys, added work-around



Hi,
I had similar problems with the keyboard on FJS Amilo laptop. Down arrow generated Key_Down and Return events, some other arrow keys generated also partially wrong events. Page Up added to PageUp also "/", Del generated PrintScreent event, etc.

Additionally, the keyboard driver randomly repeated pressed keys even when pressed for very short time (really randomly, but in average let say every 20-30th key). I don't know why it happens, maybe it's related to processor load so the driver thinks that the key is pressed for longer time than it really is, but that's just idea... Moreover, sometimes the repeated key was sent after another key was pressed, i.e. typing "word" resulted into "wordr" etc.

I have XkbdModel set to "fscaa1667g", but also tried "pc102" and some others and it had no influence to the mentioned behavior.

Also, it was not related to window manager settings, I tried KDE, twm and simple xterm as window manager and all of them had the same problem.

The kernel keyboard had no such problems, typing in console was correct. I didn't try to check /dev/input/eventX, if you want to do some test, please let me know.

The work-around was to disable SendCoreEvents in keyboard section:
        Option          "SendCoreEvents"        "false"

After that the keyboard works correctly, no typos or repeats, no strange mappings etc.

Xorg log now reports the following messages on keyboard:
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
        Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
        Using the first keyboard device.
...
(**) Option "SendCoreEvents" "false"
(**) Generic Keyboard: doesn't report core events
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "fscaa1667g"
(**) Generic Keyboard: XkbModel: "fscaa1667g"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
...
(**) "Power Button": always reports core events
(**) "Power Button": Device: "/dev/input/event2"
(II) "Power Button": Found keys
(II) "Power Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Power Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc102"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
...
(II) XINPUT: Adding extended input device ""Sleep Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc102"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
(II) config/udev: Adding input device "AT Translated Set 2 keyboard" (/dev/input/event0)
(**) "AT Translated Set 2 keyboard": always reports core events
(**) "AT Translated Set 2 keyboard": Device: "/dev/input/event0"
(II) "AT Translated Set 2 keyboard": Found keys
(II) "AT Translated Set 2 keyboard": Configuring as keyboard
(II) XINPUT: Adding extended input device ""AT Translated Set 2 keyboard"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc102"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
...
(II) config/udev: Adding input device "ACPI Virtual Keyboard Device" (/dev/input/event8)
(**) "ACPI Virtual Keyboard Device": always reports core events
(**) "ACPI Virtual Keyboard Device": Device: "/dev/input/event8"
(II) "ACPI Virtual Keyboard Device": Found keys
(II) "ACPI Virtual Keyboard Device": Configuring as keyboard
(II) XINPUT: Adding extended input device ""ACPI Virtual Keyboard Device"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc102"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"

Best Regards,
         Zbynek



Reply to: