VirtualBox

Opened 14 years ago

Last modified 11 years ago

#6171 closed defect

Mouse wheel stops working after a while — at Initial Version

Reported by: Sam Morris Owned by:
Component: other Version: VirtualBox 3.1.2
Keywords: mouse input scroll wheel Cc:
Guest type: Linux Host type: Windows

Description

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 (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use