Summary: | xf86-input-evdev-2.7.1: Kensington USB Trackball hotplug stopped working with evdev "Couldn't open mtdev device" | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Leho Kraav (:macmaN :lkraav) <leho> | ||||
Component: | Input/evdev | Assignee: | Peter Hutterer <peter.hutterer> | ||||
Status: | RESOLVED NOTOURBUG | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | peter.hutterer | ||||
Version: | 7.7 (2012.06) | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Leho Kraav (:macmaN :lkraav)
2012-08-06 12:00:33 UTC
(In reply to comment #0) > > Gentoo Linux: > xorg-server-1.12.3 > xf86-input-evdev-2.7.1+ > > Any thoughts? Bleh, forgot to mention: udev-186 (everything worked) -> udev-187 upgrade is also maybe of significance? AFAIK there's some big ruleset /lib -> /usr/lib migration going on, not sure if it's related to this. there are two separate issues visible here: [1096217.956] (II) config/udev: Adding input device Kensington Kensington USB/PS2 Orbit (/dev/input/mouse1) [1096217.956] (**) Kensington Kensington USB/PS2 Orbit: Applying InputClass "My Kensington Orbit Trackball" [1096217.956] (II) Using input driver 'evdev' for 'Kensington Kensington USB/PS2 Orbit' [1096217.956] (**) Kensington Kensington USB/PS2 Orbit: always reports core events [1096217.956] (**) evdev: Kensington Kensington USB/PS2 Orbit: Device: "/dev/input/mouse1" [1096217.956] (EE) evdev: Kensington Kensington USB/PS2 Orbit: mtdev is (nil) [1096217.956] (EE) Kensington Kensington USB/PS2 Orbit: Couldn't open mtdev device [1096217.967] (EE) evdev: Kensington Kensington USB/PS2 Orbit: ioctl EVIOCGID failed: Bad file descriptor [1096217.967] (EE) PreInit returned 8 for "Kensington Kensington USB/PS2 Orbit" [1096217.967] (II) UnloadModule: "evdev" This link provides more info: http://who-t.blogspot.com.au/2010/11/how-to-ignore-configuration-errors.html [1096217.970] (II) config/udev: Adding input device Kensington Kensington USB/PS2 Orbit (/dev/input/event6) [1096217.970] (**) Kensington Kensington USB/PS2 Orbit: Applying InputClass "evdev pointer catchall" [1096217.970] (**) Kensington Kensington USB/PS2 Orbit: Applying InputClass "My Kensington Orbit Trackball" [1096217.970] (II) Using input driver 'evdev' for 'Kensington Kensington USB/PS2 Orbit' [1096217.970] (**) Kensington Kensington USB/PS2 Orbit: always reports core events [1096217.970] (**) evdev: Kensington Kensington USB/PS2 Orbit: Device: "/dev/input/event6" [1096217.970] (EE) evdev: Kensington Kensington USB/PS2 Orbit: mtdev is 0xa242f50 [1096217.970] (--) evdev: Kensington Kensington USB/PS2 Orbit: Vendor 0x47d Product 0x1022 [1096217.970] (--) evdev: Kensington Kensington USB/PS2 Orbit: Found 3 mouse buttons [1096217.970] (--) evdev: Kensington Kensington USB/PS2 Orbit: Found relative axes [1096217.970] (--) evdev: Kensington Kensington USB/PS2 Orbit: Found x and y relative axes [1096217.970] (II) evdev: Kensington Kensington USB/PS2 Orbit: Configuring as mouse [1096217.970] (**) Option "EmulateWheel" "True" [1096217.970] (**) Option "EmulateWheelButton" "3" [1096217.970] (**) evdev: Kensington Kensington USB/PS2 Orbit: YAxisMapping: buttons 4 and 5 [1096217.970] (**) evdev: Kensington Kensington USB/PS2 Orbit: EmulateWheelButton: 3, EmulateWheelertia: 10, EmulateWheelTimeout: 200 [1096217.970] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input53/event6" [1096217.970] (II) XINPUT: Adding extended input device "Kensington Kensington USB/PS2 Orbit" (type: MOUSE, id 10) [1096217.970] (II) evdev: Kensington Kensington USB/PS2 Orbit: initialized for relative axes. [1096217.971] (**) Kensington Kensington USB/PS2 Orbit: (accel) keeping acceleration scheme 1 [1096217.971] (**) Kensington Kensington USB/PS2 Orbit: (accel) acceleration profile 0 [1096217.971] (**) Kensington Kensington USB/PS2 Orbit: (accel) acceleration factor: 2.000 [1096217.971] (**) Kensington Kensington USB/PS2 Orbit: (accel) acceleration threshold: 4 looks like the device was added successfully here. [1096217.971] (II) config/udev: removing device Kensington Kensington USB/PS2 Orbit And now it's being removed. This comes from the outside, udev is telling us the device has been removed from the kernel and so we unload it. Since it has the same timestamp as the previous messages, I don't think that's you unplugging the device, I think there is something wrong with your kernel or udev setup. It looks like you are right. After a reboot (to make sure udev is completely sane), the mtdev thing is still a bit funky as in it seems to sometimes get (nil) but then receive a legit value. But AIUI now, even with mtdev failing for whatever reason on Xorg side, mouse should still work. I think it's indeed safe to chalk this one on top of udev's random issues. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.