Re: current couldn't attach usb mouse

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Mon, 4 May 2009 15:56:17 +0200
On Monday 04 May 2009, Chao Shin wrote:
> usbus0: 12Mbps Full Speed USB v1.0
> uhci_interrupt: host controller process error

Hi,

It appears your USB Host Controller Hardware has crashed.

Could you boot having the following line in /boot/loader.conf:

hw.usb2.uhci.debug=15

And send new dmesg.



Patch you can try in the meanwhile:

Edit /sys/dev/usb/controller/usb_controller.c:

-	usb2_dma_tag_setup(bus->dma_parent_tag, bus->dma_tags,
-	    dmat, &bus->bus_mtx, NULL, 32, USB_BUS_DMA_TAG_MAX);

+	usb2_dma_tag_setup(bus->dma_parent_tag, bus->dma_tags,
+	    dmat, &bus->bus_mtx, NULL, 30, USB_BUS_DMA_TAG_MAX);

This will reduce the DMA bits to 30.

--HPS
Received on Mon May 04 2009 - 11:53:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC