?
Solved

Emulate unplug/plug back in to USB port?

Posted on 2011-09-14
4
Medium Priority
?
2,144 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 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 92

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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

770 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