From owner-freebsd-usb@FreeBSD.ORG Mon May 2 12:00:03 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B327106564A for ; Mon, 2 May 2011 12:00:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id BDD2F8FC08 for ; Mon, 2 May 2011 12:00:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=118a5bn0tGnRZbUa9ClBty6BTuM1bA5mUZqmf2RHYp4= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=C1SzunZVtBMA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=JwSGMG_0EHrHRYoXca0A:9 a=spvJR3V_2PvucMq4HT8A:7 a=wPNLvfGTeEIA:10 a=nwOaJ_2PUdwI4mVj:21 a=9XcfC_M_fz0MidCU:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 121164439; Mon, 02 May 2011 13:59:52 +0200 From: Hans Petter Selasky To: Damjan Marion Date: Mon, 2 May 2011 13:58:44 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <58C62437-2759-47DE-83BB-1F9F377AB212@gmail.com> <201105021333.39129.hselasky@c2i.net> <87A80DBE-517D-44E6-B769-E0F338E22EF8@gmail.com> In-Reply-To: <87A80DBE-517D-44E6-B769-E0F338E22EF8@gmail.com> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105021358.44990.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Timeouts on Marvell EHCI (FreeBSD-arm) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 12:00:03 -0000 On Monday 02 May 2011 13:51:18 Damjan Marion wrote: > On May 2, 2011, at 1:33 PM, Hans Petter Selasky wrote: > > On Monday 02 May 2011 12:58:02 Damjan Marion wrote: > >> Hi, > >> > >> I'm trying to bring up FreeBSD on Marvell 88F5181L based ARM board and I > >> have problem with EHCI driver. EHCI controller is detected but it fails > >> to activate connected device. > >> > >> I will appreciate any hints how to fix this. Output follows.... > >> > >> Thanks, > >> > >> Damjan > > > > Can you set: > > > > hw.usb.uhub.debug=15 > > > > and > > > > hw.usb.debug=15 > > > > --HPS > > Here it is, thanks.... > > > ehci0: mem 0xf1050000-0xf1050fff > irq 17,16 on simplebus0 usbus0: EHCI version 1.0 > usbus0: set host controller mode > usbus0: on ehci0 > usb_needs_explore: > usb_needs_explore: No root HUB > pcib0: mem 0xf1030000-0xf1031fff > irq 11 on fdtbus0 pci0: on pcib0 > Timecounters tick every 1.000 msec > usbus0: 480Mbps High Speed USB v2.0 > usb_alloc_device: parent_dev=0xc13b1300, bus=0xc1393c78, parent_hub=0, > depth=0, port_index=0, port_no=1, speed=3, usb_mode=0 > usb_set_device_state: udev 0xc13ba800 state DETACHED -> POWERED > usbd_req_set_address: setting device address=1 > usbd_do_request_flags: udev=0xc13ba800 bmRequestType=0x00 bRequest=0x05 > wValue=0x0001 wIndex=0x0000 wLength=0x0000 usbd_do_request_flags: Handle > Request function is set > Root mount waiting for: usbus0 > usb_set_device_state: udev 0xc13ba800 state POWERED -> ADDRESSED > usbd_setup_device_desc: Minimum MaxPacketSize is large enough to hold the > complete device descriptor usbd_req_get_device_desc: > usbd_req_get_desc: id=0, type=1, index=0, max_len=18 > usbd_do_request_flags: udev=0xc13ba800 bmRequestType=0x80 bRequest=0x06 > wValue=0x0100 wIndex=0x0000 wLength=0x0012 usbd_do_request_flags: Handle > Request function is set > usbd_setup_device_desc: adding unit addr=1, rev=200, class=9, subclass=0, > protocol=1, maxpacket=64, len=18, speed=3 usbd_req_get_desc: id=0, type=3, > index=0, max_len=4 > usbd_do_request_flags: udev=0xc13ba800 bmRequestType=0x80 bRequest=0x06 > wValue=0x0300 wIndex=0x0000 wLength=0x0002 usbd_do_request_flags: Handle Hi, I looks like no EHCI interrupts are generated. Try calling the EHCI interrupt every 100ms and see what happens. --HPS