You are not logged in.

#1 2013-03-13 16:47:35

med1972
Member
From: Kingston, ON
Registered: 2009-02-19
Posts: 38

The Neverending VirtualBox + USB Story

Like many people, I'm having challenges getting USB, specifically my USB mouse (Logitech M305 wireless) to work in VirtualBox.

My setup: Dell E6320 laptop. I have a WinXP VM that was previously used with VMware Player. I am now booting the vmdk file with VirtualBox. The VM seems to boot fine. The following vbox packages installed:

$ pacman -Q|grep -i virtualbox
virtualbox 4.2.8-1
virtualbox-ext-oracle 4.2.8-1
virtualbox-ext-vnc 4.2.8-1
virtualbox-guest-dkms 4.2.8-1
virtualbox-guest-iso 4.2.8-1
virtualbox-guest-modules 4.2.8-1
virtualbox-guest-modules-lts 4.2.8-1
virtualbox-guest-utils 4.2.8-1
virtualbox-host-dkms 4.2.8-1
virtualbox-host-modules 4.2.8-1
virtualbox-host-modules-lts 4.2.8-1
$ 

The vboxdvr module is being loaded at boot time and I am a member of the vboxusers group. I have rebooted and confirmed these settings.

If I start VirtualBox with "VBOX_USB=usbfs" as suggested in the wiki article then:

  1. Trying to access the VM's settings gets me the following error:

    UaDoCt7.png

    I get that error whether EHCI is enabled or not.

  2. The VM boots fine, but no USB devices show up under Devices -> USB Devices.

Unsetting VBOX_USB eliminates the error above, and all my USB devices show up under Devices -> USB Devices but actually attaching the mouse's transceiver (Devices->USB Devices->) does not work as desired: When I click the mouse inside the VM window, the mouse pointer is successfully captured and the capture icon indicates this. But the mouse pointer will not move. Likewise for the touchpad and the DualPoint stick. No mouse activity at all.

Also, with the mouse captured, hitting CTRL+ALT_DEL to log into the XP VM just releases the mouse as if I had hit the right CTRL button instead.

I've read a bunch of previous posts on this, read the wiki articles, but nothing seems to be working for me. I'm still looking but if anyone has other ideas, I'd appreciate the help. VMware Player is no longer free for commercial use so I am trying to switch to VirtualBox.

Offline

#2 2013-03-13 18:43:30

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: The Neverending VirtualBox + USB Story

After "plugging in" the receiver from Devices - USB Devices, you need to wait for Windows XP to detect it and ask you to click Next - Next - Next (check wherever it says "Recommended") to install some bullshit drivers. Then you may need to reboot the VM, from the Start menu, not from the close button.

Do other USB devices work, like USB sticks, for example?


Edit: Unless it's a modified copy of Windows XP. VirtualBox devs do not offer support for those and we can't, either (e.g. if it's a stripped down version that doesn't come with any extra drivers for wireless devices and such).

Last edited by DSpider (2013-03-13 19:05:27)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2013-03-13 20:20:24

med1972
Member
From: Kingston, ON
Registered: 2009-02-19
Posts: 38

Re: The Neverending VirtualBox + USB Story

DSpider wrote:

After "plugging in" the receiver from Devices - USB Devices, you need to wait for Windows XP to detect it and ask you to click Next - Next - Next (check wherever it says "Recommended") to install some bullshit drivers. Then you may need to reboot the VM, from the Start menu, not from the close button.

Do other USB devices work, like USB sticks, for example?

I'm not even getting that far. I cannot log in but that is a separate issue. It's just a USB mouse and the VM already knows about it (as far as drivers/device tree are concerned) from VMware Player. When I click in the VBox VM window, thereby letting the VM capture the mouse, the mouse just doesn't work at all. Wiggle the mouse, nothing. Try using the touchpad or DualStick, also nothing. "mouseing" just isn't working at all.

I also cannot log in. It's XP so I have to CTRL+ALT+DEL to open the login dialog box. But doing a CTRL+ALT+DEL is just releasing the mouse from VM control and not causing the login dialog to open. So something is wrong there as well. As a result, I am unable to test any other USB devices. I''ve also tried a plain wired USB mouse, but still nothing.

Offline

#4 2013-03-13 20:35:50

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: The Neverending VirtualBox + USB Story

Could be because of compatibility issues between WMware and VirtualBox. Do a fresh Windows XP install and see if the same thing happens then. Don't forget to install the Guest Additions (in XP - the guest OS, not virtualbox-guest-* like you already have installed on Arch - the host OS).

Maybe try without "Machine - Disable Mouse Integration (Host+I)".


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2013-03-13 20:47:37

med1972
Member
From: Kingston, ON
Registered: 2009-02-19
Posts: 38

Re: The Neverending VirtualBox + USB Story

DSpider wrote:

Could be because of compatibility issues between WMware and VirtualBox. Do a fresh Windows XP install and see if the same thing happens then. Don't forget to install the Guest Additions (in XP - the guest OS, not virtualbox-guest-* like you already have installed on Arch - the host OS).

Maybe try without "Machine - Disable Mouse Integration (Host+I)".

This VM is an appliance of sorts. A standard XP build issued to us Linux users. So I can't do a fresh install, but you've given me an idea; I have the zip file with the VM "appliance" as originally issued. I'll unpack it someplace and try booting it. Possibly something I've done between originally receiving the VM and now is the cause of my grief.

Offline

#6 2013-03-13 21:25:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: The Neverending VirtualBox + USB Story

med1972 wrote:

This VM is an appliance of sorts. A standard XP build issued to us Linux users. So I can't do a fresh install, but you've given me an idea; I have the zip file with the VM "appliance" as originally issued.

Um, would you care to explain where this came from and by what licence you have the right to use this "XP appliance of sorts"?  Without that information, I, or one of my fellow moderators, will be shutting down this thread.

Our policy


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2013-03-13 23:36:53

med1972
Member
From: Kingston, ON
Registered: 2009-02-19
Posts: 38

Re: The Neverending VirtualBox + USB Story

ewaller wrote:
med1972 wrote:

This VM is an appliance of sorts. A standard XP build issued to us Linux users. So I can't do a fresh install, but you've given me an idea; I have the zip file with the VM "appliance" as originally issued.

Um, would you care to explain where this came from and by what licence you have the right to use this "XP appliance of sorts"?  Without that information, I, or one of my fellow moderators, will be shutting down this thread.

Our policy

Wow. Well, first I don't owe you an explanation for "where this came from and by what license I have a right to use [it]". Do you work for Microsoft? Are you my sales rep? Are you some sort of special authority charged with policing Microsoft licensing? This is the single weirdest response I've ever gotten on any forum, icq channel, support channel etc.

Nonetheless, I work for a major insurance company which has all the necessary licensing. The rest is none of your business. This "appliance of sorts" is simply one of our corporate standard builds of a Windows desktop in VM form so provided to those of us who don't run Windows as our primary OS which I am in the process of trying to get to run under vbox because VMware has made VMware Player free only for non-commercial use. You know, making sure we're on the right side of the law and all with licensing.

I might suggest a different choice of language next time you feel the need to inquire. Perhaps some simple like "Can you please confirm for us here that you are properly licensed to run this software? Thanks."

I do appreciate the help though. I've almost got this thing working.

Last edited by med1972 (2013-03-13 23:46:57)

Offline

#8 2013-03-14 02:16:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: The Neverending VirtualBox + USB Story

med1972 wrote:

...Do you work for Microsoft? Are you my sales rep? Are you some sort of special authority charged with policing Microsoft licensing?

No.

I work for a major insurance company which has all the necessary licensing. The rest is none of your business....I am in the process of trying to get to run under vbox because VMware has made VMware Player free only for non-commercial use. You know, making sure we're on the right side of the law and all with licensing.

Fair enough; but, it is my responsibility as a representative of Arch Linux.

I might suggest a different choice of language next time you feel the need to inquire. Perhaps some simple like "Can you please confirm for us here that you are properly licensed to run this software? Thanks."

I try to be diplomatic and respectful. I did not intend to offend and considered my choice of words.  I am surprised you found them offensive; no offence intended.

Last edited by ewaller (2013-03-14 03:00:13)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2013-03-14 02:22:07

med1972
Member
From: Kingston, ON
Registered: 2009-02-19
Posts: 38

Re: The Neverending VirtualBox + USB Story

ewaller wrote:

I try to be diplomatic and respectful. I did not intend to offend and considered my choice of words.  I am surprised you found them offensive; no offence intended.

Just sounded a little accusatory. No worries and I apologize for my rant. I understand the need to keep the forums on the up n' up. Cheers.

Offline

#10 2013-03-14 03:22:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: The Neverending VirtualBox + USB Story

Trying to access the VM's settings gets me the following error:

How are you trying to access that?  Is that from the "Oracle VM VirtualBox Manager" window?  Is the VM running when you try that?

It's XP so I have to CTRL+ALT+DEL to open the login dialog box

Can you use "Machine->Insert ctrl-alt-delete' menu item?  You might also using "Host Key"-DEL.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2013-03-14 06:13:08

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: The Neverending VirtualBox + USB Story

Are you running the virtualbox package from the official repositories or the virtualbox-bin package (the Oracle-compiled one) from the AUR? Try both. And remove the guest stuff that you have installed on the host OS. You don't need those since Arch isn't running in a VM.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2013-03-14 13:50:47

med1972
Member
From: Kingston, ON
Registered: 2009-02-19
Posts: 38

Re: The Neverending VirtualBox + USB Story

DSpider wrote:

Are you running the virtualbox package from the official repositories or the virtualbox-bin package (the Oracle-compiled one) from the AUR? Try both. And remove the guest stuff that you have installed on the host OS. You don't need those since Arch isn't running in a VM.

The one from the official repos. I'll try the AUR package and remove the extraneous stuff.

I'll probably have our helpdesk folks build me a new VM from scratch. My co-worker (running Mint) is having various problems moving his VM (same source as mine) to vbox as well. While I'd like to figure this out, work priorities mean I just need something that works.

Thanks all for the help so far.

Offline

Board footer

Powered by FluxBB