From owner-freebsd-current@FreeBSD.ORG Thu Jan 22 21:07:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C90C51065706; Thu, 22 Jan 2009 21:07:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 08D788FC1D; Thu, 22 Jan 2009 21:07:28 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ysW5hgY2mRQA:10 a=6I5d2MoRAAAA:8 a=o1t3ePbbDe6zwtdeGQUA:9 a=9WOTzE1hlvIT2Tm02K0A:7 a=FfbHXuv4IowFyaqV_3bXABohXp0A:4 a=LY0hPdMaydYA:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO [10.37.1.92]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 133590659; Thu, 22 Jan 2009 22:07:27 +0100 From: Hans Petter Selasky To: Andrew Thompson Date: Thu, 22 Jan 2009 22:09:50 +0100 User-Agent: KMail/1.9.7 References: <1421.1232314073@critter.freebsd.dk> <200901221624.13536.hselasky@c2i.net> <20090122195809.GD84458@citylink.fud.org.nz> In-Reply-To: <20090122195809.GD84458@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901222209.51225.hselasky@c2i.net> Cc: Poul-Henning Kamp , freebsd-current@freebsd.org, current@freebsd.org Subject: Re: USB2 + ucom + UHCI: still not happy X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 21:07:30 -0000 On Thursday 22 January 2009, Andrew Thompson wrote: > On Thu, Jan 22, 2009 at 04:24:12PM +0100, Hans Petter Selasky wrote: > > Hi, > > > > Try these patches on a clean -current. Tested with a similar device of > > yours! > > > > http://perforce.freebsd.org/chv.cgi?CH=156521 > > http://perforce.freebsd.org/chv.cgi?CH=156522 > > I am still seeing the UHCI attach issue with these patches applied. > > usb2_alloc_device:1401: set address 2 failed (ignored) > usb2_alloc_device:1436: getting device descriptor at addr 2 failed! > usb2_req_re_enumerate:1366: addr=2, set address failed! (ignored) > usb2_req_re_enumerate:1379: getting device descriptor at addr 2 failed! > usb2_req_re_enumerate:1366: addr=2, set address failed! (ignored) > usb2_req_re_enumerate:1379: getting device descriptor at addr 2 failed! > ugen1.2: <> at usbus1 (disconnected) > uhub_reattach_port:413: could not allocate new device! > > > Andrew Hi, You can try editing "uhci2.c" and change the "if ()" in: static void uhci_set_hw_power(struct usb2_bus *bus) to "if (1)". That will prevent the USB schedule from ever stopping. --HPS