Keyboard freezes after login, then works fine after logout
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distro: Mandriva 2008 installed, but issue happens with any Linux that I've tried.
Issue: Keyboard non-responsive after login, and returns to function after logout. Sometimes mouse too, but usually not. Tried multiple USB & PS/2 keyboards, and multiple mice.
Story: Had Mandriva 2008 installed for the past two years. Tried another distro, but the keyboard wouldn't work for some reason. Tried Mandriva 2009, and that didn't work either. But Mandriva 2008 continued to work fine, so I just lived with it. Tried various other distros along the way as they were released, and all failed, but the installed Mandriva 2008 was still ok.
Then about 10 days ago, the keyboard suddenly wouldn't work on the existing Mandriva 2008 installation. I can log in (via keyboard), but once the desktop starts, it's frozen. Lights that were lit stay lit. When I log out (via mouse) the keyboard returns to normal operation I can log in via command line "safe mode" and the keyboard continues to work, but then I haven't a desktop.
I've tried many other major distros. Live CDs have the keyboard frozen at the desktop session. Install CDs can't even select the Language for the installation process. Just tried the newest Ubuntu, Kubuntu, and Xubuntu, all with similar results, so it's not desktop specific. Tried multiple USB & PS/2 keyboards. No changes to any of the existing hardware since it came out of the box.
What's maddening is the fact that the keyboard does work for logging in, then doesn't work in the session, then works again when I logout. It was working fine, and then one day it didn't (yes, as usual with computer issues).
and also tell it to use Keybaord0
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB_MOUSE" "CorePointer"
Yes, I've tried three USB keyboard via multiple USB ports. I've tried two PS/2 keyboards on the only keyboard port.
Whatever kernel modules load with Mandriva 2008, Mandriva 2009, Ubuntu 9.4/9.10, Kubuntu 9.4/9.10, Xubuntu 9.4/9.10, OpenSUSE 11.1, Fedora 11, Linux Mint 7, PCLinuxOS 2009.2, Debian 5.0.2a, Damn Small Linux, and Puppy Linux, because they all exhibit the same behavior.
Am I correct in assuming that xorg.conf isn't used until after login, because X hasn't loaded despite what the GUI login screen may present?
In my xorg.conf for the installed Mandriva 2008...
It strikes me you are not making any obvious mistakes. You are doing things right and trying the obvious. But it also seems to happen that X adds drivers which prevent input from your keyboard. I would put a comment in front of the line
# Driver "kbd"
and try starting X once, as things can't get worse.
You should have one of ohci_hcd or uhci_hcd, as well as ehci_hcd for usb.I would check on the southbridge. Is the correct driver getting loaded? Sometimes, the stock kernel will load generic southbridge drivers, and these don't work well. You may need specific ones loaded. A place you would see this is disk speed. Try
hdparm -tT /dev/sda
and look for the buffered disk reads.Expect 50Megs/S. If you have that, you're probably ok on drivers.