Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-server-1.12, udev-182 and evdev - no mouse and keyboard
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vladms
n00b
n00b


Joined: 26 Jul 2005
Posts: 54
Location: Romanian in Delft, Netherlands

PostPosted: Sun Jun 10, 2012 7:52 pm    Post subject: xorg-server-1.12, udev-182 and evdev - no mouse and keyboard Reply with quote

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
View user's profile Send private message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Sun Jun 10, 2012 9:06 pm    Post subject: Reply with quote

You re-emerged xf86-input-evdev?
_________________
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2149
Location: Berlin, Germany

PostPosted: Sun Jun 10, 2012 11:03 pm    Post subject: Reply with quote

To me it looks like there is some problem with udev. Is udev started and TMPFS enabled in your kernel?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Jun 11, 2012 12:22 am    Post subject: Reply with quote

vladms,

I usually do
Code:
emerge -av1 $(qlist -I -C x11-drivers)
and that fixes it for me.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
vladms
n00b
n00b


Joined: 26 Jul 2005
Posts: 54
Location: Romanian in Delft, Netherlands

PostPosted: Mon Jun 11, 2012 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2149
Location: Berlin, Germany

PostPosted: Mon Jun 11, 2012 8:07 am    Post subject: Reply with quote

Re-emerging will only help against ABI mismatch errors, which is not the case here.
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Mon Jun 11, 2012 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Mon Jun 11, 2012 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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