Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using evdev
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 05 Nov 2005
Posts: 5

PostPosted: Sun Nov 06, 2005 1:39 pm    Post subject: using evdev Reply with quote

Hi,
I'm very new to linux.
According to an howto, i should use the evdev driver to get my mouse working correctly.
But I'm not able to install it.
I add evdev to the kernel as an modul.
I added this modul to /etc/modules.autoload.d/kernel-2.6
But when I configure X to use this driver, it says, it can't find the evdev driver.
What must I do to this driver to work?

"lsmod | grep evdev" says "evdev 7232 0", so it should be installed corrently...
Back to top
View user's profile Send private message
nbargnesi
n00b
n00b


Joined: 27 Jun 2005
Posts: 18

PostPosted: Sun Nov 06, 2005 2:26 pm    Post subject: evdev / xorg Reply with quote

Quote:

Hi,
I'm very new to linux.
According to an howto, i should use the evdev driver to get my mouse working correctly.
But I'm not able to install it.
I add evdev to the kernel as an modul.
I added this modul to /etc/modules.autoload.d/kernel-2.6
But when I configure X to use this driver, it says, it can't find the evdev driver.
What must I do to this driver to work?

"lsmod | grep evdev" says "evdev 7232 0", so it should be installed corrently...


I was having similar issues here. Turns out, evdev support was broken in xorg-x11-6.8.99-r4 which I was running for some memory fixes against compositing with xcompmgr and x86_64 arches. Reverted back to the stable xorg-x11-6.8.2 tree version r6 and evdev works like a champ. I've got a Logitech G5 mouse, using all the buttons, and the tilt wheel.
Here's the relevant part of my Xorg.conf config, fyi evdev is built into my kernel, not modularized:

Code:

Section "InputDevice"
   Identifier   "G5"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Protocol"         "evdev"
   Option      "Dev Name"         "Logitech USB Gaming Mouse"
   Option      "Dev Phys"         "usb-0000:00:10.0-2/input0"
   #Option      "Device"         "/dev/input/mice"
   Option      "Buttons"         "8"
   Option      "ZAxisMapping"      "4 5 7 6"
   Option      "Resolution"      "900"
   Option      "Emulate3Buttons"   "false"
EndSection



HTH.
_________________
"The bazaar software model doesn't work so well with everyone taking and not contributing back." - Fyodor
Den 4 F/OSS Developer
http://www.den-4.com
Back to top
View user's profile Send private message
wiloo
n00b
n00b


Joined: 12 Oct 2005
Posts: 26

PostPosted: Sun Nov 06, 2005 7:05 pm    Post subject: Reply with quote

Hi,
i've got a problem with evdev too.
gentoo-sources 2.6.13-4, xorg 6.8.2-r4

I've got this error message :
Code:
    * (**) Option "Protocol" "evdev"
    * (**) Logitech MX500: Protocol: evdev
    * (**) Option "SendCoreEvents"
    * (**) Logitech MX500: always reports core events
    * (==) Logitech MX500: Emulate3Buttons, Emulate3Timeout: 50
    * (==) Logitech MX500: Buttons: 3
    * (II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
    * (II) XINPUT: Adding extended input device "Logitech MX500" (type: MOUSE)
    * (II) XINPUT: Adding extended input device "Trackpoint" (type: MOUSE)
    * (II) XINPUT: Adding extended input device "Touchpad" (type: MOUSE)
    * (II) XINPUT: Adding extended input device "Keyboard" (type: KEYBOARD)
    * Synaptics DeviceInit called
    * SynapticsCtrl called.
    * (**) Option "Dev Name" "USB-PS/2 Optical Mouse"
    * (**) Option "Dev Phys" "usb-0000:00:1d.1-1/input0"
    * (EE) Logitech MX500: cannot open input device


cat /proc/bus/input/devices tells me :
Code:
    * I: Bus=0003 Vendor=046d Product=c025 Version=9802
    * N: Name="B16_b_02 USB-PS/2 Optical Mouse"
    * P: Phys=usb-0000:00:1d.1-1/input0
    * H: Handlers=mouse1 event2
    * B: EV=7
    * B: KEY=ff0000 0 0 0 0 0 0 0 0
    * B: REL=103


That's my xorg.conf file :
Code:
    * Section "InputDevice"
    *     Identifier                  "Logitech MX500"
    *     Driver "mouse"
    *     Option "Protocol"           "evdev"
    *     Option "Device"             "/dev/input/mx500"
    *     Option "SendCoreEvents"
    *     Option "Dev Name"           "USB-PS/2 Optical Mouse"
    *     Option "Dev Phys"           "usb-0000:00:1d.1-1/input0"
    * EndSection

Code:
    * Section "ServerLayout"
    *     Identifier  "Server Layout"
    *     Screen "Screen0"
    *     InputDevice "Keyboard" "CoreKeyboard"
    *     InputDevice "Touchpad" "CorePointer"
    *     InputDevice "Trackpoint" "CorePointer"
    *     InputDevice "Logitech MX500" "SendCoreEvents"
    * EndSection


/dev/input/mx500 was created by udev to find my mouse at the same place when i connect it (it's a laptop thinkpad).
evdev is built in the kernel.

any idea ? :/
Back to top
View user's profile Send private message
nbargnesi
n00b
n00b


Joined: 27 Jun 2005
Posts: 18

PostPosted: Sun Nov 06, 2005 8:08 pm    Post subject: Re MX500 Reply with quote

Quote:

Post Posted: Sun Nov 06, 2005 2:05 pm Post subject:
Hi,
i've got a problem with evdev too.
gentoo-sources 2.6.13-4, xorg 6.8.2-r4

I've got this error message :
Code:
* (**) Option "Protocol" "evdev"
* (**) Logitech MX500: Protocol: evdev
* (**) Option "SendCoreEvents"
* (**) Logitech MX500: always reports core events
* (==) Logitech MX500: Emulate3Buttons, Emulate3Timeout: 50
* (==) Logitech MX500: Buttons: 3
* (II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
* (II) XINPUT: Adding extended input device "Logitech MX500" (type: MOUSE)
* (II) XINPUT: Adding extended input device "Trackpoint" (type: MOUSE)
* (II) XINPUT: Adding extended input device "Touchpad" (type: MOUSE)
* (II) XINPUT: Adding extended input device "Keyboard" (type: KEYBOARD)
* Synaptics DeviceInit called
* SynapticsCtrl called.
* (**) Option "Dev Name" "USB-PS/2 Optical Mouse"
* (**) Option "Dev Phys" "usb-0000:00:1d.1-1/input0"
* (EE) Logitech MX500: cannot open input device


cat /proc/bus/input/devices tells me :
Code:
* I: Bus=0003 Vendor=046d Product=c025 Version=9802
* N: Name="B16_b_02 USB-PS/2 Optical Mouse"
* P: Phys=usb-0000:00:1d.1-1/input0
* H: Handlers=mouse1 event2
* B: EV=7
* B: KEY=ff0000 0 0 0 0 0 0 0 0
* B: REL=103


That's my xorg.conf file :
Code:
* Section "InputDevice"
* Identifier "Logitech MX500"
* Driver "mouse"
* Option "Protocol" "evdev"
* Option "Device" "/dev/input/mx500"
* Option "SendCoreEvents"
* Option "Dev Name" "USB-PS/2 Optical Mouse"
* Option "Dev Phys" "usb-0000:00:1d.1-1/input0"
* EndSection

Code:
* Section "ServerLayout"
* Identifier "Server Layout"
* Screen "Screen0"
* InputDevice "Keyboard" "CoreKeyboard"
* InputDevice "Touchpad" "CorePointer"
* InputDevice "Trackpoint" "CorePointer"
* InputDevice "Logitech MX500" "SendCoreEvents"
* EndSection


/dev/input/mx500 was created by udev to find my mouse at the same place when i connect it (it's a laptop thinkpad).
evdev is built in the kernel.

any idea ? :/


Well, my devices under /proc is showing:

Code:

I: Bus=0003 Vendor=046d Product=c041 Version=4600
N: Name="Logitech USB Gaming Mouse"
P: Phys=usb-0000:00:10.0-2/input0
H: Handlers=mouse0 event1
B: EV=7
B: KEY=ffff0000 0 0 0 0
B: REL=143


So you might want to try matching the Option "Dev Name" portion of the InputDevice section in xorg.conf to the exact
Code:
B16_b_02 USB-PS/2 Optical Mouse

string. If that doesn't work, try figuring out which device udev is symlinking to, maybe you could try /dev/input/eventX where X is the device number instead.

Of course, I might have missed the obvious too, try ensuring the permissions are setup correctly on /dev/input/mx500 - probably the same as /dev/input/eventX except for the symlink portion.

HTH.
_________________
"The bazaar software model doesn't work so well with everyone taking and not contributing back." - Fyodor
Den 4 F/OSS Developer
http://www.den-4.com
Back to top
View user's profile Send private message
wiloo
n00b
n00b


Joined: 12 Oct 2005
Posts: 26

PostPosted: Mon Nov 07, 2005 8:11 pm    Post subject: Reply with quote

I have tried all what you said (replace Dev Name by the entire string, and check the permissions of the symlink, even use the /dev/input/eventX instead of the udev link) and i've got the the same result :(.
Back to top
View user's profile Send private message
nbargnesi
n00b
n00b


Joined: 27 Jun 2005
Posts: 18

PostPosted: Mon Nov 07, 2005 8:19 pm    Post subject: X version? Reply with quote

Quote:

I have tried all what you said (replace Dev Name by the entire string, and check the permissions of the symlink, even use the /dev/input/eventX instead of the udev link) and i've got the the same result :(.


Which version of xorg-x11 are you using?

Code:

emerge -s xorg-x11

_________________
"The bazaar software model doesn't work so well with everyone taking and not contributing back." - Fyodor
Den 4 F/OSS Developer
http://www.den-4.com
Back to top
View user's profile Send private message
wiloo
n00b
n00b


Joined: 12 Oct 2005
Posts: 26

PostPosted: Mon Nov 07, 2005 9:21 pm    Post subject: Reply with quote

Quote:
gentoo-sources 2.6.13-4, xorg 6.8.2-r4
Back to top
View user's profile Send private message
computx
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2002
Posts: 109
Location: northeast missouri

PostPosted: Mon Nov 07, 2005 9:48 pm    Post subject: Reply with quote

On my alps touchpad evdev wouldn't work until I removed this.
[*] Provide legacy /dev/psaux device
Back to top
View user's profile Send private message
Shedoks
n00b
n00b


Joined: 03 Oct 2005
Posts: 60
Location: Serbia

PostPosted: Mon Nov 07, 2005 10:11 pm    Post subject: Reply with quote

I have laptop too. My evdev works fine but a touchpad don't.

What i have to do in my xorg conf to make it work.

@All other.
I'm not sure but i thing that evdev have to be compiled in2 kernel not modulised. :)

Thx
Back to top
View user's profile Send private message
wiloo
n00b
n00b


Joined: 12 Oct 2005
Posts: 26

PostPosted: Mon Nov 07, 2005 11:01 pm    Post subject: Reply with quote

computx : You're right ! I have recompiled without this option and the mouse works perfectly !
Thank you very much :D

Shedoks : with my laptop, the touchpad works well with "evdev" :/
Back to top
View user's profile Send private message
Shedoks
n00b
n00b


Joined: 03 Oct 2005
Posts: 60
Location: Serbia

PostPosted: Tue Nov 08, 2005 11:03 am    Post subject: Reply with quote

I'm using logitech mx700 and it works fine.

What i have to put in2 xorg to make touchapd work coz i don't have enything there 4 it.

thx
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