LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 06-06-2009, 07:16 AM   #1
ANO1453
Member
 
Registered: Dec 2008
Location: Portugal
Distribution: Kubuntu 8.04.2
Posts: 50
Thanked: 3
Keyboard and USB mouse not working at login screen


[Log in to get rid of this advertisement]
Hi,
I'm on a LG E500-VAP36P, with 3gb RAM, 250 Gb SATA HDD (Kubuntu Hardy kernel 2.6.27-9-generic), and my keyboard and my usb mouse don't work at the login screen. My touchpad works and my keyboard works in command-line session.

What can I do to solve this problem?

This is my xorg.conf. I also attach a relevant part of my syslog.
Quote:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "ATI Mobility Radeon HD2600"
Driver "radeon"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Synaptics Touchpad"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "DontZap" "false"
EndSection
Attached Files
File Type: txt syslog.txt (60.4 KB, 1 views)
ANO1453 is offline  
Tag This Post ,
Reply With Quote
Old 06-06-2009, 11:51 AM   #2
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Debian GNU/Linux, Xfce+Compiz
Posts: 285
Thanked: 21
Did you try to remove the "ServerLayout" and "InputDevice" sections from your Xorg.conf? Xorg should automatically detect and use such devices.
TITiAN is offline     Reply With Quote
Old 06-06-2009, 01:24 PM   #3
ANO1453
Member
 
Registered: Dec 2008
Location: Portugal
Distribution: Kubuntu 8.04.2
Posts: 50
Thanked: 3

Original Poster
If I remove that part I lose my touchpad as well.
Could it be a missing module?


Trying this I also notice that my NumLock light doesn't toggle when I press NumLock key - not sure if this was helpful

Last edited by ANO1453; 06-06-2009 at 01:46 PM.. Reason: More info
ANO1453 is offline     Reply With Quote
Old 06-06-2009, 02:08 PM   #4
ANO1453
Member
 
Registered: Dec 2008
Location: Portugal
Distribution: Kubuntu 8.04.2
Posts: 50
Thanked: 3

Original Poster
I guess I found an important part of the problem. Checking some logs I found this on Xorg.0.log:

Quote:
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x3bc0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7
It disables my mouse and keyboard! Why? How can I change this?
ANO1453 is offline  
Tag This Post , ,
Reply With Quote
Old 06-06-2009, 02:23 PM   #5
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Debian GNU/Linux, Xfce+Compiz
Posts: 285
Thanked: 21
I just did a google search for "xorg AllowEmptyInput" and found on the Ubuntu forum that enabling the "evdev" module might solve this. It seems there is something wrong with HAL so Xorg needs its own drivers, but I'm not sure.
TITiAN is offline     Reply With Quote
Thanked by:
Old 06-06-2009, 03:42 PM   #6
ANO1453
Member
 
Registered: Dec 2008
Location: Portugal
Distribution: Kubuntu 8.04.2
Posts: 50
Thanked: 3

Original Poster
I added
Quote:
Option "AllowEmptyInput""no"
to the ServerLayout section of my xorg.conf.

The keyboard now works, but when I logged in I got this message:
Quote:
The following installation problem was detected while trying to start KDE:
No write access to '/home/namex/.ICEauthority'
KDE is unable to boot.
followed by another message:
Quote:
Could not start kmserver. Check your installation.
ANO1453 is offline     Reply With Quote
Old 06-06-2009, 03:52 PM   #7
ANO1453
Member
 
Registered: Dec 2008
Location: Portugal
Distribution: Kubuntu 8.04.2
Posts: 50
Thanked: 3

Original Poster
Solved:

Found a solution here.
ANO1453 is offline     Reply With Quote
Old 06-06-2009, 05:50 PM   #8
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Debian GNU/Linux, Xfce+Compiz
Posts: 285
Thanked: 21
And what about your mouse?
If it doesn't work, did you try the "evdev" module?
TITiAN is offline     Reply With Quote
Old 06-07-2009, 06:04 AM   #9
ANO1453
Member
 
Registered: Dec 2008
Location: Portugal
Distribution: Kubuntu 8.04.2
Posts: 50
Thanked: 3

Original Poster
The "AllowEmptyInput" made xorg to disable my mouse and my keyboard. With this disabled, both work.
Now I have a dependencies problem to fix, nothing to do with this, however, just the remnants of a failed upgrade.
ANO1453 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
USB mouse and keyboard not working after ubuntu 8.10 upgrade philosophia Linux - Newbie 11 02-24-2009 11:33 PM
Keyboard & Mouse Not Working At Login With Linux-Mandrake 6.5 Rafiki Linux - Software 7 06-04-2005 11:07 PM
USB keyboard, mouse, ethernet stop working after reinstall of FC2 lagger Fedora 0 06-14-2004 08:36 AM
Bug? USB Keyboard and Mouse Stop Working KingofBLASH Slackware 3 04-09-2004 01:04 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 10:43 AM


All times are GMT -5. The time now is 08:39 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration