You are not logged in.

#1 2008-12-06 21:17:56

neonl
Member
From: Lisboa
Registered: 2007-12-27
Posts: 26
Website

PT Keymap - xorg upgrade

I don't know exactly what caused this but i think it was the latest xorg upgrade. Everything was working fine but, after the update, when i restart X, my keymap is set to the default us. The xorg.conf hasn't changed so i don't know whats happening.

Here's the keyboard part in xorg.conf

Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

(...)

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "pt"
EndSection

Looking at the xorg.0.log i saw this lines but i dont understand them very well...

(**) 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: KEYBOARD)
(**) 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"

Help, please. neutral


"The philosophers have only interpreted the world, in various ways. The point, however, is to change it."
Karl Marx
Thee Last.fm

Offline

#2 2008-12-06 22:54:22

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: PT Keymap - xorg upgrade

If you a look at http://wiki.archlinux.org/index.php/Xor … otplugging you'll find that you have two alternatives, either disable input hotplugging by adding Option "AutoAddDevices" "False" to the ServerFlags section of xorg.conf or configure hal/evdev to use the correct keymap.  (If you run gnome and go for the second option then it won't work unless you have the latest patched xorg-server 1.5.3-3 package installed.)

Last edited by azleifel (2008-12-06 22:54:51)

Offline

#3 2008-12-06 23:30:16

neonl
Member
From: Lisboa
Registered: 2007-12-27
Posts: 26
Website

Re: PT Keymap - xorg upgrade

azleifel, thanks a lot! I had no idea of that... googled a bit about my issue and gave up, so i asked here, at the forum.

I still don't understand exactly what is hotplugging for (that article is too big and i'm not in the mood of large readings), but, anyway, i disabled it and things are working normally again... at least i think so.

Many thanks again smile


"The philosophers have only interpreted the world, in various ways. The point, however, is to change it."
Karl Marx
Thee Last.fm

Offline

Board footer

Powered by FluxBB