Solved

Emulate unplug/plug back in to USB port?

Posted on 2011-09-14
4
2,083 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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). …

726 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