From owner-svn-src-head@FreeBSD.ORG Tue Jan 6 20:01:54 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 AAF00106566C; Tue, 6 Jan 2009 20:01:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4938FC1B; Tue, 6 Jan 2009 20:01:53 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=QwWaQ7pgnxYA:10 a=tgiRRak4JjAA:10 a=rREUrScshOl7G2h6aTFPgw==:17 a=F-Y6h51ZAAAA:8 a=62FAX-sNFUz4PeZK3J0A:9 a=RgWdw775qXAWmPfdS5MA:7 a=Jz0rIYrg1Y3LTUe37p9Hn5vqjRAA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.73.248.227] (account mc467741@c2i.net [62.73.248.227] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1179032114; Tue, 06 Jan 2009 21:01:51 +0100 From: Hans Petter Selasky To: Stanislav Sedov Date: Tue, 6 Jan 2009 21:04:14 +0100 User-Agent: KMail/1.9.7 References: <200901040012.n040C2gH040928@svn.freebsd.org> <200901062043.20696.hselasky@c2i.net> <20090106225628.2c8fdc28.stas@FreeBSD.org> In-Reply-To: <20090106225628.2c8fdc28.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901062104.14919.hselasky@c2i.net> Cc: 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 20:01:55 -0000 On Tuesday 06 January 2009, Stanislav Sedov wrote: > 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). Can you send me change 2) with debugging output? --HPS