Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Emulate unplug/plug back in to USB port?

Posted on 2011-09-14
4
Medium Priority
?
2,330 Views
Last Modified: 2012-06-27
We have a device connected to a USB port that is rather stubborn. When we reboot the computer the device doesn't load. However, if I physically unplug the USB cable, then plug it back in, the device is recognized and all is well again.

Is there a way to emulate that in software?

I've tried the "Add New Hardware" wizard but that approach didn't work.


0
Comment
Question by:deleyd
4 Comments
 
LVL 7

Accepted Solution

by:
deisrobinson earned 668 total points
ID: 36538182
Short answer is no, I'm not sure whether you're trying to do this on a Windows, Linux, or Mac OS system but either way after a bit of research at the links below, I conclude it is not easily achieved. You would need to set up some kind of Virtual Machine etc.

Here are my references:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_27055807.html

http://www.linuxquestions.org/questions/linux-hardware-18/how-simulate-unplug-an-re-plug-of-usb-devices-817475/

http://objectmix.com/software-testing/11924-simulate-unplugging-usb-device.html
0
 

Author Comment

by:deleyd
ID: 36538465
Thank you. I forgot to mention this is on a Windows XP.
0
 
LVL 93

Assisted Solution

by:nobus
nobus earned 668 total points
ID: 36541048
for such USB problems, i suggest to use Safely Remove : http://safelyremove.com/?pid=1
another tool is Zentimo : http://zentimo.com/
from it's page : "Enhanced Safe Device Removal
Lets you stop a device, display locking processes, or reconnect a stopped device. "
0
 
LVL 66

Assisted Solution

by:johnb6767
johnb6767 earned 664 total points
ID: 36551789
The DevCon command-line utility functions as an alternative to Device Manager
http://support.microsoft.com/kb/311272

devcon rescan

Might work......
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question