Bug 587569 - PS/2 mouse dead on resume from suspend (regression from F12)
Summary: PS/2 mouse dead on resume from suspend (regression from F12)
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-mouse
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-30 09:48 UTC by Panu Matilainen
Modified: 2010-09-29 04:54 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-29 04:54:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Panu Matilainen 2010-04-30 09:48:05 UTC
Description of problem:
After suspend on my desktop box, PS/2 mouse doesn't respond to anything at all. Detaching and reconnecting the plug restores the functionality though.

Version-Release number of selected component (if applicable):
xorg-x11-drv-mouse-1.5.0-4.fc13.x86_64, IF this component is to blame. The problem has persisted since upgrading from F12 to F13-pre on March 13th.

How reproducible:
100%

Steps to Reproduce:
1. Suspend system
2. Resume system
  
Actual results:
Mouse is dead until physically detached and reconnected.

Expected results:
No action needed, this used to work correctly on F11-12 (and older, AFAIR).

Additional info:
Not sure if this is actually related or relevant as I can't easily go back to older versions to test, but I happen to have a bunch of F11 logs available, and based on timestamps it seems that F11 used to emit messages like these to Xorg.log on resume:
(II) ImPS/2 Logitech Wheel Mouse: Device reopened after 1 attempts.

On F13, resume I get:
[145682.132] (EE) Unable to open evdev device "/dev/input/event4".
[145682.132] [dix] couldn't enable device 10
[145682.135] (II) config/udev: removing device ImPS/2 Logitech Wheel Mouse
[145682.135] (II) ImPS/2 Logitech Wheel Mouse: Close
[145682.135] (II) UnloadModule: "evdev"

So it ends up unloading the driver/module, no wonder it stops working :)

Physical detatch + reconnect logs the following to Xorg.log:
[145811.835] (II) config/udev: Adding input device ImPS/2 Logitech Wheel Mouse (/dev/input/mouse1)
[145811.835] (EE) No input driver/identifier specified (ignoring)
[145811.844] (II) config/udev: Adding input device ImPS/2 Logitech Wheel Mouse (/dev/input/event4)
[145811.844] (**) ImPS/2 Logitech Wheel Mouse: Applying InputClass "evdev pointer catchall"
[145811.844] (**) ImPS/2 Logitech Wheel Mouse: always reports core events
[145811.844] (**) ImPS/2 Logitech Wheel Mouse: Device: "/dev/input/event4"
[145811.845] (II) ImPS/2 Logitech Wheel Mouse: Found 3 mouse buttons
[145811.847] (II) ImPS/2 Logitech Wheel Mouse: Found scroll wheel(s)
[145811.847] (II) ImPS/2 Logitech Wheel Mouse: Found relative axes
[145811.847] (II) ImPS/2 Logitech Wheel Mouse: Found x and y relative axes
[145811.848] (II) ImPS/2 Logitech Wheel Mouse: Configuring as mouse
[145811.848] (**) ImPS/2 Logitech Wheel Mouse: YAxisMapping: buttons 4 and 5
[145811.848] (**) ImPS/2 Logitech Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[145811.849] (II) XINPUT: Adding extended input device "ImPS/2 Logitech Wheel Mouse" (type: MOUSE)
[145811.849] (**) ImPS/2 Logitech Wheel Mouse: (accel) keeping acceleration scheme 1
[145811.850] (**) ImPS/2 Logitech Wheel Mouse: (accel) acceleration profile 0
[145811.850] (**) ImPS/2 Logitech Wheel Mouse: (accel) acceleration factor: 2.000
[145811.850] (**) ImPS/2 Logitech Wheel Mouse: (accel) acceleration threshold: 4
[145811.850] (II) ImPS/2 Logitech Wheel Mouse: initialized for relative axes.

Mouse detection messages from /var/log/messages on F13:
Apr 26 09:34:23 turre kernel: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
Apr 26 09:34:23 turre kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Apr 26 09:34:23 turre kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Apr 26 09:34:23 turre kernel: mice: PS/2 mouse device common for all mice
...
Apr 26 09:34:23 turre kernel: input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input4

On physical reconnect to get mouse functioning again it emits something like this:
Apr 30 12:05:54 turre kernel: input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input9
Apr 30 12:05:54 turre udevd-work[22479]: '/usr/bin/vmmouse_detect' unexpected exit with status 0x000b
Apr 30 12:05:54 turre udevd-work[22480]: '/usr/bin/vmmouse_detect' unexpected exit with status 0x000b

Comment 1 Panu Matilainen 2010-09-29 04:54:40 UTC
In F14-beta mouse is alive again after suspend. So whatever this was, it was specific to F13.


Note You need to log in before you can comment on or make changes to this bug.