mouse freezes when USB devices are enabled in Vista guest

Discussions about using Windows guests in VirtualBox.
Post Reply
yodawise
Posts: 4
Joined: 6. Oct 2009, 23:46
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Vista

mouse freezes when USB devices are enabled in Vista guest

Post by yodawise »

I have VBox 3.0.8 running on a Ubuntu 9.04 desktop host.

Guest additions are installed for a Vista guest and mouse pointer integration is enabled. If I enable USB devices in the Vista guest and start the Vista VM, my cordless Logitech mouse freezes. I have to use the key strokes to navigate to the shut down the VM to get control back for the mouse. If I disable the USB devices for the Vista VM, it starts fine and I have full control of the mouse.

I am trying to learn virtualization concepts to be able to set up various virtual test beds. Any help will be appreciated to resolve this issue. Thanks in advance.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: mouse freezes when USB devices are enabled in Vista guest

Post by Sasquatch »

If the VM has an empty (or specific) USB filter, it might grab the mouse. Check that and remove the filter if there is one.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Juan Largo
Posts: 4
Joined: 18. Dec 2008, 01:49

Re: mouse freezes when USB devices are enabled in Vista guest

Post by Juan Largo »

The same thing happened to me as soon as I started a WinXP guest in VirtualBox 3.0.8. The mouse pointer stayed locked after shutting down VirtualBox. What is an "empty" USB filter? I have two active filters: One is a Logitech USB Receiver [5700], and the other is a Generic USB2.0CRW [1122]. Both of these worked with VirtualBox 3.0.6. Which filter should be removed? Don't I need the Logitech one in order to use the mouse?
martinatycova
Posts: 3
Joined: 5. Oct 2009, 15:07
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: MS Windows XP

Re: mouse freezes when USB devices are enabled in Vista guest

Post by martinatycova »

If the scroll button on your mouse does not work in the guest, try adding the following lines to the mouse section in your xorg.conf file:

Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Hope it works.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: mouse freezes when USB devices are enabled in Vista guest

Post by Sasquatch »

martinatycova wrote:If the scroll button on your mouse does not work in the guest, try adding the following lines to the mouse section in your xorg.conf file:

Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Hope it works.
That is not the problem here. Don't post inaccurate information. The problem here is that the entire mouse doesn't work, moving it won't move the cursor.

Juan Largo wrote:The same thing happened to me as soon as I started a WinXP guest in VirtualBox 3.0.8. The mouse pointer stayed locked after shutting down VirtualBox. What is an "empty" USB filter? I have two active filters: One is a Logitech USB Receiver [5700], and the other is a Generic USB2.0CRW [1122]. Both of these worked with VirtualBox 3.0.6. Which filter should be removed? Don't I need the Logitech one in order to use the mouse?
Well, it is a cordless mouse, right? Then why would you pass the receiver to the VM? It will only cause problems for the Host, because that will loose control of the mouse, hence your problems.

An empty filter is a specific USB filter for any device. All the fields are empty to specify one device. Instead, it will grab all newly attached devices to the VM, and already connected, unused devices (in my case, that was my webcam that got grabbed, because my Host didn't have a driver for it or loaded anything for it, might be different for Windows Hosts).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
yodawise
Posts: 4
Joined: 6. Oct 2009, 23:46
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Vista

SOLVED:mouse freezes when USB devices are enabled in Vista g

Post by yodawise »

Thanks Sasquatch and others! Sorry it took me a couple a days to come back and report this issue as resolved.

My problem is resolved by not enabling the Logitech USB Receiver in the VBox Machine Settings.
Post Reply