You are not logged in.

#1 2010-01-01 18:06:33

thetrojan01
Member
From: Greece
Registered: 2009-04-18
Posts: 13
Website

Strange Keyboard Problem

Hello every one! First, I'd like to wish Happy New Year to everyone.

Well, I am having a very strange problem with my keyboard.

When I am typing in greek, suddently, the layout changes to US. For example: μπλα μπλα μπλα μπλa mpla mpla - with the layout group led still ON!
And also, sometimes, the keyboard goes bananas, and it "thinks" that I hold down the Shift key and it TYPES LIKE THIS>  (instead of "types like this.")

After a while, the "shift" problem stops, but the layout problem remains.

I am having this problem with evdev, kbd and keyboard drivers, and with Hotplugging enabled And Disabled.

here's my /etc/X11/xorg.conf:

[thetrojan01@poseidon ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:25:04 PDT 2009


Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AllowEmptyInput" "False"
EndSection

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "evdev"
    #Driver          "kbd"
    #Driver          "keyboard"
    Option         "Device"  "/dev/input/event6"
    #Option         "CoreKeyboard"
    #Option         "XkbdRules" "xorg"
    Option         "XkbLayout" "us,el"
    #Option         "XkbModel" "microsoftccurve2k"
    Option         "XkbOptions" "grp:lwin_toggle,grp_led:scroll,lvl3:ralt_switch,eurosign:e"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
#Enable Power-Saving#
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
#---------MyConfig---------#
    Option         "RenderAccel" "true"
    Option         "BackingStore" "true"
    Option         "NoLogo" "true"
    Option         "AGPFastWrite" "true"
    Option         "EnablePageFlip" "true"
    Option         "HWCursor" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

I am sure that my keyboard isn't broken, because I had Ubuntu installed in the same PC and it was just fine...

Can anyone help me please?

[edit] I think i've posted in the wrong category.... if so, then move this please...

Last edited by thetrojan01 (2010-01-01 18:17:04)


Don't pray. If you are unlucky enough, you'll get errors in your terminal!

Offline

#2 2010-01-01 19:24:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Strange Keyboard Problem

Welcome to the forums.

Sadly I don't have a solution to your problem, but I agree that another sub-forum would be a better home. Good luck.

Moving...

Offline

#3 2010-01-03 10:01:41

thetrojan01
Member
From: Greece
Registered: 2009-04-18
Posts: 13
Website

Re: Strange Keyboard Problem

Hi guys!

I've found very interresting information in /var/log/Xorg.0.log:

(II) config/hal: Adding input device i2c IR (Pinnacle PCTV)
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.7.3, module version = 2.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(**) i2c IR (Pinnacle PCTV): always reports core events
(**) i2c IR (Pinnacle PCTV): Device: "/dev/input/event8"
(II) i2c IR (Pinnacle PCTV): Found keys
(II) i2c IR (Pinnacle PCTV): Configuring as keyboard
(II) i2c IR (Pinnacle PCTV): Configuring as keyboard
(**) i2c IR (Pinnacle PCTV): always reports core events
(**) i2c IR (Pinnacle PCTV): Device: "/dev/input/event8"
(II) i2c IR (Pinnacle PCTV): Found keys
(II) i2c IR (Pinnacle PCTV): Configuring as keyboard
(II) XINPUT: Adding extended input device "i2c IR (Pinnacle PCTV)" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us,el"
(**) Option "xkb_options" "grp:lwin_toggle,compose:menu,grp_led:scroll"
(II) config/hal: Adding input device Macintosh mouse button emulation
[...]
(II) config/hal: Adding input device Microsoft Comfort Curve Keyboard 2000
(**) Microsoft Comfort Curve Keyboard 2000: always reports core events
(**) Microsoft Comfort Curve Keyboard 2000: Device: "/dev/input/event7"
(II) Microsoft Comfort Curve Keyboard 2000: Found 1 mouse buttons
(II) Microsoft Comfort Curve Keyboard 2000: Found scroll wheel(s)
(II) Microsoft Comfort Curve Keyboard 2000: Found relative axes
(II) Microsoft Comfort Curve Keyboard 2000: Found absolute axes
(II) Microsoft Comfort Curve Keyboard 2000: Found keys
(II) Microsoft Comfort Curve Keyboard 2000: Configuring as mouse
(II) Microsoft Comfort Curve Keyboard 2000: Configuring as keyboard
(**) Microsoft Comfort Curve Keyboard 2000: YAxisMapping: buttons 4 and 5
(**) Microsoft Comfort Curve Keyboard 2000: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Microsoft Comfort Curve Keyboard 2000" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us,el"
(**) Option "xkb_options" "grp:lwin_toggle,compose:menu,grp_led:scroll"
(EE) Microsoft Comfort Curve Keyboard 2000: failed to initialize for relative axes.
(**) Microsoft Comfort Curve Keyboard 2000: (accel) keeping acceleration scheme 1
(**) Microsoft Comfort Curve Keyboard 2000: (accel) acceleration profile 0
(II) Microsoft Comfort Curve Keyboard 2000: initialized for absolute axes.
(II) config/hal: Adding input device Microsoft Comfort Curve Keyboard 2000
(**) Microsoft Comfort Curve Keyboard 2000: always reports core events

So, the system thinks that my Pinnacle PCTV is a keyboard, and the MS Comfort Curve is a mouse and a keyboard! wow! tongue Crazy!

Does anyone know how to fix this thing?

here's my xorg.conf:

[thetrojan01@poseidon ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:25:04 PDT 2009


#Section "ServerFlags"
#    Option "AutoAddDevices" "False"
#    Option "AllowEmptyInput" "False"
#EndSection

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver          "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
#Enable Power-Saving#
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
#---------MyConfig---------#
    Option         "RenderAccel" "true"
    Option         "BackingStore" "true"
    Option         "NoLogo" "true"
    Option         "AGPFastWrite" "true"
    Option         "EnablePageFlip" "true"
    Option         "HWCursor" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

and my /etc/hal/fdi/ :

[thetrojan01@poseidon ~]$ cat /etc/hal/fdi/policy/10-keymap.fdi 
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">us,el</merge>
      <merge key="input.xkb.options" type="string">grp:lwin_toggle,compose:menu,grp_led:scroll</merge>
      <merge key="input.xkb.variant" type="string" />
    </match>
  </device>
</deviceinfo>

Don't pray. If you are unlucky enough, you'll get errors in your terminal!

Offline

#4 2010-02-09 09:39:40

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: Strange Keyboard Problem

Instead of "us,el" try "us,gr" for starters. You can also tweak your layout with setxkbmap for testing:

setxkbmap us,gr -variant ,extended -option grp:alt_shift_toggle -option grp_led:scroll

Offline

#5 2010-02-09 10:07:38

thetrojan01
Member
From: Greece
Registered: 2009-04-18
Posts: 13
Website

Re: Strange Keyboard Problem

nous wrote:

Instead of "us,el" try "us,gr" for starters. You can also tweak your layout with setxkbmap for testing:

setxkbmap us,gr -variant ,extended -option grp:alt_shift_toggle -option grp_led:scroll

I tried it and it didn't work. I have switched to GNOME for some time now and I didn't have the layout problem, but some times the Shift problem remains.


Don't pray. If you are unlucky enough, you'll get errors in your terminal!

Offline

#6 2010-02-13 19:04:35

thetrojan01
Member
From: Greece
Registered: 2009-04-18
Posts: 13
Website

Re: Strange Keyboard Problem

Ok, I got the extra keys working.

I missed RTFM well lol, and especially the  /etc/mkinitcpio.conf part... so I had to add some hooks, keymap and usbinput. I hope that the shift problem won't appear again, I will post soon when I ensure that the problem is solved. smile


Don't pray. If you are unlucky enough, you'll get errors in your terminal!

Offline

#7 2010-02-14 10:35:24

thetrojan01
Member
From: Greece
Registered: 2009-04-18
Posts: 13
Website

Re: Strange Keyboard Problem

nope, the shift problem still extists.

Last edited by thetrojan01 (2010-02-14 10:36:29)


Don't pray. If you are unlucky enough, you'll get errors in your terminal!

Offline

Board footer

Powered by FluxBB