11

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?

J J
  • 241

2 Answers2

4

This product offering from Acroname looks like it might fit your needs. Programmable through C++ and Python API interface and designed for test automation and regression.

http://acroname.com/products/s77-usbhub-2x4-0

2

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.

stonefoz
  • 121