LINUX.ORG.RU

Страное поведение клавиатуры в иксах


0

1

На машине стоит Debian Wheezy, в консоле клавиатура работает нормально, но в иксах быстрое нажатие одной и той же клавиши приводит к вводу только одного символа. Т.е. чтобы набрать две одинаковых буквы нужно выдерживать паузу (около секунды) или зажимать клавишу для автоповтора. При наборе текста ни первое, ни второе совсем не удобно. Куда копать не представляю.

Ответ на: комментарий от anonymous

Клавиатура PS/2, куплена буквально вчера, потому что предыдущая была полудохлой, не работали некоторые клавишы вообще. Так вот старая клавиатура была USB и проблема с набором текста там тоже была. Я бы уже грешил на железо системника, если бы без исков клавиатура тоже бы тормозила.

Вот часть лога про устройства ввода (весь не помещается):

[    22.390] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    22.390] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    22.390] (II) LoadModule: "evdev"
[    22.391] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    22.404] (II) Module evdev: vendor="X.Org Foundation"
[    22.404] 	compiled for 1.12.1, module version = 2.7.0
[    22.404] 	Module class: X.Org XInput Driver
[    22.404] 	ABI class: X.Org XInput driver, version 16.0
[    22.404] (II) Using input driver 'evdev' for 'Power Button'
[    22.404] (**) Power Button: always reports core events
[    22.404] (**) evdev: Power Button: Device: "/dev/input/event2"
[    22.404] (--) evdev: Power Button: Vendor 0 Product 0x1
[    22.404] (--) evdev: Power Button: Found keys
[    22.404] (II) evdev: Power Button: Configuring as keyboard
[    22.405] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    22.405] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    22.405] (**) Option "xkb_rules" "evdev"
[    22.405] (**) Option "xkb_model" "pc105"
[    22.405] (**) Option "xkb_layout" "us,ru"
[    22.405] (**) Option "xkb_variant" ","
[    22.405] (**) Option "xkb_options" "grp:lwin_toggle,grp_led:scroll"
[    22.471] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    22.471] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    22.471] (II) Using input driver 'evdev' for 'Power Button'
[    22.471] (**) Power Button: always reports core events
[    22.471] (**) evdev: Power Button: Device: "/dev/input/event1"
[    22.471] (--) evdev: Power Button: Vendor 0 Product 0x1
[    22.471] (--) evdev: Power Button: Found keys
[    22.471] (II) evdev: Power Button: Configuring as keyboard
[    22.471] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[    22.471] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    22.471] (**) Option "xkb_rules" "evdev"
[    22.471] (**) Option "xkb_model" "pc105"
[    22.471] (**) Option "xkb_layout" "us,ru"
[    22.471] (**) Option "xkb_variant" ","
[    22.471] (**) Option "xkb_options" "grp:lwin_toggle,grp_led:scroll"
[    22.472] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event6)
[    22.472] (II) No input driver specified, ignoring this device.
[    22.472] (II) This device may have been added with another device file.
[    22.472] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event5)
[    22.472] (**) A4Tech USB Mouse: Applying InputClass "evdev pointer catchall"
[    22.472] (II) Using input driver 'evdev' for 'A4Tech USB Mouse'
[    22.472] (**) A4Tech USB Mouse: always reports core events
[    22.472] (**) evdev: A4Tech USB Mouse: Device: "/dev/input/event5"
[    22.472] (--) evdev: A4Tech USB Mouse: Vendor 0x9da Product 0xa
[    22.472] (--) evdev: A4Tech USB Mouse: Found 12 mouse buttons
[    22.472] (--) evdev: A4Tech USB Mouse: Found scroll wheel(s)
[    22.472] (--) evdev: A4Tech USB Mouse: Found relative axes
[    22.472] (--) evdev: A4Tech USB Mouse: Found x and y relative axes
[    22.472] (II) evdev: A4Tech USB Mouse: Configuring as mouse
[    22.472] (II) evdev: A4Tech USB Mouse: Adding scrollwheel support
[    22.472] (**) evdev: A4Tech USB Mouse: YAxisMapping: buttons 4 and 5
[    22.472] (**) evdev: A4Tech USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    22.472] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.1/usb3/3-2/3-2:1.0/input/input5/event5"
[    22.472] (II) XINPUT: Adding extended input device "A4Tech USB Mouse" (type: MOUSE, id 8)
[    22.472] (II) evdev: A4Tech USB Mouse: initialized for relative axes.
[    22.473] (**) A4Tech USB Mouse: (accel) keeping acceleration scheme 1
[    22.473] (**) A4Tech USB Mouse: (accel) acceleration profile 0
[    22.473] (**) A4Tech USB Mouse: (accel) acceleration factor: 2.000
[    22.473] (**) A4Tech USB Mouse: (accel) acceleration threshold: 4
[    22.473] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse0)
[    22.473] (II) No input driver specified, ignoring this device.
[    22.473] (II) This device may have been added with another device file.
[    22.473] (II) config/udev: Adding input device Venus USB2.0 Camera (/dev/input/event7)
[    22.473] (**) Venus USB2.0 Camera: Applying InputClass "evdev keyboard catchall"
[    22.473] (II) Using input driver 'evdev' for 'Venus USB2.0 Camera'
[    22.473] (**) Venus USB2.0 Camera: always reports core events
[    22.473] (**) evdev: Venus USB2.0 Camera: Device: "/dev/input/event7"
[    22.473] (--) evdev: Venus USB2.0 Camera: Vendor 0xac8 Product 0x3420
[    22.473] (--) evdev: Venus USB2.0 Camera: Found keys
[    22.473] (II) evdev: Venus USB2.0 Camera: Configuring as keyboard
[    22.473] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.5/usb1/1-1/1-1:1.0/input/input7/event7"
[    22.473] (II) XINPUT: Adding extended input device "Venus USB2.0 Camera" (type: KEYBOARD, id 9)
[    22.473] (**) Option "xkb_rules" "evdev"
[    22.473] (**) Option "xkb_model" "pc105"
[    22.473] (**) Option "xkb_layout" "us,ru"
[    22.473] (**) Option "xkb_variant" ","
[    22.473] (**) Option "xkb_options" "grp:lwin_toggle,grp_led:scroll"
[    22.474] (II) config/udev: Adding input device HDA ATI SB Headphone (/dev/input/event4)
[    22.474] (II) No input driver specified, ignoring this device.
[    22.474] (II) This device may have been added with another device file.
[    22.474] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    22.474] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    22.474] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    22.474] (**) AT Translated Set 2 keyboard: always reports core events
[    22.474] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    22.474] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    22.474] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    22.474] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    22.474] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    22.474] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    22.474] (**) Option "xkb_rules" "evdev"
[    22.474] (**) Option "xkb_model" "pc105"
[    22.474] (**) Option "xkb_layout" "us,ru"
[    22.474] (**) Option "xkb_variant" ","
[    22.474] (**) Option "xkb_options" "grp:lwin_toggle,grp_led:scroll"
[    22.474] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[    22.474] (II) No input driver specified, ignoring this device.
[    22.474] (II) This device may have been added with another device file.

simburde ()
Ответ на: комментарий от simburde

весь не помещается

paste.org.ru

Запусти иксовую сессию с одним xterm, желательно без DM, из tty. Проблема остаётся?

anonymous ()
Ответ на: комментарий от simburde

Проблема решена, в гноме была активирована инвалидная фича «Отскакивающие клавиши». Спасибо.

simburde ()
Ответ на: комментарий от simburde

При запуске руками одного xterm проблемы не наблюдается.

А, ну тогда остаётся только терпеливо искать виновника в используемом окружении. Судя по упоминанию GDM, у тебя GNOME, значит будет весело. Больше ничего конкретного сказать не могу, кроме того, что у меня в гноме (с полгода назад где-то, Wheezy) такой фигни не было. Попробуй под новым пользователем, например, — вдруг настройки виноваты.

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.