Mouse wheel stops working after a while -> fixed as of 25 Apr 2013, 4.2 and later
|Reported by:||Sam Morris||Owned by:|
|Keywords:||mouse input scroll wheel||Cc:|
|Guest type:||Linux||Host type:||Windows|
Description (last modified by )
The wheel of my USB mouse can be used inside my guest (Linux 2.6.32) after I boot the VM, but after a while it stops working.
On examining the mouse events with xev, when I scroll the wheel, mouse events _are_ being generated, but they are for buttons 6/7 (sideways scrolling)!
If I run xev before the wheel stops working, the events are generated for the correct buttons (4/5).
Disabling mouse integration does not help.
evtest also reports that buttons 6/7 are being pressed, so this does not appear to be a configuration issue: $ sudo evtest event4 Input driver version is 1.0.0 Input device ID: bus 0x11 vendor 0x2 product 0x6 version 0x0 Input device name: "ImExPS/2 Generic Explorer Mouse" Supported events:
Event type 0 (Sync) Event type 1 (Key)
Event code 272 (LeftBtn) Event code 273 (RightBtn) Event code 274 (MiddleBtn) Event code 275 (SideBtn) Event code 276 (ExtraBtn)
Event type 2 (Relative)
Event code 0 (X) Event code 1 (Y) Event code 6 (HWheel) Event code 8 (Wheel)
Testing ... (interrupt to exit) Event: time 1265938318.197278, type 2 (Relative), code 6 (HWheel), value -1 Event: time 1265938318.197291, -------------- Report Sync ------------ Event: time 1265938318.709651, type 2 (Relative), code 6 (HWheel), value 1 Event: time 1265938318.709664, -------------- Report Sync ------------
Interestingly, if I actually trigger my mouse's horizontal scrolling feature, no events are passed into the VM. The mouse works fine in the host OS however (Vista Home Basic SP1).
Change History (13)
comment:11 by , 10 years ago
|Summary:||Mouse wheel stops working after a while → Mouse wheel stops working after a while -> fixed as of 25 Apr 2013, 4.2 and later|