FS#12357 - Evdev causes keyboart to behave strangely
Attached to Project:
Arch Linux
Opened by héctor (hacosta) - Saturday, 06 December 2008, 01:05 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 17 December 2008, 21:25 GMT
Opened by héctor (hacosta) - Saturday, 06 December 2008, 01:05 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 17 December 2008, 21:25 GMT
|
Details
Description:
Evdev from testing works like this for me.. if i want to type `f' onkeypress f an f is displayed on screen onkeyup f an d is displayed on screen |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 17 December 2008, 21:25 GMT
Reason for closing: Works for me
Wednesday, 17 December 2008, 21:25 GMT
Reason for closing: Works for me
See this discussion:debian-bugs-dist@lists.debian.org/msg586329.html"> http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586329.html
And this commit which fixes this issue: http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/commit/?id=63af314368cec47b6b8266db331f2c820e7a071f
Xorg.log (24.1 KiB)
Section "ServerFlags"
Option "AllowEmptyInput" "false"
EndSection
You need to comment that out.
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+br(abnt2)+inet(evdev)+br(thinkpad):2+level3(ralt_switch_for_alts_toggle):1+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)" };
xkb_geometry { include "pc(pc104)" };
};
And this is the output in Ubuntu:
xkb_keymap {
xkb_keycodes { include "evdev(abnt2)+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+br(thinkpad)+inet(evdev)" };
xkb_geometry { include "pc(abnt2)" };
};
Ubuntu uses the following config in /etc/default/console-setup to set up the correct keyboard in xorg.conf:
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="abnt2"
XKBLAYOUT="br"
XKBVARIANT="thinkpad"
XKBOPTIONS=""
How can I use my keyboard in archlinux?
This is /var/log/Xorg.0.log in Ubuntu (where it works):
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(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:$
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "abnt2"
(**) AT Translated Set 2 keyboard: xkb_model: "abnt2"
(**) Option "xkb_layout" "br"
(**) AT Translated Set 2 keyboard: xkb_layout: "br"
(**) Option "xkb_variant" "thinkpad"
(**) AT Translated Set 2 keyboard: xkb_variant: "thinkpad"
In archlinux, it is:
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(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:$
(**) Option "xkb_rules" "base"
(**) AT Translated Set 2 keyboard: xkb_rules: "base"
(**) Option "xkb_model" "evdev"
(**) AT Translated Set 2 keyboard: xkb_model: "evdev"
(**) Option "xkb_layout" "us"
(**) AT Translated Set 2 keyboard: xkb_layout: "us"
I've also checked 10-keymap.fdi, and both distros have the same file. I wish I could go back to Arch soon :-(