You are not logged in.

#1 2009-06-26 20:02:27

hunterzaiah
Member
Registered: 2008-11-04
Posts: 2

X doesn't recognize keyboard/mouse input

I've been using Arch linux with kde 4 for a while now (~1 year) without any major problems. I recently rebooted to find that X cannot see my keyboard or mouse, i.e. when I boot up normally the system is unusable. By editing the grub boot command, I can get into single user mode, and I've tried to see any system errors that would give me a hint as to what the problem could be, but I haven't seen anything that looked suspicious to me in /var/log/ .

Where should I begin looking for probelms? Are there any files that I could post here that would help you help me find a solution? What are the most likely candidates for creating this kind of a probelm (misconfigured xorg.conf, hal configuration, ...?)?


Thanks in advance for any help.

Offline

#2 2009-06-26 21:10:31

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: X doesn't recognize keyboard/mouse input

try this as root:

/etc/rd.d/hal restart

and see if there if hal starts properly

Offline

#3 2009-06-27 03:01:25

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: X doesn't recognize keyboard/mouse input


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#4 2009-06-27 05:40:26

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: X doesn't recognize keyboard/mouse input

If you only recently did an update from this past year, you may need to install xf86-input-mouse and xf86-input-keyboard. It happened to me once after a fresh install, but conceivably a possibility after an update? Maybe?

Offline

#5 2009-06-27 12:53:06

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

I am having the exact same problem rebooted this morning and now hal does not work.  I did

/etc/rc.d/hal restart

and it fails yet dbus works great.  I have checked xorg,  Disabled hotplugging,  reinstall hal.  reinstalled xf86-input(mouse and keyboard).

Last edited by nmodlin (2009-06-27 13:21:02)


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#6 2009-06-27 13:20:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: X doesn't recognize keyboard/mouse input

It would be helpful to know how it's failing. Post the output of the message after you try to start hal, as well it may be useful to post the output of:

grep "EE" /var/log/Xorg.0.log

Offline

#7 2009-06-27 13:33:07

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No input driver matching 'kbd'
(EE) Failed to load module "mouse"(module does not exist, 0)
(EE) No input driver matching 'mouse'
(EE) config/hal: couldn't initialise context: (null) ((null))

And when i restart hal it just says fail yet dbus says done 
Thankyou for helping I have to have a working pc to work and i have 4 hours of work to do today and i dont feel like going ot my neighbors to use there's


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#8 2009-06-27 14:31:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: X doesn't recognize keyboard/mouse input

You can install xf86-input-evdev instead of the keyboard and mouse modules, but I don't know if that's going to help without hal running. Does lshal return anything? If so, would you post the output of:

grep -i daemons /etc/rc.conf

Offline

#9 2009-06-27 14:43:43

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

lshal says that it couldnt initialize casue hald is not running or ready

grep -i daemons /etc/rc.conf returned
# DAEMONS
#daemons=(syslog-ng network netfs crond alsa hal fam stbd mpd   (shouldnt ther be a ")" at the end of this well there is on at the ebnd of rc.conf so i guess it doesnt matter


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#10 2009-06-27 14:53:05

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: X doesn't recognize keyboard/mouse input

Looks like your daemons array is commented out. So your daemons array should look like this (remove the # and with closing parenthesis):

daemons=(syslog-ng network netfs crond alsa hal fam stbd mpd)

I have hal second in the list. I doubt that it's important here.

Offline

#11 2009-06-27 15:07:08

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

When looking at rc.conf daemons is not commented out   you can see my rc.conf  http://dpaste.com/60440/


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#12 2009-06-27 15:30:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: X doesn't recognize keyboard/mouse input

The only thing that I can think of is that your need to change daemons to DAEMONS in rc.conf. I really can't see why hal isn't starting, so I'm hoping the reinitializing everything is going to help.

--EDIT--

Am I hallucinating? I thought that it was all lower case like 30 seconds ago...

Offline

#13 2009-06-27 15:32:30

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

I am not sure what is yours upper or lower and thankyou for all the help


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#14 2009-06-27 15:34:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: X doesn't recognize keyboard/mouse input

nmodlin wrote:

I am not sure what is yours upper or lower and thankyou for all the help

It's all upper case.

Offline

#15 2009-06-27 15:36:49

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

ok wlel thanks for the help I have no clue what could cause this or how to fix it It will suck if i have to reinstall that is just way to much work


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#16 2009-06-27 17:12:47

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

SHould i make a new post and hope i get some other help?


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#17 2009-06-27 20:40:38

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: X doesn't recognize keyboard/mouse input

I have a couple of off the wall ideas.

1) Post your lsmod and lshal (if it works?).

2) Post your xorg.conf

3) Post your /var/log/Xorg.0.log

4) Figure out when you last updated, and when the last time before that was (using grep - i upgrade /var/log/pacman.log) and see if there were kernel updates or Xorg or hal updates. Come to think of it, hal did update recently. Also, check any recently installed programs, and see if anyone else is having hal/X problems with it.

5) Just asking, are you using a custom kernel? I'm asking because you have no hardware modules to be loaded in your rc.conf. I don't know if that's relevent to the problem, but if you're using a custom kernel, maybe a stock one would fix the problem?

Just so you know, I've just had a lot of experience trying to solve problems on my own computer with Archlinux, but mostly, all I end up doing is spinning my wheels and trying to get more information until something works or inspiration strikes. So, of everything I just listed, it's possible nothing's useful. More information's just better than less, in my opinion.

Offline

#18 2009-06-27 20:42:51

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: X doesn't recognize keyboard/mouse input

Oh, also, you could try a Xorg -configure as root and then try X -configure /root/xorg.conf, to see if there are any difference in the output messages.

Offline

#19 2009-06-27 20:47:23

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: X doesn't recognize keyboard/mouse input

skottish wrote:

Looks like your daemons array is commented out. So your daemons array should look like this (remove the # and with closing parenthesis):

daemons=(syslog-ng network netfs crond alsa hal fam stbd mpd)

I have hal second in the list. I doubt that it's important here.

In most cases it is important to have hal started as early as possible, e.g. second in the list, because it has to provide a working hardware interface to every program started afterwards. tongue


To know or not to know ...
... the questions remain forever.

Offline

#20 2009-06-27 20:47:59

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

xorg.conf

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"

# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "@@@ LCD_17"
    HorizSync       31.5 - 80.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "@@@ LCD_17"
    HorizSync       31.5 - 80.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600 GT"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9600 GT"
    BusID          "PCI:5:0:0"
    Screen          1
EndSection

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

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "CRT-1: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "CRT-0: nvidia-auto-select +1680+0, CRT-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

lshal

Could not initialiste connection to hald.
Normally this mean the HAL daemon (hald) is not running or not ready
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-ARCH x86_64 
Current Operating System: Linux nathan-gamer 2.6.30-ARCH #1 SMP PREEMPT Fri Jun 19 20:44:03 UTC 2009 x86_64
Build Date: 28 May 2009  08:24:17PM
 
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 27 08:34:00 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(**) Option "AutoAddDevices" "False"
(**) Not automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(II) Loader magic: 0x3540
(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

(--) PCI:*(0@5:0:0) nVidia Corporation G94 [GeForce 9600 GT] rev 161, Mem @ 0xf8000000/16777216, 0xd0000000/268435456, 0xf6000000/33554432, I/O @ 0x0000bf00/128, BIOS @ 0x????????/524288
(--) PCI: (0@8:0:0) Conexant Systems, Inc. unknown chipset (0x8880) rev 15, Mem @ 0xfd800000/2097152
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) "extmod" will be loaded by default.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  185.18.14  Wed May 27 01:53

lsmod = I do not know how to copy and paste this on here.  I do the rest with wgetpaste or i just type it a i am on another computer.


I am using a straight kernel
and I havent really upgraded anything important since before it stopped working and that was like cups and hplip fortune-mod
nothing major at all I just wok eup this morning used the pc for  alil bit for some reason restarted (not sure why just did it) and then boom nothing

Last edited by nmodlin (2009-06-27 20:58:51)


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#21 2009-06-27 22:29:53

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

I reinstalled


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

#22 2009-06-27 23:05:55

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: X doesn't recognize keyboard/mouse input

Working, then?

Offline

#23 2009-06-27 23:49:15

nmodlin
Member
From: Outer Banks North Carolina USA
Registered: 2009-04-15
Posts: 97

Re: X doesn't recognize keyboard/mouse input

Well It Will Be If The Installer Would Ever Not Get An Error On The Mkswap  ( i am a retard wasnt running installer form root)  LOL lol

Last edited by nmodlin (2009-06-27 23:56:49)


And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.

Offline

Board footer

Powered by FluxBB