You are not logged in.

#1 2010-11-30 03:15:02

colbert
Member
Registered: 2007-12-16
Posts: 809

[SOLVED] Main chunk of keyboard not working with Xorg, only numpad

Quite strange prob here, rebooted and now can't type anything with the main part of my keyboard, but the numpad on the right side works (numbers with numlock, cursor moves directionally without, etc.). Can't hit anything in the GDM login manager, but killing it via SSH from laptop and going into shell keyboard works fine. I am sure this is something fishy with my Xorg settings. Here's my xorg.conf:

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

Section "ServerFlags"

#    Option        "AutoAddDevices" "False"
    Option         "Xinerama" "0"
EndSection

#Section "InputDevice"

    # generated from default
#    Identifier     "Mouse0"
#    Driver         "mouse"
#    Option         "Protocol" "auto"
#    Option         "Device" "/dev/psaux"
#    Option         "Emulate3Buttons" "no"
#    Option         "ButtonMapping" "1 2 3 6 7"
#    Option         "ZAxisMapping" "4 5"
#EndSection

#Section "InputClass"

    # generated from default
#    Identifier     "Keyboard Defaults"
#    MatchIsKeyboard  "yes"
#    Option     "XkbOptions" "terminate:ctrl_alt_bksp"
#    Option     "XkbLayout "dvorak"
#    Driver         "keyboard"
#EndSection

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "dvorak"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer AL2616W"
#    DisplaySize            650 350
    Option         "DPI" "87 x 87"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    Option         "UseEdidDpi" "false"
EndSection

Section "Screen"

#    Option         "metamodes" "DFP: 1920x1200 +0+0"
#    Option         "metamodes" "DFP: 1920x1200 +0+0, CRT: 1600x1200 +1920+0"
# Removed Option "TwinViewXineramaInfoOrder" "DFP-1, CRT-1"
# Removed Option "metamodes" "DFP-1: 1920x1200 +0+0, CRT-1: 1600x1200 +1920+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: 1600x1200 +1920+0, DFP: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "NoLogo" "true"
    Option         "PixmapCacheSize" "5000000"
    Option         "AllowSHMPixmaps" "0"
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

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

Here is my /etc/X11/xorg.conf.d/10-evdev.conf:

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"

        # Keyboard layouts
        Option "XkbLayout" "us, bg"
        Option "XkbVariant" ", phonetic"
        Option "XkbOptions" "grp:alt_shift_toggle, grp_led:scroll, terminate:ctrl_alt_bksp"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

I added the Keyboard Layouts part to the 10-evdev.conf as per Wiki, and now I can hit ctrl+alt+bksp in GDM and it logs out/in, but still nothing else.

EDIT: Here's xorg log:

[   891.177] (II) config/udev: Adding input device LITEON Technology USB Multimedia Keyboard (/dev/input/event1)
[   891.177] (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
[   891.177] (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "Keyboard Defaults"
[   891.177] (**) LITEON Technology USB Multimedia Keyboard: always reports core events
[   891.177] (**) LITEON Technology USB Multimedia Keyboard: Device: "/dev/input/event1"
[   891.199] (--) LITEON Technology USB Multimedia Keyboard: Found keys
[   891.199] (II) LITEON Technology USB Multimedia Keyboard: Configuring as keyboard
[   891.199] (II) XINPUT: Adding extended input device "LITEON Technology USB Multimedia Keyboard" (type: KEYBOARD)
[   891.200] (**) Option "xkb_rules" "evdev"
[   891.200] (**) Option "xkb_model" "evdev"
[   891.200] (**) Option "xkb_layout" "dvorak"
[   891.200] (**) Option "xkb_variant" ", phonetic"
[   891.200] (**) Option "xkb_options" "grp:alt_shift_toggle, grp_led:scroll, terminate:ctrl_alt_bksp"
[   891.201] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event2)
[   891.201] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[   891.201] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[   891.201] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event2"
[   891.226] (--) Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons
[   891.226] (--) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[   891.226] (--) Logitech USB-PS/2 Optical Mouse: Found relative axes
[   891.226] (--) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[   891.226] (II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[   891.226] (**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[   891.226] (**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   891.226] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE)
[   891.226] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[   891.226] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[   891.226] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[   891.226] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[   891.226] (II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[   891.227] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)
[   891.227] (II) No input driver/identifier specified (ignoring)
[   891.232] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   891.232] (II) No input driver/identifier specified (ignoring)
[   891.236] (II) config/udev: Adding input device Media Center Ed. eHome Infrared Remote Transceiver (1784:0001) (/dev/input/event6)
[   891.236] (**) Media Center Ed. eHome Infrared Remote Transceiver (1784:0001): Applying InputClass "evdev keyboard catchall"
[   891.236] (**) Media Center Ed. eHome Infrared Remote Transceiver (1784:0001): Applying InputClass "Keyboard Defaults"
[   891.236] (**) Media Center Ed. eHome Infrared Remote Transceiver (1784:0001): always reports core events
[   891.236] (**) Media Center Ed. eHome Infrared Remote Transceiver (1784:0001): Device: "/dev/input/event6"
[   891.253] (--) Media Center Ed. eHome Infrared Remote Transceiver (1784:0001): Found keys
[   891.253] (II) Media Center Ed. eHome Infrared Remote Transceiver (1784:0001): Configuring as keyboard
[   891.253] (II) XINPUT: Adding extended input device "Media Center Ed. eHome Infrared Remote Transceiver (1784:0001)" (type: KEYBOARD)
[   891.253] (**) Option "xkb_rules" "evdev"
[   891.253] (**) Option "xkb_model" "evdev"
[   891.253] (**) Option "xkb_layout" "dvorak"
[   891.253] (**) Option "xkb_variant" ", phonetic"
[   891.253] (**) Option "xkb_options" "grp:alt_shift_toggle, grp_led:scroll, terminate:ctrl_alt_bksp"

Last edited by colbert (2010-12-01 17:31:38)

Offline

#2 2010-11-30 22:36:59

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Main chunk of keyboard not working with Xorg, only numpad

Anyone??? I don't want to reinstall or anything drastic but I can't figure this out and my desktop is mainly GUI apps usage so is a big paperweight currently sad sad

Offline

#3 2010-11-30 23:37:56

bt
Member
Registered: 2007-04-11
Posts: 198

Re: [SOLVED] Main chunk of keyboard not working with Xorg, only numpad

I am also having trouble with my keyboard since last upgrade (Sat. 11/27). the keyboard freezes for 20 seconds and then resumes. My guess is that our problems are related. I also need some help.

Offline

#4 2010-11-30 23:50:55

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Main chunk of keyboard not working with Xorg, only numpad

Damn! Yeah this is lame, I have tried all kinds of modifications in the last hour or so, I've disabled input hotplugging even and added keyboard to my xorg.conf as such:

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "ca"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "logii350"
EndSection

Still cannot get it to work. It's getting late here and I need the box working tomorrow so I'm approaching last resort of reinstalling Arch...

Offline

#5 2010-12-01 17:30:57

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Main chunk of keyboard not working with Xorg, only numpad

Well, I wound up doing the same thing as this poster: https://bbs.archlinux.org/viewtopic.php?pid=750976  I reinstalled and all is working so far. I think there's some other config setting somewhere lost over time amidst many updates that is causing it, or a flat-out bug. Either way, repeating the link above and marking as solved although not quite...

Offline

Board footer

Powered by FluxBB