USB problem

Discussion in 'Windows Virtual Machine' started by rmclachlan, Mar 7, 2009.

  1. rmclachlan

    rmclachlan Bit poster

    Messages:
    9
    Anyone have a fix for a problem where Parallels forget that a USB device is attached when returning from suspend mode. I have to reboot windows to get the device to be recognised again. This seems to be a problem since v4 and it is driving me crazy!
     
  2. Statman

    Statman Member

    Messages:
    32
    First...do not ever suspend vm and quit parallels. My advice is to always shut down the vm and don't use suspend. IMO, suspend is the problem.
     
  3. rmclachlan

    rmclachlan Bit poster

    Messages:
    9
    I am not sure that would be a real solution for me. The whole point is that suspend and resume should be bulletproof.
     
  4. Statman

    Statman Member

    Messages:
    32
    I don't understand...why would shutting down windows be an issue? Suspending the vm is not the issue....the problem is that windows requires shutdown to "update" its system. If you don't shut it down, it won't update....and you will lose things you have done to the windows OS (like adding usb components)
     
  5. rmclachlan

    rmclachlan Bit poster

    Messages:
    9
    I don't require windows to update in this situation. I do require parallels to remember the last hardware settings since it went into suspend mode on resume. Parallels used to do this well until something was changed in v4. I do understand that occasionally requires a complete reboot to update it's system settings but it does not require this all the time AFAIK.
     
  6. Statman

    Statman Member

    Messages:
    32
    I will admit I know virtually nothing about windows per se....I am relying on what others have told me (including parallels tech support)...I defer to you for a better understanding of what suspend is supposed to do...I do know I have had no issues since I stopped using suspend, FWIW.
     
  7. rmclachlan

    rmclachlan Bit poster

    Messages:
    9
    I do not have any superior knowledge regarding Windows. I am just making an assumption, perhaps wrongly, that suspend and resume should be fairly transparent in operation. Perhaps Parallels tech support could help out here?
     
  8. ddahle1970

    ddahle1970 Member

    Messages:
    83
    rmaclachlan: I don't think Statman was referring to Windows Update - I think he was referring to Windows' tendency to update various internal status flags when shutting down.

    Have you tried shutting it down with the device attached then making sure to have the device attached before starting?

    I haven't had the kind of issues you describe, but then again I never suspend / resume; preferring to shut down the VM the "usual" way. Why tempt fate? :)
     
  9. ride

    ride Bit poster

    Messages:
    11
    I have exactly the same problem. In Parallels 3 everything worked very fine - but with Parallels 4 I have to reboot to get USB devices to be recognized by Windows XP again. After Suspend/Resume the USB device is captured by the Parallels application as configured but by Windows XP itself.
    Please fix this!
     
  10. ride

    ride Bit poster

    Messages:
    11
    I find a way without the reboot: open the Device Manager and play around with the USB entries! In most cases the missing USB device will be re-activated!
     
  11. ride

    ride Bit poster

    Messages:
    11
    With the newest build 4.0.3844 the problem still exists :-(

    As a workaround I'm using the devcon comand line tool (http://support.microsoft.com/kb/311272). After a suspend/resume just do a "devcon rescan" to reactivate all the USB devices.
     
  12. nealitc

    nealitc Member

    Messages:
    25
    devcon is cool.
    other option is the manual way: Start Menu -> Settings -> Control Panel -> System (Hardware tab) -> Device Manager; click on Universal Serial Bus controllers, right click scan For Hardware Changes, works every time
     
  13. chcsep

    chcsep Member

    Messages:
    21
    Yes, I had this problem too. It has nothing to do with suspending/restarting Windows, which works perfectly fine in v3 and v4 thankyouverymuch, Statman.

    The problem is when adding a USB device (in my case, plugging a USB SD card reader into the machine), Parallels jumps up and asks me if I want to use the device in the host or the guest environment. This is new to 4.0. Choosing the host environment works fine.

    Choosing the guest environment doesn't do anything in parallels 4.0, as Windows for some reason doesn't see it. Neither does doing what you had to do in 3.0, which is manually going to the "Devices" menu in parallels and adding the USB reader. In either case, you have to get Windows Device Manager to rescan for USB devices.

    Hopefully this bug will get fixed SOON in another revision, because this is NOT an intuitive way to interact with these devices, which I have to plug and unplug many times a day!

    (Note: another way to get to Device Manager is clicking Start, right-click on My Computer, and go to the Hardware tab.)
     
  14. bvila@umich.edu

    bvila@umich.edu Member

    Messages:
    30
    I've had this same problem ever since upgrading to Parallels 4. Have reinstalled Parallels tools countless times and have found that the only way to get Windows to recognize my USB MFP is to go into Device Manager, disable and then enable the Standard Enhanced PCI to USB Host Controller.

    That's a bit annoying, to say the least. The previous poster who suggested devcon had a great idea. Unfortunately, the rescan command didn't work for me. I did find a nice solution others may find useful.

    I created a .bat file using devcon which automatically disables and then enables the PCI to USB controller. Seems to work. Here's what I did. Install the devcon.exe file into winnt\system32. Open a command prompt and type devcon find *. Look for the first PCI to USB host controller and copy the path (should be something like PCI\VEN_8086....)

    Open notepad (in Windows) and put in these two lines
    devcon disable PCI\VEN_8086&DEV_265C&SUBSYS_04001AB8&REV_02\2&EBB567F&0&EF
    devcon enable PCI\VEN_8086&DEV_265C&SUBSYS_04001AB8&REV_02\2&EBB567F&0&EF

    Your paths after "disable" and "enable" may be different than mine. Save the file as some .bat file on your desktop in Windows. Double-click it to get it to run. That seems to do the trick for me. For those who found the "rescan" command to work, just type "devcon rescan" in the bat file.

    Hope some of you find it useful, but hopefully Parallels fixes this thing.
     
  15. BDM

    BDM Junior Member

    Messages:
    16
    I've been struggling with this problem since December of 2008. My workaround has been to run the "Add New Hardware" utility, but it doesn't work on Parallels build 3810 and later, so I dare not update.

    I don't see a "Standard Enhanced PCI to USB Host Controller" in my Device Manager. I have an "Intel 82801FB/FMB USB Universal Host Controller" and an "Intel USB2 Enhanced Host Controller". Would this be my equivalent?

    I can't find any file with "82801" in the name.

    Does this work in the current build of Parallels?
     
  16. bvila@umich.edu

    bvila@umich.edu Member

    Messages:
    30
    Both the bat file and the Device Manager methods work for me in the current build. If you're using the Device Manager method, try disabling and re-enabling the first USB controller and see what happens. If it doesn't work, try the next one.
     
  17. ride

    ride Bit poster

    Messages:
    11
    FYI - the problem is fixed with Parallels 5.0. USB is working fine again.
     

Share This Page