LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Keyboard and USB mouse not working at login screen (http://www.linuxquestions.org/questions/ubuntu-63/keyboard-and-usb-mouse-not-working-at-login-screen-731098/)

ANO1453 06-06-2009 06:16 AM

Keyboard and USB mouse not working at login screen
 
1 Attachment(s)
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

TITiAN 06-06-2009 10:51 AM

Did you try to remove the "ServerLayout" and "InputDevice" sections from your Xorg.conf? Xorg should automatically detect and use such devices.

ANO1453 06-06-2009 12:24 PM

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

ANO1453 06-06-2009 01:08 PM

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?

TITiAN 06-06-2009 01:23 PM

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.

ANO1453 06-06-2009 02:42 PM

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 06-06-2009 02:52 PM

Solved:

Found a solution here.

TITiAN 06-06-2009 04:50 PM

And what about your mouse?
If it doesn't work, did you try the "evdev" module?

ANO1453 06-07-2009 05:04 AM

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.


All times are GMT -5. The time now is 10:50 PM.