From: Miguel <mc354@tid.es>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: software unplug and plug USB
Date: Mon, 01 Oct 2007 10:18:12 +0200 [thread overview]
Message-ID: <1191226692.6014.16.camel@McM> (raw)
In-Reply-To: <4700A44C.2010700@wpkg.org>
I also have a mobile phone connected, a gps and a keyboard, i do the
following:
ecar@ecar:~$ lsmod | grep usb
usbserial 29928 1 pl2303
usbtouchscreen 8708 0
usbcore 130304 7
libusual,pl2303,usbserial,usbtouchscreen,ehci_hcd,uhci_hcd
ecar@ecar:~$ rmmod pl2303
ERROR: Removing 'pl2303': Operation not permitted
ecar@ecar:~$ sudo rmmod pl2303
ecar@ecar:~$ sudo rmmod usbserial
ecar@ecar:~$ modprobe usbserial
FATAL: Error inserting usbserial
(/lib/modules/2.6.17-11-386/kernel/drivers/usb/serial/usbserial.ko):
Operation not permitted
(reverse-i-search)`mod': cd backup_modules/
(reverse-i-search)`modpro': sudo modprobe ehci_hcd
ecar@ecar:~$ sudo modprobe usbserial vendor=0x12d1 product=0x1003
ecar@ecar:~$ lsmod | grep usb
usbserial 29928 0
usbtouchscreen 8708 0
usbcore 130304 6
usbserial,libusual,usbtouchscreen,ehci_hcd,uhci_hcd
but only when I unplug and plug manually, the modem starts up ...
Because of that i wanted to unplug/plug via scripting (software way)
On Mon, 2007-10-01 at 09:39 +0200, Tomasz Chmielewski wrote:
> Miguel schrieb:
> > actually, I have a USB keyboard, could that be the problem? why?
>
> Because when you remove USB modules, USB devices, including USB
> keyboards, won't work...
>
>
> > removing and adding modules doesn't solve my problem... The USB has
> > several functions: modem and usb mass storage and only the storage one
> > is recognized
> > :(
>
> What modules exactly do you unload/load again, in what order, using
> which commands?
>
>
next prev parent reply other threads:[~2007-10-01 8:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2007-09-28 10:56 Miguel
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=1191226692.6014.16.camel@McM \
--to=mc354@tid.es \
--cc=linux-kernel@vger.kernel.org \
--cc=mangoo@wpkg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox