Find the answer to your Linux question:
Results 1 to 6 of 6
after having changed via xmodmap the mapping of my keyboard on a dell inspiron 4100 and having emerged i8kutils (gentoo linux) for volume controle and kernel 2.6.8 recompilation my keyboard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5

    useless keyboard (X) unless pressing shift!!


    after having changed via xmodmap the mapping of my keyboard on a dell inspiron 4100 and having emerged i8kutils (gentoo linux) for volume controle and kernel 2.6.8 recompilation my keyboard wouldn t write unless i press and hold shift button. for numbers i have to use the fn keypad; the same for periods; apostrophes and any special characters i get via copy_paste; arrows dont work
    this is only in x env; tty works perfectly

    i have checked my xorg.conf and xmodmap; i have unmerged the i8kutils and use 2.6.7 kernel again: no positive effect! even
    Code:
     #emerge --unemerge xorg-x11 && emerge xorg-x11
    couldn't solve any problem

    what could be the problem?

    this is my xorg.conf
    Code:
    Section "ServerLayout"
    
    # The Identifier line must be present
    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens.  The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen.  In this example, screen 2 is located to the
    # right of screen 1.
    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used.  Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".
       Identifier     "Simple Layout"
       Screen         "Screen 1" 0 0
       InputDevice    "Mouse1" "CorePointer"
       InputDevice    "Mouse2" "CorePointer"
       InputDevice    "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "Files"
    
    #    ModulePath "/usr/X11R6/lib/modules"
       RgbPath      "/usr/X11R6/lib/X11/rgb"
       FontPath     "/usr/share/fonts/misc/"
       FontPath     "/usr/share/fonts/TTF/"
       FontPath     "/usr/share/fonts/Speedo/"
       FontPath     "/usr/share/fonts/Type1/"
       FontPath     "/usr/share/fonts/CID/"
       FontPath     "/usr/share/fonts/75dpi/"
       FontPath     "/usr/share/fonts/100dpi/"
       FontPath     "/usr/share/fonts/local/"
    EndSection
    
    Section "Module"
    
    # This loads the DBE extension module.
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    # This loads the Type1 and FreeType font modules
    # This loads the GLX module
    #    Load       "glx"
    # This loads the DRI module
    #    Load       "dri"
    # This loads the Synaptics Touchpad driver module
       Load  "dbe"     # Double buffer extension
       SubSection "extmod"
          Option       "omit xfree86-dga"   # don't initialise the DGA extension
       EndSubSection
       Load  "type1"
       Load  "speedo"
       Load  "freetype"
    #    Load        "xtt"
       Load  "synaptics"
       Load  "glx"
       Load  "dri"
    EndSection
    
    Section "InputDevice"
    
       Identifier  "Keyboard1"
       Driver      "Keyboard"
       Option       "CoreKeyboard"
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.
    #    Option     "Protocol"      "Xqueue"
       Option       "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
       Option       "XkbRules" "xorg"
       Option       "XkbModel" "dell101"
       Option       "XkbLayout" "de_CH"
       Option       "XkbOptions" "caps:internal"
       Option       "SendCoreEvents" "true"
    EndSection
    
    Section "InputDevice"
       Identifier  "Mouse1"
       Driver      "synaptics"
       Option       "Device" "/dev/psaux"
       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  "Mouse2"
       Driver      "mouse"
       Option       "Protocoll" "IMPS/2"
       Option       "Device" "/dev/usbmouse"
       Option       "ZAxisMapping" "4 5"
       Option       "ChordMiddle"
    EndSection
    
    Section "Monitor"
    
       Identifier   "monitor"
       HorizSync    31.5 - 90.0
       VertRefresh  59 - 75
    EndSection
    
    Section "Device"
    
    #    BusID      "PCI:1:0:0"
        VideoRam   16384
    #    Clocks   25.2 28.3
       Identifier  "card1"
       Driver      "radeon"
       VendorName  "ATI"
       BoardName   "Radeon Mobility M6 LY"
    EndSection
    
    Section "Screen"
       Identifier "Screen 1"
       Device     "card1"
       Monitor    "monitor"
       DefaultDepth     24
       SubSection "Display"
          Viewport   0 0
          Depth     8
          Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
          Viewport   0 0
          Depth     16
          Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
          Viewport   0 0
          Depth     24
          Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
    EndSection
    
    Section "DRI"
       Mode    0666
    EndSection

  2. #2
    Just Joined!
    Join Date
    Sep 2004
    Posts
    2

    Re: useless keyboard (X) unless pressing shift!!

    Quote Originally Posted by keuner
    after having changed via xmodmap the mapping of my keyboard on a dell inspiron 4100 and having emerged i8kutils (gentoo linux) for volume controle and kernel 2.6.8 recompilation my keyboard wouldn t write unless i press and hold shift button. for numbers i have to use the fn keypad; the same for periods; apostrophes and any special characters i get via copy_paste; arrows dont work
    this is only in x env; tty works perfectly

    i have checked my xorg.conf and xmodmap; i have unmerged the i8kutils and use 2.6.7 kernel again: no positive effect! even
    Code:
     #emerge --unemerge xorg-x11 && emerge xorg-x11
    couldn't solve any problem

    what could be the problem?

    this is my xorg.conf
    Code:
    Section "ServerLayout"
    
    # The Identifier line must be present
    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens.  The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen.  In this example, screen 2 is located to the
    # right of screen 1.
    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used.  Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".
       Identifier     "Simple Layout"
       Screen         "Screen 1" 0 0
       InputDevice    "Mouse1" "CorePointer"
       InputDevice    "Mouse2" "CorePointer"
       InputDevice    "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "Files"
    
    #    ModulePath "/usr/X11R6/lib/modules"
       RgbPath      "/usr/X11R6/lib/X11/rgb"
       FontPath     "/usr/share/fonts/misc/"
       FontPath     "/usr/share/fonts/TTF/"
       FontPath     "/usr/share/fonts/Speedo/"
       FontPath     "/usr/share/fonts/Type1/"
       FontPath     "/usr/share/fonts/CID/"
       FontPath     "/usr/share/fonts/75dpi/"
       FontPath     "/usr/share/fonts/100dpi/"
       FontPath     "/usr/share/fonts/local/"
    EndSection
    
    Section "Module"
    
    # This loads the DBE extension module.
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    # This loads the Type1 and FreeType font modules
    # This loads the GLX module
    #    Load       "glx"
    # This loads the DRI module
    #    Load       "dri"
    # This loads the Synaptics Touchpad driver module
       Load  "dbe"     # Double buffer extension
       SubSection "extmod"
          Option       "omit xfree86-dga"   # don't initialise the DGA extension
       EndSubSection
       Load  "type1"
       Load  "speedo"
       Load  "freetype"
    #    Load        "xtt"
       Load  "synaptics"
       Load  "glx"
       Load  "dri"
    EndSection
    
    Section "InputDevice"
    
       Identifier  "Keyboard1"
       Driver      "Keyboard"
       Option       "CoreKeyboard"
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.
    #    Option     "Protocol"      "Xqueue"
       Option       "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
       Option       "XkbRules" "xorg"
       Option       "XkbModel" "dell101"
       Option       "XkbLayout" "de_CH"
       Option       "XkbOptions" "caps:internal"
       Option       "SendCoreEvents" "true"
    EndSection
    
    Section "InputDevice"
       Identifier  "Mouse1"
       Driver      "synaptics"
       Option       "Device" "/dev/psaux"
       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  "Mouse2"
       Driver      "mouse"
       Option       "Protocoll" "IMPS/2"
       Option       "Device" "/dev/usbmouse"
       Option       "ZAxisMapping" "4 5"
       Option       "ChordMiddle"
    EndSection
    
    Section "Monitor"
    
       Identifier   "monitor"
       HorizSync    31.5 - 90.0
       VertRefresh  59 - 75
    EndSection
    
    Section "Device"
    
    #    BusID      "PCI:1:0:0"
        VideoRam   16384
    #    Clocks   25.2 28.3
       Identifier  "card1"
       Driver      "radeon"
       VendorName  "ATI"
       BoardName   "Radeon Mobility M6 LY"
    EndSection
    
    Section "Screen"
       Identifier "Screen 1"
       Device     "card1"
       Monitor    "monitor"
       DefaultDepth     24
       SubSection "Display"
          Viewport   0 0
          Depth     8
          Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
          Viewport   0 0
          Depth     16
          Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
          Viewport   0 0
          Depth     24
          Modes    "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
    EndSection
    
    Section "DRI"
       Mode    0666
    EndSection
    Hey there,

    First I would try changing your keyboard to a generic 104 key layout. Make certain that all of your keys are working properly. Next I'd map your multimedia keys with xmodmap. For that, I have xmodmap getting called in my ~/.xinitrc file.

    scoon

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5

    Re: useless keyboard (X) unless pressing shift!!

    Hey there,

    First I would try changing your keyboard to a generic 104 key layout.
    Unfortunately this didn't help. I guess I have tried every kind of keyboard available in my xorg.conf (pc101-104, dell, dell101...)

    Make certain that all of your keys are working properly
    I have executed $ xev for serveral times now and what I found was that the key pressed, for instance x, printed in xev the correct mapping: correct keycode and symbol, no mixed up metakeys, nothing wrong as far as I could judge. But still the hit of the key wouldn't print the character on the screen, unless I would keep the shift-key...

    Next I'd map your multimedia keys with xmodmap. For that, I have xmodmap getting called in my ~/.xinitrc file.
    this will be kind of a secondary objective...




    [/quote]

  4. #4
    Just Joined!
    Join Date
    Sep 2004
    Posts
    2
    Hey there,

    Why don't you try to run revdep-rebuild to see if maybe there is a broken dependency somewhere.

    scoon

  5. #5
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5
    Quote Originally Posted by scoon
    Hey there,

    Why don't you try to run revdep-rebuild to see if maybe there is a broken dependency somewhere.

    scoon
    Im afraid this wasnt the solution. the output wasnt helpful in the sense that nothing was found to be broken except some linking in the openoffice directory... the only help would probably be to delete any config concerning the xserver and recompile xorg again. how could i possibly find out which these files are so that i get them all?

  6. #6
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5
    the problem was: by emerging i8kutils some config of gnome obviously was changed crucially causing the named problem. It could be solved by deleting EVERY config file of gnome ~.gnome* and gconf

    glad to be writing again!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •