I'm using a huawei E220 modem and occasionally it doesn't work and I must unplug and plug it again, run the scripts connection to make it works again. how can I unplug an plug an USB modem via software?
If the modem doesn't have any other power sources than USB, just removing the modem's and USB modules, and the modprobing them again should help.
Just take care if you have it connected to the PC with a USB keyboard ;) -- Tomasz Chmielewski http://blog.wpkg.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/