Windows 7 host, Windows XP guest, and only USB 3.0 ports
Windows 7 host, Windows XP guest, and only USB 3.0 ports
Hi everybody!
I've a laptop (HP ZBook 17 G3) with only 3.0 USB ports. I'm running a Windows XP SP3 as guest (VB version is 6.0). My problem is the same as in many other topics, the USB 3.0 is not working.
I followed these topics, and made the tips what they described, but unfortunately nothing helped for me. I have installed extension pack, I've installed Renesas driver on guest, I've set the "magic" extradata and also using the filter and plug the devices (USB 2.0 pendrive, USB 2.0 USB to Serial adapter) after I started the guest. When I plug these, the guest OS catch it, and the host doesn't realized, but in the guest I cannot find the device. When I click on the tools/USB and select my device, it just said, the USB device is busy...
Do you have any idea what can I do more, to let it work?
Thanks!
Robert
I've a laptop (HP ZBook 17 G3) with only 3.0 USB ports. I'm running a Windows XP SP3 as guest (VB version is 6.0). My problem is the same as in many other topics, the USB 3.0 is not working.
I followed these topics, and made the tips what they described, but unfortunately nothing helped for me. I have installed extension pack, I've installed Renesas driver on guest, I've set the "magic" extradata and also using the filter and plug the devices (USB 2.0 pendrive, USB 2.0 USB to Serial adapter) after I started the guest. When I plug these, the guest OS catch it, and the host doesn't realized, but in the guest I cannot find the device. When I click on the tools/USB and select my device, it just said, the USB device is busy...
Do you have any idea what can I do more, to let it work?
Thanks!
Robert
- Attachments
-
xp-2020-06-02-13-44-12.log- (112.13 KiB) Downloaded 11 times
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
This log does not end, so it appears the guest Virtualbox window was still open. When taking logs, start the guest from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the guest from within the guest OS if possible. If not possible, close the Virtualbox window for the guest with the Power Off option set. Then right-click the guest in the main Virtualbox window's guest list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
This log also shows the use of the xHCI USB3 hardware, but does not show any USB devices being inserted (that I see).
Carefully go through USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text in
This log also shows the use of the xHCI USB3 hardware, but does not show any USB devices being inserted (that I see).
Carefully go through USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text in
Code: Select all
tags, not screenshots. Zip and post the log step 8 calls for, using the forum's Upload Attachment tab.Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Hi scottgus1!scottgus1 wrote:This log does not end, ...
Thanks for your reply!
I put my log into the attachment section.
And here is my data from console:
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage -version
6.0.20r137117
C:\Program Files\Oracle\VirtualBox>VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 6.0.20
Revision: 137117
Edition:
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP,
PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
C:\Program Files\Oracle\VirtualBox>VBoxManage list usbhost
Host USB Devices:
UUID: 095cc357-e598-40af-bfa2-41cd7f710ddd
VendorId: 0xabcd (ABCD)
ProductId: 0x1234 (1234)
Revision: 1.0 (0100)
Port: 4
USB version/speed: 2/High
Manufacturer: General
Product: UDisk
SerialNumber: 1406131156161461262501
Address: {36fc9e60-c465-11cf-8056-444553540000}\0086
Current State: Captured
UUID: 1097826c-0366-40d5-b5dc-4a4654d1a6ff
VendorId: 0x413c (413C)
ProductId: 0x2107 (2107)
Revision: 1.21 (0121)
Port: 5
USB version/speed: 1/Low
Manufacturer: Dell
Product: Dell USB Entry Keyboard
Address: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0016
Current State: Busy
UUID: dcbd744e-53a8-4540-9e18-c48b9f3147fa
VendorId: 0x138a (138A)
ProductId: 0x003f (003F)
Revision: 1.4 (0104)
Port: 8
USB version/speed: 1/Full
Manufacturer: Validity Sensors, Inc.
Product: VFS495 Fingerprint Reader
SerialNumber: 0030f6b0c09e
Address: {53d29ef7-377c-4d14-864b-eb3a85769359}\0000
Current State: Busy
UUID: 8c00a3b6-b9f3-4604-af96-9c675a5495b3
VendorId: 0x04ca (04CA)
ProductId: 0x7053 (7053)
Revision: 0.8 (0008)
Port: 7
USB version/speed: 2/High
Manufacturer: DETNQ019I61PVM
Product: HP HD Camera
SerialNumber: 200901010001
Address: {36fc9e60-c465-11cf-8056-444553540000}\0003
Current State: Busy
UUID: ce8027ef-abf2-4f33-8924-52a72c459cc8
VendorId: 0x046d (046D)
ProductId: 0xc534 (C534)
Revision: 41.1 (4101)
Port: 6
USB version/speed: 2/Full
Manufacturer: Logitech
Product: USB Receiver
Address: {36fc9e60-c465-11cf-8056-444553540000}\0006
Current State: Busy
C:\Program Files\Oracle\VirtualBox>VBoxManage list usbfilters
Global USB Device Filters:
<none>
C:\Program Files\Oracle\VirtualBox>VBoxManage showvminfo xp
Name: xp
Groups: /
Guest OS: Windows XP (32-bit)
UUID: 7b6e1d86-3b00-4db0-b50a-12d606e01e3f
Config file: C:\Users\Reva\VirtualBox VMs\xp\xp.vbox
Snapshot folder: C:\Users\Reva\VirtualBox VMs\xp\Snapshots
Log folder: C:\Users\Reva\VirtualBox VMs\xp\Logs
Hardware UUID: 7b6e1d86-3b00-4db0-b50a-12d606e01e3f
Memory size 1024MB
Page Fusion: disabled
VRAM size: 34MB
CPU exec cap: 100%
HPET: disabled
CPUProfile: host
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
PAE: disabled
Long Mode: disabled
Triple Fault Reset: disabled
APIC: enabled
X2APIC: disabled
Nested VT-x/AMD-V: disabled
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device 1: Floppy
Boot Device 2: DVD
Boot Device 3: HardDisk
Boot Device 4: Not Assigned
ACPI: enabled
IOAPIC: enabled
BIOS APIC mode: APIC
Time offset: 0ms
RTC: local time
Hardw. virt.ext: enabled
Nested Paging: enabled
Large Pages: enabled
VT-x VPID: enabled
VT-x unr. exec.: enabled
Paravirt. Provider: Default
Effective Paravirt. Prov.: None
State: powered off (since 2020-06-03T05:33:23.000000000)
Graphics Controller: VBoxVGA
Monitor count: 1
3D Acceleration: disabled
2D Video Acceleration: disabled
Teleporter Enabled: disabled
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: disabled
Allow Tracing to Access VM: disabled
Tracing Configuration:
Autostart Enabled: disabled
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0): IDE
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
IDE (0, 0): C:\Users\Reva\Documents\Programs\_VirtualBox\WXP_S7_V54.vdi (UUID: 9
68396b5-7990-4b79-99f0-7d5b6e524325)
IDE (1, 0): C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (UUID: ae0
2f1ea-86ad-4242-b4d3-1330167f3d11)
NIC 1: MAC: 08002773AB77, Attachment: Bridged Interface 'I
ntel(R) Ethernet Connection (2) I219-LM', Cable connected: on, Trace: off (file:
none), Type: 82543GC, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy:
deny, Bandwidth group: none
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: DSOUND, Controller: AC97, Codec: S
TAC9700)
Audio playback: enabled
Audio capture: disabled
Clipboard Mode: Bidirectional
Drag and drop Mode: disabled
VRDE: disabled
OHCI USB: disabled
EHCI USB: disabled
xHCI USB: enabled
USB Device Filters:
Index: 0
Active: yes
Name: Unknown UDisk [0100]
VendorId: abcd
ProductId: 1234
Revision:
Manufacturer:
Product:
Remote: 0
Serial Number:
Bandwidth groups: <none>
Shared folders:
Name: 'Documents', Host path: 'C:\Users\Reva\Documents' (machine mapping), writa
ble, auto-mount
Capturing: not active
Capture audio: not active
Capture screens: 0
Capture file: C:\Users\Reva\VirtualBox VMs\xp\xp.webm
Capture dimensions: 1024x768
Capture rate: 512kbps
Capture FPS: 25kbps
Capture options:
Guest:
Configured memory balloon size: 0MB
C:\Program Files\Oracle\VirtualBox>- Attachments
-
- xp-2020-06-03-07-33-24.zip
- (28.57 KiB) Downloaded 18 times
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
If the "device is busy with a previous request" then it means the host is already using it, and doesn't want to let go. To fix that you need to add a USB filter to the VM settings and only plug in the device AFTER the guest has finished booting. All per the USB FAQ.
Incidentally, neither the pendrive nor the USB serial adapter require you to enable USB support in the guest. Both can be access as shared host devices.
p.s. Remember to eject the GAs ISO. Also, it's a pity you only allocated 1 CPU since XP would run better with 2, and it's tricky to get XP to recognize a change to this after XP is installed.
Incidentally, neither the pendrive nor the USB serial adapter require you to enable USB support in the guest. Both can be access as shared host devices.
p.s. Remember to eject the GAs ISO. Also, it's a pity you only allocated 1 CPU since XP would run better with 2, and it's tricky to get XP to recognize a change to this after XP is installed.
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Hi mpack!mpack wrote:If the "device is busy with a previous request" then it means the host is already using it, and doesn't want to let go. To fix that you need to add a USB filter to the VM settings and only plug in the device AFTER the guest has finished booting. All per the USB FAQ.
Incidentally, neither the pendrive nor the USB serial adapter require you to enable USB support in the guest. Both can be access as shared host devices.
p.s. Remember to eject the GAs ISO. Also, it's a pity you only allocated 1 CPU since XP would run better with 2, and it's tricky to get XP to recognize a change to this after XP is installed.
I plugged the device after the VM started. I think the filter is working, because the host can't see the plugged device, when the VM is running.
The reason why I need to connect the pendrive directly to the VM, I would like to transfer Siemens licenses, an this is possible only to physically drive, not for shared.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
I'm not quite sure what you're saying there. In your original post you said that the error was "Device is busy with a previous request". You can ONLY get that message if the device is... busy with a previous request, meaning it was already plugged in before the request.
Also, "I plugged the device in after the VM started" is not quite the same as "I plugged the device in after the VM had finished booting and was idly showing me its desktop".
When you plug in the device, after the guest has finished booting, you will first get a "New hardward found" dialog. This is NOT XP seeing the device, this is the host OS asking to install the VirtualBox USB filter (VM redirection) driver. You click OK on that, and of course this may require that you have permission to install drivers on the host, I'm not sure about that (I do have admin rights so I don't have a problem there).
You can then unplug and replug the device, the guest should pick it up smoothly this time, and in future.
p.s. Once you get past the USB connection hurdles, the guest OS needs its own drivers to control the device. While XP has generic mass storage drivers, I'm not sure there's such a thing as generic USB-serial drivers, so I hope you have XP drivers for that device. Normally those things are based around an FTDI or CHx driver chip, drivers shouldn't be hard to find.
Also, "I plugged the device in after the VM started" is not quite the same as "I plugged the device in after the VM had finished booting and was idly showing me its desktop".
When you plug in the device, after the guest has finished booting, you will first get a "New hardward found" dialog. This is NOT XP seeing the device, this is the host OS asking to install the VirtualBox USB filter (VM redirection) driver. You click OK on that, and of course this may require that you have permission to install drivers on the host, I'm not sure about that (I do have admin rights so I don't have a problem there).
You can then unplug and replug the device, the guest should pick it up smoothly this time, and in future.
p.s. Once you get past the USB connection hurdles, the guest OS needs its own drivers to control the device. While XP has generic mass storage drivers, I'm not sure there's such a thing as generic USB-serial drivers, so I hope you have XP drivers for that device. Normally those things are based around an FTDI or CHx driver chip, drivers shouldn't be hard to find.
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
I'm getting the error message just when I'm trying to select manually the device from the USB device list in VM (On-the-fly). So in that time the device already plugged in.mpack wrote:I'm not quite sure what you're saying there. ...
When I'm using filter, I plug the device after the guest OS finish it's booting . But I'm not getting any new hardware dialog neither on host and guest. But when the filter catch my device, there is a new hardware in host's device manager, name as "VirtualBox USB". For me it means, the host driver installed successfully.
I've no admin privilege on my computer, this is a company laptop. if this is the problem, I can ask our IT man to try it with admin privilege. But I'm not really sure, this is the problem, because I've another VM with Windows 7 installed, and this is working without any issue.
Last edited by mpack on 3. Jun 2020, 13:32, edited 1 time in total.
Reason: Remove unnecessary verbatim quote.
Reason: Remove unnecessary verbatim quote.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
When you first installed VirtualBox it required admin rights to install a whole shedload of host drivers for USB and network redirection. Best make sure that all of those got installed. Then, do the test of USB redirection mentioned.
Note that USB redirection happens at two levels on a Windows host. There is a core filter to intercept USB traffic in general - that gets installed (or should have got installed) when you installed VirtualBox. There is a secondary filter that is installed on an as needed basis, to redirect a specific device to a specific VM: the USB filter driver. If you didn't get the alert when VirtualBox on the host tried to install this filter, then most likely your host is set to silently abort any such attempts and so yes, there's no way USB redirection is going to work.
p.s. Please don't quote other posts verbatim: we can see the original message right there, so repeating it in full just wastes screen space and my mental bandwidth. Quoting is ok, but please trim it to just the point(s) you want to address. See the "Post reply" button at top and bottom of the topic to post without quoting.
Note that USB redirection happens at two levels on a Windows host. There is a core filter to intercept USB traffic in general - that gets installed (or should have got installed) when you installed VirtualBox. There is a secondary filter that is installed on an as needed basis, to redirect a specific device to a specific VM: the USB filter driver. If you didn't get the alert when VirtualBox on the host tried to install this filter, then most likely your host is set to silently abort any such attempts and so yes, there's no way USB redirection is going to work.
p.s. Please don't quote other posts verbatim: we can see the original message right there, so repeating it in full just wastes screen space and my mental bandwidth. Quoting is ok, but please trim it to just the point(s) you want to address. See the "Post reply" button at top and bottom of the topic to post without quoting.
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Now we tried with admin account , and unfortunately everything are the same. After the filter catch the stick, on the host will be a VirtualBox USB device is listed, but on the guest I can't see nothing about my stick.mpack wrote:When you first ...
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Been out of the loop for a bit. Here's what I see:
One USB filter in the guest, appropriately filled out according to the tutorial, VendorId & ProductId only:
This is consistent with your report:
Let's confirm your report that you found and implemented the extradata key that is needed for XP & USB3, detailed in viewtopic.php?f=28&t=74575 "USB 3.0 support in XP guests":
Please right-click the guest in the main Virtualbox window's guest list, choose "Show in Explorer". In the window that opens, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.
Since your device is a USB2, here is an idea: Shut down the guest and switch the USB settings to USB2. Keep the same filter. You will also have to undo the extradata key. This should erase the key:
Try the guest (or a fresh XP guest with just USB 2 in it), see what happens.
One USB filter in the guest, appropriately filled out according to the tutorial, VendorId & ProductId only:
The device has been taken by the guest:Name: Unknown UDisk [0100]
VendorId: abcd
ProductId: 1234
Virtualbox is working, and is passing the USB device into the guest.VendorId: 0xabcd (ABCD)
ProductId: 0x1234 (1234)
USB version/speed: 2/High
Product: UDisk
Current State: Captured
This is consistent with your report:
That the device is captured by the guest but the guest OS does not see or recognize the device means that the problem is quite likely inside the guest OS, not in Virtualbox.robotsyte wrote:After the filter catch the stick, on the host will be a VirtualBox USB device is listed
Let's confirm your report that you found and implemented the extradata key that is needed for XP & USB3, detailed in viewtopic.php?f=28&t=74575 "USB 3.0 support in XP guests":
Code: Select all
VBoxManage setextradata <vmname> VBoxInternal/Devices/usb-xhci/0/Config/ChipType uPD720201Please right-click the guest in the main Virtualbox window's guest list, choose "Show in Explorer". In the window that opens, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.
Since your device is a USB2, here is an idea: Shut down the guest and switch the USB settings to USB2. Keep the same filter. You will also have to undo the extradata key. This should erase the key:
Code: Select all
VBoxManage setextradata <vmname> VBoxInternal/Devices/usb-xhci/0/Config/ChipTypeRe: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Hi scottgus1!scottgus1 wrote:Been out of the loop for a bit. Here's what I see:...
Thanks for you to checked my logs.
You are right, I set the extradata key for USB3.
Following your idea, I tested it with USB2, but this looks the same.
- Attachments
-
- xp.zip
- (2.12 KiB) Downloaded 9 times
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
The device looks ok to me in the VM log, i.e. :-scottgus1 wrote: Let's confirm your report that you found and implemented the extradata key that is needed for XP & USB3, detailed in viewtopic.php?f=28&t=74575 "USB 3.0 support in XP guests":
which looks identical to my own VM, which definitely works.VBox.log (OP) wrote: 00:00:01.695200 [/Devices/usb-xhci/0/Config/] (level 4)
00:00:01.695200 ChipType <string> = "uPD720201" (cb=10)
00:00:01.695201
The only thing we can't verify is that the correct Renesas USB3 driver was installed in XP. The USB branch in XP Device Manager should look like this:
- Attachments
-
- Capture.PNG (3.58 KiB) Viewed 2844 times
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Hi mpack!mpack wrote:The only thing we can't verify is that the correct Renesas USB3 driver was installed in XP. The USB branch in XP Device Manager should look like this:
I installed the driver from here: https://www.station-drivers.com/index.p ... 22&lang=en
And it looks like for me:
- Attachments
-
- Devmg.png (1.98 KiB) Viewed 2841 times
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Thanks for posting the .vbox file. It looks set up for the USB3 with the extradata key, as Mpack says.
Try a fresh unchanged XP guest with default USB2 and see what happens.
Please post the .vbox file reflecting this USB2 attempt.robotsyte wrote:Following your idea, I tested it with USB2, but this looks the same.
Try a fresh unchanged XP guest with default USB2 and see what happens.
Re: Windows 7 host, Windows XP guest, and only USB 3.0 ports
Hi scottgus1!scottgus1 wrote:Please post the .vbox file reflecting this USB2 attempt.
Here is the .vbox for USB2.
- Attachments
-
- xp_USB2.zip
- (2.12 KiB) Downloaded 12 times