http://bugs.winehq.org/show_bug.cgi?id=58686 Oleg Nikulin <owl2@etersoft.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |owl2@etersoft.ru --- Comment #2 from Oleg Nikulin <owl2@etersoft.ru> --- Can confirm this issue. Can be reproduced only with a specific mouse (OKLICK 145M in my case). Steps to reproduce: $ wine notepad While notepad is running, plug the mouse to PC. It will cause wine to shut down with the following message in terminal: X Error of failed request: XI_BadDevice (invalid Device parameter) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 3 (X_OpenDevice) Device id in failed request: 0x11a Serial number of failed request: 160 Current serial number in output stream: 160 X Error of failed request: XI_BadDevice (invalid Device parameter) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 3 (X_OpenDevice) Device id in failed request: 0x11a Serial number of failed request: 255 Current serial number in output stream: 255 The bug is indeed related to wine-staging. The "user32-rawinput-mouse" patchset seems to be causing it. Vanilla wine = no bug. Wine-staging patches applied = bug present. Wine-staging patches applied + revert user32-rawinput-mouse patchset = no bug again. "user32-rawinput-mouse" patchset is related to bugs 42631 and 42675 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.