You are not logged in.

#1 2009-04-02 05:27:51

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

[Solved] Keyboard and Mouse unusable after config changes

I've been in DSL hell for about 2 months now - up and down (FWIW: BEWARE Dry DSL - when you try and screw Ma Bell - even in Canada - it APPEARS they tend to screw back...).

I even missed April Fool's Day at Arch (and I know better than to miss THAT!).

Setup: Asus Mobo, AMD CPU, x86_64, originally ran LXDE, recently added KDE4. Stock kernel; nothing "weird" about my config that I can see. I also have an i686 install as a backup (good idea: it's the only way I could be posting ATM). i686 uses XFCE; otherwise, basically same as the x86 install. rc.conf keymap is "us".

Also: due to multiple errors from Xorg after the upgrade to the current version (NOT 1.6), I removed all references to input devices from xorg.conf, and everything worked fine, so it's still that way (and appears to be the Xorg recommendation, anyway).

2 days ago, during a multi-hour outage, I made a bunch of config changes (admittedly, TOO MANY tweaks at one time) - but ALL the changes I can remember were WITHIN  the ~/.kde4 directory (but I COULD be wrong there). And, of course, bored geeks are dangerous.   smile

I rebooted after making this series of changes, and when I came back up, my input devices don't work properly, if at all (and ONLY from a DE/WM - the CLI is fine).
Every keystroke - into ANY window: browser, terminal, whatever - echoes back 3 copies of the key (and typing "o" ALWAYS returns "oOo" - plus a CR - and ONLY the "o" key works that way that I've found thus far).

If I click the main menu tab, I see the menu FLASH for about 1/4 second, then disappear.

First attempt to correct: mv the .kde4 directory someplace else, and let it build a "clean" base config. This had NO effect.
Second attempt (this is the really weird part): Try to go back to LXDE. IT HAS THE EXACT SAME PROBLEMS. Hence, I'm on my i686 install now.

I've looked through every system setting in "system settings" - nothing odd.

My plan, if the above didn't work, was to remove and reinstall KDE - but if this also affects LXDE, that is (VERY) likely a useless exercise.

This is one of the weirdest corners I've ever painted myself into in Linux - the only 2 options remaining that I see, are (a) wiping out my home dir, cp the skel files. and COMPLETELY reconfigure everything involving X, or (b) completely reinstall x86_64.

Anyone have a better idea? I've been working on this for 2 days solid; I REALLY want to avoid a complete reinstall.

Sorry for the tome. I DO TRY and be concise; but also try to include things that MIGHT be relevant.

Last edited by grndrush (2009-04-02 16:31:24)

Offline

#2 2009-04-02 11:04:54

Mr.Cat
Member
Registered: 2008-09-27
Posts: 79

Re: [Solved] Keyboard and Mouse unusable after config changes

Please, post your xorg.conf here. I've experienced a similar trouble a couple of months ago and that was an issue with xorg.conf. I don't remenber how I managed to solve the problem, but I may try to help if I see the xorg.conf.

You may also try to create a new xorg.conf from scratch.

Offline

#3 2009-04-02 11:42:25

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: [Solved] Keyboard and Mouse unusable after config changes

Mr. Cat -

Thanks for the prompt reply. I'm posting 2 xorg.conf's: the one I had in place when this cropped up, and the current one, with a few changes I made after doing some research. Neither works.

Original:

Section "ServerLayout"
    Identifier    "Xorg Config (it was a start, anyway...)"
    Screen  0    "The Screen"  0  0
    Option        "AllowMouseOpenFail"    "true"
EndSection

Section "ServerFlags"
    Option        "AutoAddDevices"    "false"
    Option        "DontZap"        "false"
EndSection

Section "Extensions"
    Option        "MIT-SHM"        "Enable"
    Option        "RANDR"            "Enable"
    Option        "XEVIE"            "Enable"
    Option        "XINERAMA"        "Disable"
    Option        "Composite"        "Disable"
EndSection

Section "Device"
    Identifier    "GeForce MX400"
    BusID        "PCI:1:0:0"
    Driver        "nvidia"
    Option        "DPI"            "96 x 96"
    Option        "NvAGP"            "1"
    Option        "CoolBits"        "1"
    Option        "NoLogo"        "true"
    Option        "RenderAccel"        "true"
    Option        "BackingStore"        "true"
EndSection

Section "Screen"
    Identifier    "The Screen"
    Device        "GeForce MX400"
    Monitor        "SyncMaster 955DF"
    DefaultColorDepth 24
    SubSection    "Display"
        Depth       8
        Modes    "800x600"    "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      24
        Modes    "1152x864_85"    "1024x768_100"    "800x600"    "640x480"
#        Modes    "1280x960_75"    "1152x864_85"    "1024x768_100"    "800x600"    "640x480"
    EndSubSection
EndSection

Section "Monitor"
    Identifier    "SyncMaster 955DF"
    HorizSync     30  -    85
    VertRefresh     50  - 160
#    DisplaySize    360    270
    Option        "DPMS"
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
    ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
    # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
    ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
    # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
    ModeLine "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync
    # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
#    ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
    # 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
#    ModeLine "1600x1200" 162.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
#
    # Extended modelines with GTF timings
    # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
    ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
    # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
    ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
    # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
    ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
    # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
#    ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
    # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
    ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
    # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
    ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
    # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
#    ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
EndSection

Current:

Section "ServerLayout"
    Identifier    "Xorg Config (it was a start, anyway...)"
    Screen        "MyScreen"    0  0
    Option        "AllowEmptyInput"    "false"
    Option        "AllowMouseOpenFail"    "true"
#    Option        "AutoAddDevices"    "false"
    Option        "DontZap"        "false"
    Option        "SingleCard"        "true"
EndSection

Section "Extensions"
    Option        "Composite"        "Disable"
    Option        "MIT-SHM"        "Enable"
#    Option        "RANDR"            "Enable"
    Option        "XEVIE"            "Enable"
    Option        "XINERAMA"        "Disable"
EndSection

Section "Module"
    SubSection        "extmod"
    Option        "omit XFree86-DGA"
    EndSubSection
EndSection

Section "Device"
    Identifier    "GeForce MX400"
    BusID        "PCI:1:0:0"
    Driver        "nvidia"
    Option        "DPI"            "96 x 96"
    Option        "NvAGP"            "1"
    Option        "CoolBits"        "1"
    Option        "NoLogo"        "true"
    Option        "RenderAccel"        "true"
    Option        "BackingStore"        "true"
EndSection

Section "Screen"
    Identifier    "MyScreen"
    Device        "GeForce MX400"
    Monitor        "SyncMaster 955DF"    Option        "DPMS"

    DefaultDepth     24
    SubSection    "Display"
        Depth      8
        Modes    "800x600"    "640x480"
    EndSubSection
    SubSection    "Display"
        Depth     24
        Modes    "1152x864_85"    "1024x768_100"    "800x600"    "640x480"
#        Modes    "1280x960_75"    "1152x864_85"    "1024x768_100"    "800x600"    "640x480"
    EndSubSection
EndSection

Section "Monitor"
    Identifier    "SyncMaster 955DF"
    HorizSync     30  -    85
    VertRefresh     50  - 160
    UseModes    "MyModes"
    Option        "DPMS"
EndSection

Section "Modes"
    Identifier    "MyModes"
# Default modes distilled from "VESA and Industry Standards and Guide for Computer Display
#   Monitor Timing", v 1.0, rev 0.8, adopted 1998/9/17.
# $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 tsi Exp $

    #  60Hz x 31.50kHz    Industry Standard timings (and very likely very unneeded)
    ModeLine "640x480"     25.20   640  656  752  800   480  490  492  525  -hsync -vsync

    #  85Hz x 43.30kHz    VESA Standard timings (not needed, either?)
    ModeLine "640x480"     36.00   640  696  752  832   480  481  484  509  -hsync -vsync
    #  60Hz x 37.90kHz
    ModeLine "800x600"     40.00   800  840  968 1056   600  601  605  628  +hsync +vsync
    #  85Hz x 53.70kHz
    ModeLine "800x600"     56.30   800  832  896 1048   600  601  604  631  +hsync +vsync
    #  75Hz x 60.00kHz
    ModeLine "1024x768"    78.80  1024 1040 1136 1312   768  769  772  800  +hsync +vsync
    #  85Hz x 68.70kHz
    ModeLine "1024x768"    94.50  1024 1072 1168 1376   768  769  772  808  +hsync +vsync
    #  75Hz x 67.50kHz
    ModeLine "1152x864"   108.00  1152 1216 1344 1600   864  865  868  900  +hsync +vsync
    #  75Hz x 80.00kHz
    ModeLine "1280x1024"  135.00  1280 1296 1440 1688  1024 1025 1028 1066  +hsync +vsync
    #  85Hz x 91.10kHz
#    ModeLine "1280x1024"  157.50  1280 1344 1504 1728  1024 1025 1028 1072  +hsync +vsync
    #  60Hz x 75.00kHz
#    ModeLine "1600x1200"  162.00  1600 1664 1856 2160  1200 1201 1204 1250  +hsync +vsync

    # 100Hz x 50.90kHz     Extended GTF timings (at least we NEED these!)
    ModeLine "640x480"     43.16   640  680  744  848   480  481  484  509  -hsync +vsync
    # 100Hz x 63.60kHz
    ModeLine "800x600"     68.18   800  848  936 1072   600  601  604  636  -hsync +vsync
    # 100Hz x 81.40kHz
    ModeLine "1024x768"   113.31  1024 1096 1208 1392   768  769  772  814  -hsync +vsync
    #  60Hz x 53.70kHz
#    ModeLine "1152x864"    81.62  1152 1216 1336 1520   864  865  868  895  -hsync +vsync
    #  85Hz x 77.10kHz
    ModeLine "1152x864"   119.65  1152 1224 1352 1552   864  865  868  907  -hsync +vsync
    #  75Hz x 75.15kHz
    ModeLine "1280x960"   129.86  1280 1368 1504 1728   960  961  964 1002  -hsync +vsync
    #  60Hz x 65.22kHz
#    ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -hsync +vsync
EndSection

Note I've been up all night (again...), and am likely heading to bed soon. If I don't reply quickly, it's because I'm sleeping...

TIA - VERY much.

Last edited by grndrush (2009-04-02 12:55:53)

Offline

#4 2009-04-02 11:49:09

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: [Solved] Keyboard and Mouse unusable after config changes

Also, I also had recreating xorg.conf as a possible option, but neglected to mention it earlier.

Offline

#5 2009-04-02 12:24:09

Mr.Cat
Member
Registered: 2008-09-27
Posts: 79

Re: [Solved] Keyboard and Mouse unusable after config changes

First, try removing Option "AllowEmptyInput" "false". In my case that was the issue iirc. Also make sure, that Option "AutoAddDevices" "false" is also removed. Both these options can break hotplugging. Also make sure, you've installed xf86-input-evdev; and hal and dbus daemons are in your rc.conf.

Also, you should refer to wiki (you may start with an appropriate section of Beginner's guide or http://wiki.archlinux.org/index.php/Xorg). Now it includes some info on how to configure mouce and keyboard with hotplugging turned on.

Offline

#6 2009-04-02 12:58:18

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: [Solved] Keyboard and Mouse unusable after config changes

Those were suspects to me, also; you can see I fiddled with one in the second conf. Thanks for the direction. Trying now. I'll report back ASAP.

Offline

#7 2009-04-02 13:18:36

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: [Solved] Keyboard and Mouse unusable after config changes

Bingo! Mouse and keyboard are both working beautifully. You saved me a LOT of work. Hope I can return the favour someday.

Blue Skies!

Offline

Board footer

Powered by FluxBB