software unplug and plug USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux