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.

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

1 Answer 1

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

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.