Re: software unplug and plug USB

2007-10-01 Thread Jiri Slaby
On 10/01/2007 12:46 PM, Miguel wrote: > if I remove ehci_hcd / uhci_hcd / ohci_hcd , some other devices like > touchscreen, GPS and keyboard could stop working. > > backup_modules doesn't matter here, is my personal backup. I have tried > also to recompile some modules because some times my modem

Re: software unplug and plug USB

2007-10-01 Thread Miguel
if I remove ehci_hcd / uhci_hcd / ohci_hcd , some other devices like touchscreen, GPS and keyboard could stop working. backup_modules doesn't matter here, is my personal backup. I have tried also to recompile some modules because some times my modem huaweis is recognized like usb mass storage. I

Re: software unplug and plug USB

2007-10-01 Thread Tomasz Chmielewski
Miguel schrieb: I also have a mobile phone connected, a gps and a keyboard, i do the following: [EMAIL PROTECTED]:~$ lsmod | grep usb usbserial 29928 1 pl2303 usbtouchscreen 8708 0 usbcore 130304 7 libusual,pl2303,usbserial,usbtouchscreen,ehci_hcd,uhci_h

Re: software unplug and plug USB

2007-10-01 Thread Oliver Neukum
Am Montag 01 Oktober 2007 schrieb Miguel: > but only when I unplug and plug manually, the modem starts up ... > Because of that i wanted to unplug/plug via scripting (software way) You can use the bind & unbind attributes in sysfs. Regards Oliver - To unsubscribe from thi

Re: software unplug and plug USB

2007-10-01 Thread Jiri Slaby
On 10/01/2007 10:18 AM, Miguel wrote: > but only when I unplug and plug manually, the modem starts up ... > Because of that i wanted to unplug/plug via scripting (software way) You might try this (bottom of the page): http://lkml.org/lkml/2007/5/28/193 regards, -- Jiri Slaby ([EMAIL PROTECTED])

Re: software unplug and plug USB

2007-10-01 Thread Miguel
I also have a mobile phone connected, a gps and a keyboard, i do the following: [EMAIL PROTECTED]:~$ lsmod | grep usb usbserial 29928 1 pl2303 usbtouchscreen 8708 0 usbcore 130304 7 libusual,pl2303,usbserial,usbtouchscreen,ehci_hcd,uhci_hcd [EMAIL PROTECTED

Re: software unplug and plug USB

2007-10-01 Thread Tomasz Chmielewski
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 on

Re: software unplug and plug USB

2007-10-01 Thread Miguel
actually, I have a USB keyboard, could that be the problem? why? 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 :( any thoughts? On Fri, 2007-09-28 at 14:17 +0200, Tomasz Chmielewski wrote:

Re: software unplug and plug USB

2007-09-28 Thread Tomasz Chmielewski
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? If the modem doesn't have any other power sources than USB, just removing the modem's and US