USB Mouse Bug?
Posted: 5. Oct 2009, 02:00
I have a laptop running a Windows 7 host and have Windows XP and Ubuntu 9.04 guest OSes under VBox 3.0.6. I need to exclusively use XP for some work so it is often running at least in the background. I also often need move from desk to desk around the office, but i really despise the touchpad so I carry a wireless mouse with me. Since I need XP for work I have a USB filter to automatically redirect ALL usb devices (ie usb flash drives) to the guest (XP) and bypass the host (USB filter set to "YES"). Guest additions are installed.
This issue I am having is when I need to move more than just a few feet. In this case I unplug my mouse so the computer fill fit in the briefcase - the USB receiver sticks out too far to leave it plugged in. Regardless of if I suspend my computer or leave it running, when I plug the mouse back in the mouse does not behave correctly. When I plug it in the cursor can only be moved by the touchpad, which still works seemlessly between the guest and host. However, the USB mouse only works in the guest OS and it is a second INVISIBLE CURSOR. I can tell the mouse still works because i can left and right click and the appropriate actions occur when the cursor should be. However, the visible cursor only moves when you use use touchpad yet both will interact with the guest simultaneously.
So, I tried setting changing the USB filter to "ANY" but it acts exactly the same. I changed it to "NO" but it also behaves the same way - but setting it to "NO" defeats my purpose of rerouting the USB devices so I changed it back to "YES". If I disable the filter then it behaves as it should and both the mouse and touchpad will control the cursor when I remove and reattach the mouse.
I do not know if this would be a bug since it obviously is a USB mouse and I have USB devices directed to the guest. Regardless, it seems that a mouse should be a special case since it works as it should with the filter enabled as long as I either shutdown or save and close the guest before reattaching the mouse. The only time I have any issues with the mouse, even with the filter enabled, is when I unplug it and reattach it with the guest running.
Generally I use an XP Guest and that is where I discovered this issue, however it is repeatable in Ubuntu as well so it is not a Windows issue. Any advice or suggestions would be appreciated.
This issue I am having is when I need to move more than just a few feet. In this case I unplug my mouse so the computer fill fit in the briefcase - the USB receiver sticks out too far to leave it plugged in. Regardless of if I suspend my computer or leave it running, when I plug the mouse back in the mouse does not behave correctly. When I plug it in the cursor can only be moved by the touchpad, which still works seemlessly between the guest and host. However, the USB mouse only works in the guest OS and it is a second INVISIBLE CURSOR. I can tell the mouse still works because i can left and right click and the appropriate actions occur when the cursor should be. However, the visible cursor only moves when you use use touchpad yet both will interact with the guest simultaneously.
So, I tried setting changing the USB filter to "ANY" but it acts exactly the same. I changed it to "NO" but it also behaves the same way - but setting it to "NO" defeats my purpose of rerouting the USB devices so I changed it back to "YES". If I disable the filter then it behaves as it should and both the mouse and touchpad will control the cursor when I remove and reattach the mouse.
I do not know if this would be a bug since it obviously is a USB mouse and I have USB devices directed to the guest. Regardless, it seems that a mouse should be a special case since it works as it should with the filter enabled as long as I either shutdown or save and close the guest before reattaching the mouse. The only time I have any issues with the mouse, even with the filter enabled, is when I unplug it and reattach it with the guest running.
Generally I use an XP Guest and that is where I discovered this issue, however it is repeatable in Ubuntu as well so it is not a Windows issue. Any advice or suggestions would be appreciated.