software unplug and plug USB
hi,
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?
The other problem is that this device is recognized like a cd rom although I have patch my kernel 2.6.17. here is the var/messages:
Sep 28 12:53:41 ecar kernel: [17179613.972000] Vendor: HUAWEI Model: Mass Storage Rev: 2.31 Sep 28 12:53:41 ecar kernel: [17179613.972000] Type: CD-ROM ANSI SCSI revision: 02 Sep 28 12:53:41 ecar kernel: [17179613.996000] sr0: scsi3-mmc drive: 65x/349x xa/form2 cdda tray Sep 28 12:53:41 ecar kernel: [17179613.996000] Uniform CD-ROM driver
Revision: 3.20
could anybody help me?
regards,
mike