LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-31-2009, 09:24 AM   #1
GCZFFL
LQ Newbie
 
Registered: Jun 2005
Location: Minneapolis, MN
Posts: 9

Rep: Reputation: 0
Keyboard freezes after login, then works fine after logout


PC: Intel Pentium Dual-Core 64-bit, 4 GB RAM, SATA 500 GB, Acer Aspire (AM3641-ED2200A)

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).

Any ideas?

Many thanks!

Joe
 
Old 10-31-2009, 01:56 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,142

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Have you a usb or ps2 keyboard? What kernel modules load? Have you tried swapping the keyboard?
When you start X, X (should) load its own driver; In xorg.conf
Section "InputDevice"

Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

and also tell it to use Keybaord0
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB_MOUSE" "CorePointer"
InputDevice "Touchpad"

EndSection
 
Old 11-01-2009, 11:24 AM   #3
GCZFFL
LQ Newbie
 
Registered: Jun 2005
Location: Minneapolis, MN
Posts: 9

Original Poster
Rep: Reputation: 0
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...

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "Compose:rwin"
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
EndSection

Thanks!

Joe
 
Old 11-02-2009, 03:58 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,142

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Su to root works fine @ console, fails in x (cant login at all when using xdm) lionsong Slackware 5 09-06-2009 06:22 PM
Camera freezes when hooked to Kubuntu 7.10, works fine in 7.04 Mountain Man Ubuntu 4 11-06-2007 09:10 PM
USB mouse freezes under 2.6.x / Synaptics works fine PolarDog Linux - Laptop and Netbook 0 08-26-2005 09:41 AM
Mouse pointer freezes, keyboard still works MikeZila Slackware 2 10-03-2004 10:50 AM
ftp says login incorrect - anonymous access works fine?!? wwwgeek Linux - Newbie 2 09-15-2001 12:46 PM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration