Date: Tue, 26 Jun 2007 16:50:38 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Ian FREISLICH <ianf@clue.co.za> Cc: freebsd-usb@freebsd.org Subject: Re: USB mouse works again in current!!! Message-ID: <200706261650.38869.hselasky@c2i.net> In-Reply-To: <E1I3AsZ-000Pnd-BI@clue.co.za> References: <E1I3AsZ-000Pnd-BI@clue.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 26 June 2007 15:14, Ian FREISLICH wrote: > Hans Petter Selasky wrote: > > 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: <UHCI (generic) USB controller> port 0x4040-0x405f irq 16 at > > > device 29.3 on pci0 uhci3: [GIANT-LOCKED] > > > uhci3: [ITHREAD] > > > uhci3: LegSup = 0x1010 > > > usb3: <UHCI (generic) USB controller> on uhci3 > > > usb3: USB revision 1.0 > > > usbd_get_string: getting lang failed, using 0 > > > uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> 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. > > I'm running the latest current. After doing as you suggest, will > I still have access to USB mass storage? If not, then this isn't > really a workable solution. No, you will not have access to USB mass storage unless you update "umass.c" so that it compiles. This is because they recently changed the CAM API. I will probably fix this at some point, but not right now. Also there is a contigmalloc bug in FreeBSD-7 current, last time I checked, which you maybe also want to patch. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706261650.38869.hselasky>