From owner-freebsd-usb@FreeBSD.ORG Tue Jun 26 12:55:39 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE55116A421; Tue, 26 Jun 2007 12:55:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 29BD113C45B; Tue, 26 Jun 2007 12:55:38 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 528734700; Tue, 26 Jun 2007 14:55:36 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Date: Tue, 26 Jun 2007 14:55:34 +0200 User-Agent: KMail/1.9.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706261455.34821.hselasky@c2i.net> Cc: Ian FREISLICH Subject: Re: USB mouse works again in current!!! 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: Tue, 26 Jun 2007 12:55:39 -0000 Hi Ian, On Tuesday 26 June 2007 14:03, Ian FREISLICH wrote: > Hans Petter Selasky wrote: > > Hi Ian, > > > > Debugging Host Controller Halted is not so easy. It usually means that > > the DMA memory corrupted. > > I gathered it's not that easy. The controller that breaks is this one: > > uhci3@pci0:29:3: class=0x0c0300 card=0x72708086 chip=0x27cb8086 > rev=0x02 hdr=0x00 vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) USB Universal Host Controller' > class = serial bus > subclass = USB > > uhci3: port 0x4040-0x405f irq 16 at device > 29.3 on pci0 uhci3: [GIANT-LOCKED] > uhci3: [ITHREAD] > uhci3: LegSup = 0x1010 > usb3: on uhci3 > usb3: USB revision 1.0 > usbd_get_string: getting lang failed, using 0 > uhub3: on usb3 > uhub3: 2 ports with 2 removable, self powered > > > Have you tried my new USB stack, popularly called HPS USB stack ? > > No, I'm going to try that now. I'm assuming it's: > http://www.turbocat.net/~hselasky/usb4bsd/ Yes, that is correct. If you are building with the latest FreeBSD-7 current, then be aware that it might break. You need to zero at least "/usr/src/sys/dev/usb/umass.c" after installation. In general, just zero out the files that won't compile, if you get any build errors. HINT: Use the "-k" option after "make" to get all the compile errors in one go: tcsh cd /usr/src make -k buildkernel KERNCONF=custom -DNOCLEAN -DNO_CLEAN >& compile_log.txt Else my USB stack compiles fine on FreeBSD 6.2. --HPS > > I tried building 1.6.1, but I got the following: That is an old version. There has been many changes since that release. > > So I'm trying the latest. > > > And what kind of platform are you using? > > It's an Apple MacBook Pro. > Ok. --HPS