Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a device (a modem) connected to a USB port (/dev/ttyACM0, Ubuntu 12.04) to dial a phone number, which only works if I perform the ultimate reset (taking device out of USB port, waiting some seconds and plug it in again).

My question: Is it possible to solve this on Linux by software, i.e. to 'reset' the modem as if it has been plugged out or to reset the USB port itself (disconnect power?), so the modem is being reset as it has been plugged out and in again?

share|improve this question
up vote 1 down vote accepted

I think long time ago there was a way to switch off USB devices by software only. Then people started to fiddle with power of USB disks screwing the USB driver stack. After all the kernel gods removed software switch off capabilities.

The only way I currently know about to completely power off USB devices is a hybrid hard- and software solution:

Hard Reset USB in Ubuntu 10.04

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .