Opened 15 years ago
Closed 11 years ago
#5590 closed defect (fixed)
USB device attach to guest only after host restart
Reported by: | ddn | Owned by: | |
---|---|---|---|
Component: | USB | Version: | VirtualBox 4.0.6 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Windows |
Description (last modified by )
i have alladin eToken USB key. Installed guest Windows XPSP2. Enabled USB 2.0 OHCI controller. Host is Windows7 64Bit with 4gigs of RAM. Instert USB key into host port. host Windows won't find drivers (thats ok!). Now i started VirtualBox and VM with WinXP. Try to attach my USB key. VirtualBox say error device is busy another request. But in guest WinXP i didn't see eToken USB key appears in device manager even after refresh!
I shutdown guest OS and then do my host Windows7 restart. Now all is okay. Loaded VirtualBox , attached USB key (without error!) and guest WinXP sees new usb device.
Attachments (8)
Change History (29)
by , 15 years ago
comment:1 by , 15 years ago
I have the same behavior with my virtual box. But it ocurrs everytime I add a new USB device. Soon I´ll be posting the log.
comment:2 by , 14 years ago
with 4.0.6 VBox same behaviour - everytime adding new USB device require host OS reboot or VBox can't attach to device....
comment:3 by , 14 years ago
priority: | major → critical |
---|---|
Version: | VirtualBox 3.0.12 → VirtualBox 4.0.6 |
This is actually a 4.0.6 regression. No idea why this happened with the older version of VirtualBox.
follow-up: 5 comment:4 by , 14 years ago
The 4.0.6 Windows build was replaced on the server. Build 4.0.6 r71416 should show the same behavior as VBox 4.0.4. There are still know issues (for example when starting VMs as different users), therefore I will keep this ticket open.
comment:5 by , 14 years ago
follow-up: 15 comment:7 by , 14 years ago
okay. tested it.... still again . i see no changes over version-to-version (build-to-build). Let me explain again:
started VBox VM with windows XP SP3 installed.
next, insert my usb device (in this example its alladin etoken pro usb key) see it in device manager (screenshot usb3)
now i click in VM bar -> devices -> USB -> etokenpro
windows started to install drivers (usb1 , usb2 screenshots)
oops! windows got me error (usb4 screenshot)
now i try again attach USB device in VM bar -> devices -> USB -> etokenpro
ops again! VBOX processes completely hangs (screenshots usb5, usb6)
Now i restarted my HOST OS all ALL do again all steps before - ALL IS FINE! VBox success attached USB to VM.
by , 14 years ago
by , 14 years ago
by , 14 years ago
by , 14 years ago
by , 14 years ago
by , 14 years ago
by , 14 years ago
Attachment: | usb-winxpsp3-2011-04-26-20-29-08.log added |
---|
follow-up: 10 comment:8 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
After replacing the broken package by the repaired package (71416) you have to reboot once. Now you should be able to access the USB devices. Any further reboot should not be necessary anymore. Please reopen if that problem still appears.
comment:9 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
no. it doesn't work . symptoms again i posted before.
P.S.: YES, i did a clean reinstall of VBox w reboots
comment:10 by , 14 years ago
Replying to frank:
i recorded PoC video with completely another system Windows 7 32bit SP1 EN (hp 2510p notebook): http://www.youtube.com/watch?v=IKSxJtd4ZsE
follow-up: 12 comment:11 by , 14 years ago
I have the same problem on Ubuntu 10.10 amd64, VB 4.0.6 Yesterday it worked, today it didn't.
I upgraded to VB 4.0.8, hoped that it was fixed, but not :(
comment:13 by , 14 years ago
frank: is any updates on my ticket ? How i can help you? in 4.0.8 version no changes with USB :( i need to reboot every host with every new usb device to success attach it to VM
comment:14 by , 14 years ago
ddn, we are aware of several problems in the Windows USB driver and therefore currently doing a complete rewrite. The next major version should improve things notably for Windows hosts. Anyway, rebooting the host to get a new device recognized should not be necessary, even for the current version.
follow-up: 16 comment:15 by , 14 years ago
Replying to ddn: To get the clue on what's going on, could you please elaborate on the following:
- Am I correct that this happens with *any* usb device you plug into the host once VBox is running?
- Does the issue occur if you plug in a device *before* you run a VirtualBox (e.g. right after the host boots & you log in)?
- Are you able to successfully capture the device if you add a filter for it in VM settings?
follow-up: 17 comment:16 by , 14 years ago
Replying to misha:
- Am I correct that this happens with *any* usb device you plug into the host once VBox is running?
yes, within all my devices (usb flash drives, usb2sata convertor, usb dvddrive, usb keys, usb2rs232 convertor)
- Does the issue occur if you plug in a device *before* you run a VirtualBox (e.g. right after the host boots & you log in)?
Occured all times whatever i insert usb device and cold boot OS then VBox or insert device while VBox is running...
- Are you able to successfully capture the device if you add a filter for it in VM settings?
Yes! Yes! This method it works like charm! I tested twice - completely working!
comment:17 by , 14 years ago
Replying to ddn:
- Does the issue occur if you plug in a device *before* you run a VirtualBox (e.g. right after the host boots & you log in)?
Occured all times whatever i insert usb device and cold boot OS then VBox or insert device while VBox is running...
Hm, so am I correct that the only case when you can dynamically attach a device to guest is when you plug in a device in a running host and restart the host, and it does NOT work if you plug in a device into a powered-off host, and then boot the host?
comment:18 by , 14 years ago
yes. only 1 problem: usb devices attached to guest by using VB on-screen small toolbar (Devices->USB Devices-> ... while VM is running) works only after host reboot.
usb attached with usb filter method (you mentioned) - works fine!
follow-up: 20 comment:19 by , 14 years ago
ddn, could you install this test build to test if the USB problem is fixed? Note that this test build might be unstable regarding other issues. After the test you can install the 4.0.8 build again.
comment:20 by , 14 years ago
Replying to frank:
ddn, could you install this test build to test if the USB problem is fixed? Note that this test build might be unstable regarding other issues. After the test you can install the 4.0.8 build again.
Frank! It is working! Sorry for long time to response. VBox is working fine now with fast USB attach/detach ! no need to use usb filters before starting VM. Thank you very much!
comment:21 by , 11 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
vbox log file after reboot and success start