[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4700C649.90300@wpkg.org>
Date: Mon, 01 Oct 2007 12:04:57 +0200
From: Tomasz Chmielewski <mangoo@...g.org>
To: Miguel <mc354@....es>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: software unplug and plug USB
Miguel schrieb:
> I also have a mobile phone connected, a gps and a keyboard, i do the
> following:
>
>
> ecar@...r:~$ lsmod | grep usb
> usbserial 29928 1 pl2303
> usbtouchscreen 8708 0
> usbcore 130304 7
> libusual,pl2303,usbserial,usbtouchscreen,ehci_hcd,uhci_hcd
> ecar@...r:~$ rmmod pl2303
> ERROR: Removing 'pl2303': Operation not permitted
> ecar@...r:~$ sudo rmmod pl2303
> ecar@...r:~$ sudo rmmod usbserial
Only then It's not enough. You also have to remove ehci_hcd / uhci_hcd
/ ohci_hcd.the device will be powered off (unless the method described
in the link given by Jiri Slaby powers the device off, too).
> ecar@...r:~$ 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/
cd backup_modules/? Where do you keep your modules?
--
Tomasz Chmielewski
http://blog.wpkg.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists