From owner-freebsd-arm@FreeBSD.ORG Tue Nov 6 12:59:15 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA9416A41B for ; Tue, 6 Nov 2007 12:59:15 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id A464213C480 for ; Tue, 6 Nov 2007 12:59:14 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id lA6CwxjC084078; Tue, 6 Nov 2007 13:58:59 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id lA6CwsoL010628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Nov 2007 13:58:54 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id lA6Cwsp0010159; Tue, 6 Nov 2007 13:58:54 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id lA6CwrgW010158; Tue, 6 Nov 2007 13:58:53 +0100 (CET) (envelope-from ticso) Date: Tue, 6 Nov 2007 13:58:53 +0100 From: Bernd Walter To: Krassimir Slavchev Message-ID: <20071106125853.GJ4593@cicely12.cicely.de> References: <472F1A97.3090308@bulinfo.net> <20071105.080609.1723237322.imp@bsdimp.com> <47303B8E.2040403@bulinfo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47303B8E.2040403@bulinfo.net> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.052, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-arm@freebsd.org Subject: Re: Detecting USB devices at startup? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 12:59:15 -0000 On Tue, Nov 06, 2007 at 12:01:50PM +0200, Krassimir Slavchev wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > M. Warner Losh wrote: > > In message: <472F1A97.3090308@bulinfo.net> > > Krassimir Slavchev writes: > > : At boot I get: > > ::: doesn't > > : But if I unplug and plug the usb device: > > ::: works > > : Any ideas why this happens? > > : PS1: I have this problem with all USB devices I tested. > > > > This may be a power issue. I've been running a KB2902A for months > > with -current with various types of ucom devices that are seen at > > boot without the hotplug. > > > > Maybe you can try adding a powered hub and seeing if that helps. > > > > Warner > > > > Yes, It looks like a power issue but the power supply used in the > development board is very good designed (LM2576 is used). I will measure > power line again. Also the PWM frequency might interfere with PLL. > I will try to find powered hub to make tests. All usb hubs on the market > are bus-powered :( I can ensure you: there are self powered hubs. If in doubt buy a seven port, they can't work bus powered. Is the LM2576 really used for USB? This is a very beefy thing just for a single port and everything else in a AT91RM9200 system is running at 3,3V or lower. On my board I use such a 257x regulator for 3,3V, separate linear regulators from 3,3V to supply the 1.8V for core and switch and another linear regulator directly from input for 5V to USB. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de