Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Keyboard and mouse no longer working

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

Keyboard and mouse no longer working

  • Quote

Post by Aquous » Mon May 02, 2011 4:39 pm

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?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56081
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon May 02, 2011 6:00 pm

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: Select all

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.
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

Re: Keyboard and mouse no longer working

  • Quote

Post by Aquous » Mon May 02, 2011 6:30 pm

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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56081
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon May 02, 2011 7:37 pm

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.
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Mon May 02, 2011 8:39 pm

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?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56081
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon May 02, 2011 9:14 pm

Aquous,

Your log shows

Code: Select all

[   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: Select all

[   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: Select all

[   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.
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Tue May 03, 2011 6:30 am

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: Select all

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 http://forums.gentoo.org/viewtopic-t-876123.html => http://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...
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56081
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue May 03, 2011 8:01 pm

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.
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Tue May 03, 2011 9:05 pm

Xorg.0.log: http://pastebin.com/9N2kt007
emerge --info: http://pastebin.com/JdL1n3hb
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Tue May 03, 2011 11:24 pm

What does 'udevadm info -q all' print about those input devices ?
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Wed May 04, 2011 7:01 am

I've solved it! Thanks to this post: http://forums.gentoo.org/viewtopic-p-66 ... ml#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: Select all

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
Top
red-wolf76
l33t
l33t
User avatar
Posts: 714
Joined: Wed Apr 13, 2005 6:20 pm
Location: Rhein-Main Area

  • Quote

Post by red-wolf76 » Mon May 09, 2011 10:07 pm

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!
Top
Post Reply

12 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic