Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754479AbXJAHgm (ORCPT ); Mon, 1 Oct 2007 03:36:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751595AbXJAHgf (ORCPT ); Mon, 1 Oct 2007 03:36:35 -0400 Received: from tidos.tid.es ([193.145.240.2]:58768 "EHLO correo.tid.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbXJAHge (ORCPT ); Mon, 1 Oct 2007 03:36:34 -0400 Date: Mon, 01 Oct 2007 09:36:05 +0200 From: Miguel Subject: Re: software unplug and plug USB In-reply-to: <46FCF0F5.9030004@wpkg.org> To: Tomasz Chmielewski Cc: LKML Message-id: <1191224165.6014.12.camel@McM> MIME-version: 1.0 X-Mailer: Evolution 2.10.1 Content-type: text/plain Content-transfer-encoding: 7BIT References: <46FCF0F5.9030004@wpkg.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 28 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: > > 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 USB modules, and the modprobing them again > should help. > > Just take care if you have it connected to the PC with a USB keyboard ;) > > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/