USB Pass-Through not working under 4.2.4 and Win XP

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
TomBBB
Posts: 2
Joined: 25. Nov 2012, 20:32

USB Pass-Through not working under 4.2.4 and Win XP

Post by TomBBB »

Hi,

I found an issue after upgrading to VB 4.2.4 on my MacBook Pro running Mountain Lion (10.8.2).
After the upgrade to VB 4.2.4 r81684 USB pass-through is no longer working for my Win XP guest. VID and PID of the device in Win XP are 0000 although the real values are shown in VB.
The pass-through still works in the Win 7 guest.
I attached 3 screenshots showing the problem.

Is there already a solution for the problem or can I provide some logs or traces that help?

BR, Tom
Attachments
VID and PID in Win 7
VID and PID in Win 7
Screen Shot 2012-11-25 at 19.18.16 .png (21.75 KiB) Viewed 11871 times
VID and PID in Win XP
VID and PID in Win XP
Screen Shot 2012-11-25 at 19.07.53 .png (13.87 KiB) Viewed 11871 times
VID and PID in VB
VID and PID in VB
Screen Shot 2012-11-25 at 19.06.38 .png (90.01 KiB) Viewed 11871 times
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by ChipMcK »

I think you need to supply more information about your MacBook Pro, like type/version USB, data from System Information --> USB.
TomBBB
Posts: 2
Joined: 25. Nov 2012, 20:32

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by TomBBB »

Sure. It's a MacBook Pro 8,1 running OS X Mountain Lion (10.8.2).

Data from System Information is the following:

USB High-Speed Bus:
Host Controller Location: Built-in USB
Host Controller Driver: AppleUSBEHCI
PCI Device ID: 0x1c26
PCI Revision ID: 0x0005
PCI Vendor ID: 0x8086
Bus Number: 0xfd

Hub:
Product ID: 0x2513
Vendor ID: 0x0424 (SMSC)
Version: b.b3
Speed: Up to 480 Mb/sec
Location ID: 0xfd100000 / 2
Current Available (mA): 500
Current Required (mA): 2

In the meantime I got the USB to Serial Device running in Windows 7 but had still no luck in Windows XP.

Thanks, Tom
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by ChipMcK »

Does your MacBook Pro have USB 2 or USB 3? You need to check its Technical Specifications
MigFR
Posts: 5
Joined: 3. Jan 2013, 17:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: XP, Ubuntu

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by MigFR »

Hi, I encounter the exact same issue with my WinXP guest using VB 4.2.6 running on my Lion (10.7.5) host running on a MacBookPro 7,1 having only USB2 (no USB3).
...and I'm also trying to hook up an FTDI chip :-). 6001/0403/0600
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by ChipMcK »

in your filter, try specifying only
  • Name
    Vendor Id
    Product Id
    Serial No.
MigFR
Posts: 5
Joined: 3. Jan 2013, 17:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: XP, Ubuntu

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by MigFR »

Thanks Chip, but still no luck :
- removed the filter
- removed USB device
- properly shut down XP guest
- plugged USB device
- created the filter per your instructions
- unplugged USB device
- restarted host
- started guest
- plugged USB device
- as nothing happened, looked for modifications (Computer Management console) on HW on guest
- still displays "unknown device" and USB\VID_0000&PID_0000\5&18F54CB7&0&1

I fiddled a bit and here's what the log says around the event:
00:01:31.315073 VUSB: attached '0000000104a5a010[proxy 0403:6001]' to port 1
00:01:31.315536 OHCI: USB Operational
00:01:49.714275 EHCI: USB Operational
00:01:50.495999 EHCI: USB Suspended
00:08:39.508078 VUSB: detached '0000000104a5a010[proxy 0403:6001]' from port 1
00:08:40.118450 OHCI: USB Suspended
00:08:45.243196 VUSB: attached '0000000124437fe0[proxy 0403:6001]' to port 1
00:08:45.244035 OHCI: USB Operational
00:09:06.890734 EHCI: USB Operational
00:09:08.203672 EHCI: USB Suspended


Note that each time I had to manually ask XP to look for modifications before it detected the device.
MigFR
Posts: 5
Joined: 3. Jan 2013, 17:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: XP, Ubuntu

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by MigFR »

You know what? I created a Windows 7-x64 instance, everything worked fine until I installed updates(*). Now it's installed, my W7 VM exhibits the same behavior as my XP VM.
Shows "unknown device" as USB\VID_0000&PID_0000\5&18F54CB7&0&2.

(*) note that updates include French language pack to my "Ultimate" W7, and my XP is in French too, for that matter.
MigFR
Posts: 5
Joined: 3. Jan 2013, 17:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: XP, Ubuntu

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by MigFR »

VirtualBox USB filer Bug
VirtualBox USB filer Bug
VirtualBox USB filter Bug.png (41.79 KiB) Viewed 11416 times
Chip, Tom,

I found out what causes the problem on my W7 VM. And it's got nothing to do with updates, it's the number of CPUs allocated to the host. AND... it is reversible.

Tom: you should try reducing your VM to 1 CPU.

See attached.
Best regards, Christophe
MigFR
Posts: 5
Joined: 3. Jan 2013, 17:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: XP, Ubuntu

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by MigFR »

Lastly, I got a chance to try it out on my XP VM: reducing the # of CPUs to 1 make FTDI USB serial converter visible (standard VirtualBox USB filter, including all parameters).
Christophe.
Devonavar
Posts: 3
Joined: 27. Feb 2013, 05:55

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by Devonavar »

THANK YOU for posting the workaround. This had defeated me for several days, and you finally helped me solve it.

I've opened a bug ticket here:

https://www.virtualbox.org/ticket/11525

There's second thread on this issue with more information here:

viewtopic.php?f=7&t=34925&start=0
rafoakwa
Posts: 1
Joined: 1. Feb 2014, 18:08

Re: USB Pass-Through not working under 4.2.4 and Win XP

Post by rafoakwa »

Hello MigFR,

I am aware that this issue was handled a year ago. But I thought I could use your expertise on it. I have a reverse of the issue. I am running iOS host and Win7 guest, when I plug in my FPGA board, it shows as Unknown Device, and therefore cannot do a pass through.

Can you provide me with any information as to how you got your win7 guest working with usb pass through?
Also, how did you list the activities on the VM. I see that you posted a screen shot, but I would like know how you actually got that.

Thanks in advance.
Post Reply