| View previous topic :: View next topic |
| Author |
Message |
vladms n00b

Joined: 26 Jul 2005 Posts: 54 Location: Romanian in Delft, Netherlands
|
Posted: Sun Jun 10, 2012 7:52 pm Post subject: xorg-server-1.12, udev-182 and evdev - no mouse and keyboard |
|
|
I recently upgraded to xorg-server-1.12. I did not touch xorg.conf but the keyboard and mouse completely stopped working. After some digging I found a configuration that works:
| Code: |
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Device" "/dev/input/event5"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/event4"
EndSection
|
Of course this works only for the touchpad and laptop integrated, and not if I connect another mouse.
I have tried the following
- using InputClass as described in xorg.conf man page
| Code: |
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
|
re-emerge udev
use the xorg configure options - this created the deprecated mouse and kbd driver, which in the Xorg.log was mentioned they are disabled at load, so I do not think this is the path to follow.
The X.org login this case is: http://pastebin.com/Lr7PUTth
The packages versions are
- xorg-server-1.12
- xf86-input-evdev-2.7.0
- sys-fs/udev-182-r3
the full info can be found here:http://pastebin.com/RBjxGdzf
Now, I know these are ~x86, but I wonder if I am doing something wrong, and more importantly how I can investigate more. Is it xorg's fault? evdev? udev? Something else? _________________ Vlad-Mihai Sima |
|
| Back to top |
|
 |
nabla² Apprentice


Joined: 17 May 2005 Posts: 280
|
Posted: Sun Jun 10, 2012 9:06 pm Post subject: |
|
|
You re-emerged xf86-input-evdev? _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
| Back to top |
|
 |
chithanh Developer


Joined: 05 Aug 2006 Posts: 2149 Location: Berlin, Germany
|
Posted: Sun Jun 10, 2012 11:03 pm Post subject: |
|
|
| To me it looks like there is some problem with udev. Is udev started and TMPFS enabled in your kernel? |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Mon Jun 11, 2012 12:22 am Post subject: |
|
|
vladms,
I usually do | Code: | | emerge -av1 $(qlist -I -C x11-drivers) | and that fixes it for me. _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
vladms n00b

Joined: 26 Jul 2005 Posts: 54 Location: Romanian in Delft, Netherlands
|
Posted: Mon Jun 11, 2012 7:24 am Post subject: |
|
|
I did re-emerged xorg-drivers drivers and xf86-input-evdev.
This did not help.
How can you determine what is going wrong? Do you know more debug/log options ? Or when something should happen and it doesn't ? The log that fails just says:
| Code: |
[ 2497.923] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 2497.923] (II) Module evdev: vendor="X.Org Foundation"
[ 2497.923] compiled for 1.12.2, module version = 2.7.0
[ 2497.923] Module class: X.Org XInput Driver
[ 2497.923] ABI class: X.Org XInput driver, version 16.0
[ 2497.923] (II) LoadModule: "extmod"
|
but there is no other mention of evdev. _________________ Vlad-Mihai Sima |
|
| Back to top |
|
 |
chithanh Developer


Joined: 05 Aug 2006 Posts: 2149 Location: Berlin, Germany
|
Posted: Mon Jun 11, 2012 8:07 am Post subject: |
|
|
| Re-emerging will only help against ABI mismatch errors, which is not the case here. |
|
| Back to top |
|
 |
Rexilion Veteran


Joined: 17 Mar 2009 Posts: 1044
|
Posted: Mon Jun 11, 2012 9:29 am Post subject: |
|
|
What kernel config are you using? Does it contain:
| Quote: | | CONFIG_INPUT_EVDEV=y |
? _________________ fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n" |
|
| Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6193
|
Posted: Mon Jun 11, 2012 9:48 am Post subject: |
|
|
OK, let's start the standard xserver input hotplug debug process (as done in many older threads).
What does 'udevadm info' say about your '/dev/input/event*' nodes ? |
|
| Back to top |
|
 |
|