Solved

Emulate unplug/plug back in to USB port?

Posted on 2011-09-14
4
2,006 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 167 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 92

Assisted Solution

by:nobus
nobus earned 167 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 166 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

773 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