You are not logged in.

#1 2008-12-01 03:00:02

valandil
Member
Registered: 2008-03-11
Posts: 82

Xorg 1.5 and keyboard map (I read the other threads)

Hi there!

I "pacman -Syu"-ed just now, but my keymap won't load anymore. It defaults to the US one. Anyway, I get this error:

Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
10503000

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

Here's xprop -root | grep XKB

_XKB_RULES_NAMES_BACKUP(STRING) = "base", "evdev", "us", "fr", ""
_XKB_RULES_NAMES(STRING) = "base", "evdev", "us", "fr", ""

Here's gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

layouts = [us    fr,ca,ca]
 model = evdev
 options = [grp    grp:alts_toggle]

And here's my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Touchpad" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

#    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "xtrap"
    Load  "dri"
    Load  "record"
    Load  "extmod"
    Load  "GLcore"
    Load  "dbe"
    Load  "glx"
    Load  "freetype"
    Load  "synaptics"
EndSection

Section "ServerFlags"
    Option        "AutoAddDevice" "false" # disable hotplugging?
    Option        "AllowEmptyInput" "false"    # enable legacy drivers (kbd, mouse, etc.)
EndSection

Section "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option        "Device" "/dev/input/mouse0"
    Option        "Protocol" "auto-dev"
    Option        "LeftEdge" "1700"
    Option        "RightEdge" "5300"
    Option        "TopEdge" "1700"
    Option        "BottomEdge" "4200"
    Option        "FingerLow" "25"
    Option        "FingerHigh" "30"
    Option        "MaxTapTime" "180"
    Option        "MaxTapMove" "220"
    Option        "VertScrollDelta" "100"
    Option        "MinSpeed" "0.06"
    Option        "MaxSpeed" "0.12"
    Option        "AccelFactor" "0.0010"
    Option        "SHMConfig" "on"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "XkbLayout" "ca"
    Option        "XkbVariant" "fr"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "NoDRI"                  # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "DRM_nbufs"              # <i>
        #Option     "DRM_bufsize"            # <i>
        #Option     "Capabilities"           # <i>
        #Option     "CapabilitiesEx"         # <i>
        #Option     "ClientDriverName"       # [<str>]
        #Option     "KernelModuleParm"       # [<str>]
        #Option     "AGPMask"                # <i>
        #Option     "AGPv3Mask"              # <i>
        #Option     "BufferTiling"           # [<bool>]
        #Option     "Profile"                # <str>
        #Option     "RingSize"               # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "GammaCorrectionI"       # <i>
        #Option     "GammaCorrectionII"      # <i>
        #Option     "OpenGLOverlay"          # [<bool>]
        #Option     "DefaultVisualTrueColor"     # [<bool>]
        #Option     "VideoOverlay"           # [<bool>]
        #Option     "DesktopSetup"           # [<str>]
        #Option     "MonitorLayout"          # [<str>]
        #Option     "ForceMonitors"          # [<str>]
        #Option     "EnableMonitor"          # <str>
        #Option     "OverlayOnCRTC2"         # [<bool>]
        #Option     "Mode2"                  # [<str>]
        #Option     "PairModes"              # [<str>]
        #Option     "HSync2"                 # [<str>]
        #Option     "VRefresh2"              # [<str>]
        #Option     "ScreenOverlap"          # <i>
        #Option     "MemClock"               # <i>
        #Option     "ASICClock"              # <i>
        #Option     "UseInternalAGPGART"     # [<bool>]
        #Option     "FastSwap"               # [<bool>]
        #Option     "Stereo"                 # [<bool>]
        #Option     "StereoSyncEnable"       # <i>
        #Option     "DisableOvScaler"        # [<bool>]
        #Option     "UseFastTLS"             # <i>
        #Option     "BlockSignalsOnLock"     # [<bool>]
        #Option     "ForceGenericCPU"        # [<bool>]
        #Option     "CenterMode"             # [<bool>]
        #Option     "OffScreenPixmaps"       # [<bool>]
        #Option     "EnableOpaqueOverlayVisual"     # [<bool>]
        #Option     "TMDSCoherentMode"       # [<bool>]
        #Option     "EnablePrivateBackZ"     # [<bool>]
        #Option     "TVFormat"               # [<str>]
        #Option     "TVStandard"             # [<str>]
        #Option     "TVOverscan"             # [<bool>]
        #Option     "TVHSizeAdj"             # <i>
        #Option     "TVVSizeAdj"             # <i>
        #Option     "TVHPosAdj"              # <i>
        #Option     "TVVPosAdj"              # <i>
        #Option     "TVHStartAdj"            # <i>
        #Option     "TVColorAdj"             # <i>
        #Option     "PseudoColorVisuals"     # [<bool>]
        #Option     "PreferredVRefresh"      # <i>
        #Option     "FastStart"              # [<bool>]
        #Option     "ProfileDriver"          # [<bool>]
        #Option     "PPPTforGART"            # [<bool>]
        #Option     "TexturedVideo"          # [<bool>]
        #Option     "TexturedVideoSync"      # [<bool>]
        #Option     "Textured2D"             # [<bool>]
        #Option     "TexturedXrender"        # [<bool>]
        #Option     "DPMS"                   # [<bool>]
        #Option     "MaxGARTSize"            # <i>
        #Option     "LogoPosX"               # <i>
        #Option     "LogoPosY"               # <i>
        #Option     "LogoColFG"              # <i>
        #Option     "LogoColBG"              # <i>
        #Option     "SwapScreens"            # [<bool>]
        #Option     "FBC"                    # [<bool>]
        #Option     "FrontBufferMode"        # <i>
        #Option     "BackBufferMode"         # <i>
        #Option     "DepthBufferMode"        # <i>
        #Option     "OverlayBufferMode"      # <i>
        #Option     "VideoOverlayBufferMode"     # <i>
        #Option     "EnableIrqMgr"           # [<bool>]
        #Option     "EnablePPLIB"            # [<bool>]
        #Option     "DefaultOnDC"            # [<bool>]
        #Option     "EnableRandR12"          # [<bool>]
        #Option     "DisableRotation"        # [<bool>]
        #Option     "EnableCrossFire"        # [<bool>]
        #Option     "DisableDlm"             # [<bool>]
    Identifier  "Card0"
    Driver      "fglrx"
    VendorName  "ATI Technologies Inc"
    BoardName   "Radeon Mobility X1400"
    Option        "UseFastTLS" "2"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 1
        Depth     8
        Modes    "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection

Section "Extensions"
    Option        "Composite" "True"
EndSection

Thanks for any help you can provide! By the way, I tried to reinstall pretty much every package that had a "kbd" in it, just to be sure...

Last edited by valandil (2008-12-01 03:04:09)

Offline

#2 2008-12-01 03:11:35

BinkyTheClown
Member
From: The Circus
Registered: 2008-06-11
Posts: 85
Website

Re: Xorg 1.5 and keyboard map (I read the other threads)

Try to re-configure Xorg.


Heeeeeey cat!!!

Offline

#3 2008-12-01 03:14:24

valandil
Member
Registered: 2008-03-11
Posts: 82

Re: Xorg 1.5 and keyboard map (I read the other threads)

By changing what?

I checked that my keymap still existed (ca,fr) and it does. I tried to comment out the "fr", just in case, but it did not change anything. I also tried to change from evdev-managed keyboard to the model of my keyboard and did not work. Every time I try to change something in the configuration of my keyboard, in fact, the message error I first posted keeps appearing.

If you have any suggestion of line to change, I'd be glad to hear it.

Offline

#4 2008-12-01 03:23:05

BinkyTheClown
Member
From: The Circus
Registered: 2008-06-11
Posts: 85
Website

Re: Xorg 1.5 and keyboard map (I read the other threads)

I mean, backup your xorg.conf and reconfigure with xorgcfg or something and see what happens.


Heeeeeey cat!!!

Offline

#5 2008-12-01 03:55:19

valandil
Member
Registered: 2008-03-11
Posts: 82

Re: Xorg 1.5 and keyboard map (I read the other threads)

Nothing happens. I get the same error message as before and the same wierdo errors.

Thanks anyway!

Offline

#6 2008-12-01 05:59:19

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: Xorg 1.5 and keyboard map (I read the other threads)

Did you read http://wiki.archlinux.org/index.php/Xor … otplugging ?

If yes, why do you still configure your keyboard in xorg.conf?

Offline

#7 2008-12-02 05:27:29

valandil
Member
Registered: 2008-03-11
Posts: 82

Re: Xorg 1.5 and keyboard map (I read the other threads)

Ok. Thanks.

I reread the article more carefully and did the HAL thing, and it worked. (Thank you!!!)

However, the error message from X.Org still appears. How do I get rid of it? I tried to comment out any reference to keyboard thing in my xorg.conf, which now looks like that:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Touchpad" "SendCoreEvents"
#    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

#    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "xtrap"
    Load  "dri"
    Load  "record"
    Load  "extmod"
    Load  "GLcore"
    Load  "dbe"
    Load  "glx"
    Load  "freetype"
    Load  "synaptics"
EndSection

Section "ServerFlags"
    Option        "AutoAddDevice" "false" # disable hotplugging?
    Option        "AllowEmptyInput" "false"    # enable legacy drivers (kbd, mouse, etc.)
EndSection

Section "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option        "Device" "/dev/input/mouse0"
    Option        "Protocol" "auto-dev"
    Option        "LeftEdge" "1700"
    Option        "RightEdge" "5300"
    Option        "TopEdge" "1700"
    Option        "BottomEdge" "4200"
    Option        "FingerLow" "25"
    Option        "FingerHigh" "30"
    Option        "MaxTapTime" "180"
    Option        "MaxTapMove" "220"
    Option        "VertScrollDelta" "100"
    Option        "MinSpeed" "0.06"
    Option        "MaxSpeed" "0.12"
    Option        "AccelFactor" "0.0010"
    Option        "SHMConfig" "on"
EndSection

#Section "InputDevice"
#    Identifier  "Keyboard0"
#    Driver      "keyboard"
#    Option        "XkbLayout" "ca"
#    Option        "XkbVariant" "fr"
#EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "NoDRI"                  # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "DRM_nbufs"              # <i>
        #Option     "DRM_bufsize"            # <i>
        #Option     "Capabilities"           # <i>
        #Option     "CapabilitiesEx"         # <i>
        #Option     "ClientDriverName"       # [<str>]
        #Option     "KernelModuleParm"       # [<str>]
        #Option     "AGPMask"                # <i>
        #Option     "AGPv3Mask"              # <i>
        #Option     "BufferTiling"           # [<bool>]
        #Option     "Profile"                # <str>
        #Option     "RingSize"               # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "GammaCorrectionI"       # <i>
        #Option     "GammaCorrectionII"      # <i>
        #Option     "OpenGLOverlay"          # [<bool>]
        #Option     "DefaultVisualTrueColor"     # [<bool>]
        #Option     "VideoOverlay"           # [<bool>]
        #Option     "DesktopSetup"           # [<str>]
        #Option     "MonitorLayout"          # [<str>]
        #Option     "ForceMonitors"          # [<str>]
        #Option     "EnableMonitor"          # <str>
        #Option     "OverlayOnCRTC2"         # [<bool>]
        #Option     "Mode2"                  # [<str>]
        #Option     "PairModes"              # [<str>]
        #Option     "HSync2"                 # [<str>]
        #Option     "VRefresh2"              # [<str>]
        #Option     "ScreenOverlap"          # <i>
        #Option     "MemClock"               # <i>
        #Option     "ASICClock"              # <i>
        #Option     "UseInternalAGPGART"     # [<bool>]
        #Option     "FastSwap"               # [<bool>]
        #Option     "Stereo"                 # [<bool>]
        #Option     "StereoSyncEnable"       # <i>
        #Option     "DisableOvScaler"        # [<bool>]
        #Option     "UseFastTLS"             # <i>
        #Option     "BlockSignalsOnLock"     # [<bool>]
        #Option     "ForceGenericCPU"        # [<bool>]
        #Option     "CenterMode"             # [<bool>]
        #Option     "OffScreenPixmaps"       # [<bool>]
        #Option     "EnableOpaqueOverlayVisual"     # [<bool>]
        #Option     "TMDSCoherentMode"       # [<bool>]
        #Option     "EnablePrivateBackZ"     # [<bool>]
        #Option     "TVFormat"               # [<str>]
        #Option     "TVStandard"             # [<str>]
        #Option     "TVOverscan"             # [<bool>]
        #Option     "TVHSizeAdj"             # <i>
        #Option     "TVVSizeAdj"             # <i>
        #Option     "TVHPosAdj"              # <i>
        #Option     "TVVPosAdj"              # <i>
        #Option     "TVHStartAdj"            # <i>
        #Option     "TVColorAdj"             # <i>
        #Option     "PseudoColorVisuals"     # [<bool>]
        #Option     "PreferredVRefresh"      # <i>
        #Option     "FastStart"              # [<bool>]
        #Option     "ProfileDriver"          # [<bool>]
        #Option     "PPPTforGART"            # [<bool>]
        #Option     "TexturedVideo"          # [<bool>]
        #Option     "TexturedVideoSync"      # [<bool>]
        #Option     "Textured2D"             # [<bool>]
        #Option     "TexturedXrender"        # [<bool>]
        #Option     "DPMS"                   # [<bool>]
        #Option     "MaxGARTSize"            # <i>
        #Option     "LogoPosX"               # <i>
        #Option     "LogoPosY"               # <i>
        #Option     "LogoColFG"              # <i>
        #Option     "LogoColBG"              # <i>
        #Option     "SwapScreens"            # [<bool>]
        #Option     "FBC"                    # [<bool>]
        #Option     "FrontBufferMode"        # <i>
        #Option     "BackBufferMode"         # <i>
        #Option     "DepthBufferMode"        # <i>
        #Option     "OverlayBufferMode"      # <i>
        #Option     "VideoOverlayBufferMode"     # <i>
        #Option     "EnableIrqMgr"           # [<bool>]
        #Option     "EnablePPLIB"            # [<bool>]
        #Option     "DefaultOnDC"            # [<bool>]
        #Option     "EnableRandR12"          # [<bool>]
        #Option     "DisableRotation"        # [<bool>]
        #Option     "EnableCrossFire"        # [<bool>]
        #Option     "DisableDlm"             # [<bool>]
    Identifier  "Card0"
    Driver      "fglrx"
    VendorName  "ATI Technologies Inc"
    BoardName   "Radeon Mobility X1400"
    Option        "UseFastTLS" "2"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 1
        Depth     8
        Modes    "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection

Section "Extensions"
    Option        "Composite" "True"
EndSection

Plus, my "Ctrl" key won't work properly anymore (so I can't change virtual desktop in Compiz). Anyway, thanks for any help.

Offline

#8 2008-12-02 06:03:30

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: Xorg 1.5 and keyboard map (I read the other threads)

Offline

#9 2008-12-02 11:51:54

koro
Member
From: Japan
Registered: 2007-04-16
Posts: 34

Re: Xorg 1.5 and keyboard map (I read the other threads)

Hi,

I'm Thinkpad T61 user, and my keyboard map became strange after upgraded to xorg1.5.

I read wiki page(http://wiki.archlinux.org/index.php/Xorg_input_hotplugging), and try to do that.
But, in my case, those solutions are not effective...

In GNOME keyboard pannel, I selected following
  keyboard type : Evdev-managed keyboard
  layout : Japan

Then I tried following command.

[kani@arch-slime ~]$ setxkbmap -print
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete+japan+ledscroll(group_lock)"    };
    xkb_symbols   { include "pc+jp+inet(evdev)+altwin(super_win)+group(alts_toggle)+level3(menu_switch)+ctrl(swapcaps)"    };
    xkb_geometry  { include "pc(pc104)"    };
};

Hmmm, It looks strange.
My keyboard should be jp106.

And next, I tried follwoing commands.

[kani@arch-slime ~]$ setxkbmap -rules evdev -model jp106 -layout jp
[kani@arch-slime ~]$ setxkbmap -print
xkb_keymap {
    xkb_keycodes  { include "evdev(jp106)+aliases(qwerty)"    };
    xkb_types     { include "complete"    };
    xkb_compat    { include "complete+japan+ledscroll(group_lock)"    };
    xkb_symbols   { include "pc+jp+inet(evdev)+altwin(super_win)+group(alts_toggle)+level3(menu_switch)+ctrl(swapcaps)"    };
    xkb_geometry  { include "pc(jp106)"    };
};

And now my keyboard map  was in a right condition.

I do not understand what' wrong..

regards.

Offline

Board footer

Powered by FluxBB