Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard and mouse no longer working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon May 02, 2011 4:39 pm    Post subject: Keyboard and mouse no longer working Reply with quote

Today I updated my ~amd64 system.
Now my keyboard and mouse are no longer working in X (or, more precisely: kdm).

First thing I tried: alt+sysrq+r, switch to VT1, emerge -1 xf86-input-evdev
Rebooted computer, no dice.

The update process also updated my zen kernel to a new version. Tried booting my previous kernel. No dice.

Udev was also updated. Tried going back to the previous version & rebooting, no dice (tried both with new and previous kernel).

Now I'm out of ideas. Am I missing something here?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44159
Location: 56N 3W

PostPosted: Mon May 02, 2011 6:00 pm    Post subject: Reply with quote

Aquous,

I suspect you got an Xorg update which may have changed the ABI for all the drivers.
Look in /var/log/Xorg.0.log if I'm right, you will see errors about ABI mismatches.

The fix is to rebuild all your Xorg drivers against your new Xorg. Your
Code:
emerge -1 xf86-input-evdev
will have covered the input devices, enough to get you going anyway.

Check the log for errors or post it with wgetpaste.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon May 02, 2011 6:30 pm    Post subject: Re: Keyboard and mouse no longer working Reply with quote

Aquous wrote:
First thing I tried: alt+sysrq+r, switch to VT1, emerge -1 xf86-input-evdev
Rebooted computer, no dice.

/var/log/Xorg.0.log shows no errors, though I can post it if you'd like me to.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44159
Location: 56N 3W

PostPosted: Mon May 02, 2011 7:37 pm    Post subject: Reply with quote

Aquous,

It looks like a KDE or kdm issue then and I'm a Gnome user.
Post the log if you want me to check it over though and you might want to start a new thread after its confirmed that Xorg is in the clear.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon May 02, 2011 8:39 pm    Post subject: Reply with quote

I've re-emerged kdm and the problem persists.
I've uploaded my Xorg.0.log to http://pastebin.com/BTvbtqSt

Do you know of any other component than the kernel, udev, X, or kdm that could cause the problem?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44159
Location: 56N 3W

PostPosted: Mon May 02, 2011 9:14 pm    Post subject: Reply with quote

Aquous,

Your log shows
Code:
[   127.841] (==) Using config file: "/etc/X11/xorg.conf"
but there are no signs of udev or hal autodetecting your devices. Xorg should be build with USE="udev" now.

Its probably ok as the log says
Code:
[   127.842] (==) Automatically adding devices
[   127.842] (==) Automatically enabling devices
but none were found.

Check your xorg USE flag settings and if they look OK, rename your xorg.conf so its not found and allow Xorg to autodetect everything.

Do you have /dev/input/eventX where X is a series of numbers ?
If not, evdev is missing or not loaded in your kernel.

Your log is missing
Code:
[   164.882] (II) LoadModule: "evdev"
and all the lines associated with identifying the eventX devices.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Tue May 03, 2011 6:30 am    Post subject: Reply with quote

Still no go :(

My xorg-server has been built with USE=udev. I've tried deleting xorg.conf, but no change. I do have /dev/input/event[0-4], /dev/input/mice, and /dev/input/mouse0. CONFIG_INPUT_UDEV=y in my .config.

I did just notice that my kdm.log is full of these:
Code:
klauncher(3022) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(3016)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server"

which is the same problem as https://forums.gentoo.org/viewtopic-t-876123.html => https://bugs.gentoo.org/show_bug.cgi?id=365637 (however bugs.gentoo.org is down at the moment so I can't check whether that bug report is related to my problem). So that may point to kdm - however there still is the missing evdev stuff in Xorg.0.log...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44159
Location: 56N 3W

PostPosted: Tue May 03, 2011 8:01 pm    Post subject: Reply with quote

Aquous,

Post your Xorg.0.log after you start xorg with no xorg.conf.
Your emerge --info output would also be good
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Tue May 03, 2011 9:05 pm    Post subject: Reply with quote

Xorg.0.log: http://pastebin.com/9N2kt007
emerge --info: http://pastebin.com/JdL1n3hb
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Tue May 03, 2011 11:24 pm    Post subject: Reply with quote

What does 'udevadm info -q all' print about those input devices ?
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Wed May 04, 2011 7:01 am    Post subject: Reply with quote

I've solved it! Thanks to this post: https://forums.gentoo.org/viewtopic-p-6673933.html#6673933
I deleted /run which I had created to appease udev (and then totally forgotten about :oops: :oops: :oops: ) and my keyboard and mouse worked again! :D

FTR:
udevadm info -q all complained "udevadm: invalid option -- 'q'"
I've tried to figure out the syntax on my own and came up with: udevadm info --query=all --name=input/mouse0
Code:
P: /devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/input/input4/mouse0
N: input/mouse0
S: input/by-id/usb-Logitech_USB-PS_2_Optical_Mouse-mouse
S: input/by-path/pci-0000:00:1a.2-usb-0:2:1.0-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/input/input4/mouse0
E: MAJOR=13
E: MINOR=32
E: DEVNAME=/dev/input/mouse0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_VENDOR=Logitech
E: ID_VENDOR_ENC=Logitech
E: ID_VENDOR_ID=046d
E: ID_MODEL=USB-PS_2_Optical_Mouse
E: ID_MODEL_ENC=USB-PS\x2f2\x20Optical\x20Mouse
E: ID_MODEL_ID=c03e
E: ID_REVISION=2000
E: ID_SERIAL=Logitech_USB-PS_2_Optical_Mouse
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030102:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:00:1a.2-usb-0:2:1.0
E: DEVLINKS=/dev/input/by-id/usb-Logitech_USB-PS_2_Optical_Mouse-mouse /dev/input/by-path/pci-0000:00:1a.2-usb-0:2:1.0-mouse


Thanks to both (and billydv, of course) for the help! :D
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Mon May 09, 2011 10:07 pm    Post subject: Reply with quote

I have this exact problem (or at least one looking just like it) on one box:

event devices are present (and responsive - I can check input over an ssh connection) but X still won't add devices though. No /etc/X11/xorg.conf to disturb the server. No /run directory, actually this thread is the first I ever read about this...
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum