All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miguel <mc354@tid.es>
To: lkml <linux-kernel@vger.kernel.org>
Subject: software unplug and plug USB
Date: Fri, 28 Sep 2007 12:56:46 +0200	[thread overview]
Message-ID: <1190977006.10424.6.camel@McM> (raw)

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



             reply	other threads:[~2007-09-28 11:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 10:56 Miguel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-28 12:17 software unplug and plug USB Tomasz Chmielewski
2007-10-01  7:36 ` Miguel
2007-10-01  7:39   ` Tomasz Chmielewski
2007-10-01  8:18     ` Miguel
2007-10-01  8:30       ` Jiri Slaby
2007-10-01  9:58       ` Oliver Neukum
2007-10-01 10:04       ` Tomasz Chmielewski
2007-10-01 10:46         ` Miguel
2007-10-01 11:13           ` Jiri Slaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1190977006.10424.6.camel@McM \
    --to=mc354@tid.es \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.