Bugzilla – Bug 12655
evdev mouse error: Cannot open input pEvdev
Last modified: 2008-04-07 17:19:33 UTC
The xf86-input-evdev driver version 1.2.0 (from git, no source package available) does not work with xorg server 1.4. The log file shows:
(**) Mouse0: Buttons: 9
(**) Mouse0: Sensitivity: 1
(**) Option "SendCoreEvents"
(**) Logitech_VX: always reports core events
(EE) Logitech_VX: cannot open input pEvdev
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for "Logitech_VX"
(**) Option "CoreKeyboard"
The error message comes evidently from evdev.c but I don't understand what is wrong. The mouse is configured as
Option "Name" "Logitech USB Receiver"
Option "Phys" "usb-*/input0"
Option "HWHEELRelativeAxisButtons" "7 6"
This mouse configuration used to work for X11R7.2 (xf86-input-evdev 1.1.2) so it seems like the latest server and driver introduced some incompatibility.
User (and documentation) error.
Quite simply, you need a completely different X config for xf86-input-evdev 1.2.x.
For hotplugging, you need to use the server's hotplug stuff.
We should however fix the documentation.
When will the documentation be fixed? Users are getting frustrated, reporting bugs about it all the time...
(In reply to comment #2)
> When will the documentation be fixed? Users are getting frustrated, reporting
> bugs about it all the time...
Timo: Please feel free to send patches to update the man pages and other documentation.
IIRC, the problem is simply that only option "Device" is upported, not "Name" and/or "Phys".
not sure about the hweel... option though.
*** Bug 6985 has been marked as a duplicate of this bug. ***
Created attachment 14459 [details]
Updated documentation for xf86-input-evdev>=1.2.0
Please review attached updated man page, which reflects the current state of the driver. Not all options are well documented, but at least they are mentioned and invalid stuff was removed.
If you are happy with it, I'll commit it upstream.
Mass reopen. The "REMIND" resolution is lame, I'm deleting it. Consider yourself reminded.
(In reply to comment #5)
> Please review attached updated man page, which reflects the current state of
> the driver. Not all options are well documented, but at least they are
> mentioned and invalid stuff was removed.
can you please upload a diff? this way it's a bit hard to figure out what changed.
but from looking at it it looks good. does the Path option still work?
Created attachment 14643 [details] [review]
diff evdev.man.old evdev.man
Attached the diff that updates the man page to reflect current state of source code.
By looking at the source code, the Path option is still supported and the Device option is used as a fallback.
(In reply to comment #8)
> Created an attachment (id=14643) [details]
> diff evdev.man.old evdev.man
(In reply to comment #9)
> (In reply to comment #8)
> > Created an attachment (id=14643) [details] [details]
> > diff evdev.man.old evdev.man
Pushed. Feel free to close this bug.