Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is anyone aware of a USB Switch that is programmable or controlled via the PC?

I am writing a test application that requires the device (a mobile phone) to be plugged in via USB to a PC for initialization and then plugged in to a wall charger for a particular test.

Ideally I'd be able to have the phone plugged into the switch and then have two outputs from the switch - one to the PC and one to the wall charger. And then be able to set which connection to use from the PC.

Any thoughts?

share|improve this question
1  
I hate to say it, but this would be a trivial device for you to create yourself if you were willing to hack up a few USB cables. All you need is a four-pole double throw switch. Hook up all of your inputs and outputs, and bam, insta-USB switch. And it won't cost more then a dollar if you already have the cables! –  Breakthrough Jun 23 '11 at 16:38
    
Ah, I see what you mean now - you want to use the switch from the PC. In that case, you could use a microcontroller (control it via USB or serial) to switch between the two with a bunch of relays. –  Breakthrough Jun 23 '11 at 16:48
    
Right... That's similar to what I'm currently doing (switching using a PXI switch module)... But I was hoping to find a COTS solution. –  J J Jun 24 '11 at 1:21
    
Get an Arduino and some relays :) –  billc.cn Aug 1 '11 at 0:37

1 Answer 1

http://www.obdev.at/products/vusb/powerswitch.html

simple and cheap, will have to change it to operate relays instead of just powering lights.

I haven't build the powerswitch example, but have used vusb for both serial and keyboard projects. works with really cheap hardware.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.