Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754152AbXJaGQJ (ORCPT ); Wed, 31 Oct 2007 02:16:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752861AbXJaGP4 (ORCPT ); Wed, 31 Oct 2007 02:15:56 -0400 Received: from mx.logic.tuwien.ac.at ([128.130.175.19]:39445 "EHLO mx.logic.tuwien.ac.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843AbXJaGP4 (ORCPT ); Wed, 31 Oct 2007 02:15:56 -0400 Date: Wed, 31 Oct 2007 07:15:52 +0100 To: Pete Zaitcev Cc: Chuck Ebbert , Kristoffer Ericson , linux-kernel@vger.kernel.org, USB development list Subject: Re: Huawei E220 and usb storage Message-ID: <20071031061552.GH11722@gamma.logic.tuwien.ac.at> References: <20071030190945.GC32153@gamma.logic.tuwien.ac.at> <20071030211729.6a80a93a.Kristoffer.ericson@gmail.com> <20071030204720.GI8479@gamma.logic.tuwien.ac.at> <47279EF7.3040406@redhat.com> <20071030212213.GA13410@gamma.logic.tuwien.ac.at> <20071030152816.f2e8dd7c.zaitcev@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071030152816.f2e8dd7c.zaitcev@redhat.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: Norbert Preining Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 32 On Di, 30 Okt 2007, Pete Zaitcev wrote: > The difference with huaweiAktBbo.c seems that kernel uses a nonzero length. > Can you try zero length with the kernel? It's the second argument to the last. I tried with the git patch plus changing the penultimage argument from 0x1 to 0. The switch of the modem is still not done automatically, but calling huaweiAktBbo does effect the switch. In my tests I did NOT reboot since usb-storage was compiled as module (usbserial and option fix in the kernel). But I made sure that I loaded the right (the module with the patched code) after removing the old one. Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining Vienna University of Technology Debian Developer Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- GALASHIELS (pl.n.) A form of particularly long sparse sideburns which are part of the mandatory uniform of British Rail guards. --- Douglas Adams, The Meaning of Liff - 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/