From owner-svn-src-head@FreeBSD.ORG Tue Jan 6 19:54:09 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4CB106570D for ; Tue, 6 Jan 2009 19:54:09 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8D58FC26 for ; Tue, 6 Jan 2009 19:54:09 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 28B748FC53 for ; Tue, 6 Jan 2009 22:54:08 +0300 (MSK) Received: from orion.SpringDaemons.com (drsun1.dialup.corbina.ru [85.21.245.235]) by mx0.deglitch.com (Postfix) with ESMTPA id 6A6DF8FC27; Tue, 6 Jan 2009 22:54:04 +0300 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id DD4E23996C; Tue, 6 Jan 2009 22:56:28 +0300 (MSK) Date: Tue, 6 Jan 2009 22:56:28 +0300 From: Stanislav Sedov To: Hans Petter Selasky Message-Id: <20090106225628.2c8fdc28.stas@FreeBSD.org> In-Reply-To: <200901062043.20696.hselasky@c2i.net> References: <200901040012.n040C2gH040928@svn.freebsd.org> <200901062004.51961.hselasky@c2i.net> <20090106223604.ad706b69.stas@FreeBSD.org> <200901062043.20696.hselasky@c2i.net> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Tue Jan 6 22:54:07 2009 X-DSPAM-Confidence: 0.9899 X-DSPAM-Improbability: 1 in 9809 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4963b6df967004835023868 Cc: Stanislav Sedov , svn-src-head@freebsd.org, svn-src-all@freebsd.org, Alfred Perlstein , src-committers@freebsd.org Subject: Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/us... X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 19:54:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 6 Jan 2009 20:43:19 +0100 Hans Petter Selasky mentioned: > On Tuesday 06 January 2009, Stanislav Sedov wrote: > > On Tue, 6 Jan 2009 20:04:51 +0100 > > > > Hans Petter Selasky mentioned: > > > On Tuesday 06 January 2009, Stanislav Sedov wrote: > > > > http://www.SpringDaemons.com/stas/dmesg > > > > > > From the debug messages it might look like your device has a problem with > > > clearing the stall. Try commenting out the following lines in "ubsa2.c": > > > > > > /* clear stall at first run */ > > > sc->sc_flag |= (UBSA_FLAG_WRITE_STALL | > > > UBSA_FLAG_READ_STALL); > > > > This doesn't affect anything. :-( > > > > BTW, sometime I see the following after plugging in the module: > > In the function "ubsa_cfg_request": > > Try: > > 1) Always return - no requests: Do you get AT+OK back on the modem channel? This doesn't change anything. > 2) Add pause("DLY", hz / 10); in that function. > After this change the device began to work (that is I'm receiving replies for AT commands). However I can connect to it only once, after disconnecting "cu" I can communicate with it again only after device reset (or reattach). - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkljt2wACgkQK/VZk+smlYFC9gCfQVlIWWSmmTW9Ji9rIBjPZDgM hOcAn15p0gTdm5zGXwbU4jdhBhsicXmD =MBND -----END PGP SIGNATURE----- !DSPAM:4963b6df967004835023868!