From owner-freebsd-arm@FreeBSD.ORG Tue Jul 20 13:28:34 2010 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 0DAB01065670 for ; Tue, 20 Jul 2010 13:28:34 +0000 (UTC) (envelope-from gja@ansley.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id AC1B58FC12 for ; Tue, 20 Jul 2010 13:28:30 +0000 (UTC) Received: by gwb19 with SMTP id 19so2761275gwb.13 for ; Tue, 20 Jul 2010 06:28:29 -0700 (PDT) Received: by 10.100.122.12 with SMTP id u12mr796469anc.112.1279632509546; Tue, 20 Jul 2010 06:28:29 -0700 (PDT) Received: from G5.internal.ansley.com (99-135-104-139.lightspeed.tukrga.sbcglobal.net [99.135.104.139]) by mx.google.com with ESMTPS id u14sm75263904ann.0.2010.07.20.06.28.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Jul 2010 06:28:28 -0700 (PDT) Sender: Greg Ansley Message-ID: <4C45A47A.8070403@ansley.com> Date: Tue, 20 Jul 2010 09:28:26 -0400 From: Greg Ansley User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: "freebsd-arm@FreeBSD.org" References: <4C4590E5.1020407@ansley.com> <201007201405.43686.hselasky@c2i.net> In-Reply-To: <201007201405.43686.hselasky@c2i.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: AT91RM9200: USB broken? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 13:28:34 -0000 No, I don't think this is normal. The messages are exactly the same with a known good USB flash drive attached, and the drive is not found. Same result as far back as 8.0-RELEASE-p4. Since USB works fine on the SAM9G20 card I think I will ignore this for now, so as not to delay what I am doing. Greg On 7/20/10 8:05 AM, Hans Petter Selasky wrote: > On Tuesday 20 July 2010 14:04:53 Greg Ansley wrote: > >> While regression testing my patches, I found that USB is not working on >> the AT91RM9200 from head (pre-patch). Error shown are the same with or >> without a USB device attached. >> >> Just wondering of anyone has any insights before I spend time going down >> this rabbit hole... >> >> ... >> usbus0: 12Mbps Full Speed USB v1.0 >> Root mount waiting for: usbus0 >> ugen0.1: at usbus0 >> uhub0: on usbus0 >> uhub0: 2 ports with 2 removable, self powered >> Root mount waiting for: usbus0 >> usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) >> usb_alloc_device: getting device descriptor at addr 2 failed, >> USB_ERR_IOERROR >> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, >> ignored) >> usbd_req_re_enumerate: getting device descriptor at addr 2 failed, >> USB_ERR_IOERROR >> Root mount waiting for: usbus0 >> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, >> ignored) >> Root mount waiting for: usbus0 >> usbd_req_re_enumerate: getting device descriptor at addr 2 failed, >> USB_ERR_IOERROR >> ugen0.2:<(null)> at usbus0 (disconnected) >> uhub_reattach_port: could not allocate new device >> Trying to mount root from ufs:/dev/mmcsd0s1a >> >> > Hi, > > I think those messages are normal, because one of the USB ports is not > connected. > > What messages do you get when plugging in a real USB device? > > --HPS >