From owner-freebsd-usb@FreeBSD.ORG Wed Mar 30 11:57:08 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02CCD16A4CE for ; Wed, 30 Mar 2005 11:57:08 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25AC43D41 for ; Wed, 30 Mar 2005 11:57:06 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2UBv3sf086694 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 30 Mar 2005 13:57:04 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2UBuUVK004399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2005 13:56:31 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2UBuUL2095422; Wed, 30 Mar 2005 13:56:30 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2UBuUCY095421; Wed, 30 Mar 2005 13:56:30 +0200 (CEST) (envelope-from ticso) Date: Wed, 30 Mar 2005 13:56:29 +0200 From: Bernd Walter To: Alexandre Jouravlev Message-ID: <20050330115629.GO33677@cicely12.cicely.de> References: <20050330104411.GL33677@cicely12.cicely.de> <20050330110436.GM33677@cicely12.cicely.de> <6ea402e33ab5f4d1a9e66c51c5ddc78a@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ea402e33ab5f4d1a9e66c51c5ddc78a@mail.ru> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: ticso@cicely.de cc: freebsd-usb@freebsd.org Subject: Re: Ezload problems. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 11:57:08 -0000 On Wed, Mar 30, 2005 at 03:40:36PM +0400, Alexandre Jouravlev wrote: > > On Mar 30, 2005, at 3:04 PM, Bernd Walter wrote: > > > >E.g. you switch firmware by issuing an USB request and if the > >device disconnects bevor the request is completed things may hang > >until timeout or even forever. > > > Device disconnects normal, as I can see the device after reboot. (At > least I think so.) That you see it after reboot is a completely different story. During reboot the device won't receive USB frames requiring the device to suspend and reset USB states when seeing frames again. > >You say that you see the disconnect. > >In which lock state (ps -axl) are the usb* and ezload processes > >after the disconnect message? > > There is no ezdownload process after disconnect message. usb* in > different states like usbevt and usbtsk. With USB_DEBUG I can see that > download process is completed before disconnection. Hidden flag -r of > ezdownload utility also does not help. Try setting hw.usb.uhub.debug=20 befor testing. Would be interesting to see why you see a disconnect event, but no connect. > >Is there any change if you wait a minute? > > > No change even if I wait for a whole night. usbevt and usbtsk are also OK if the system is idle. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de