current couldn't attach usb mouse

Hans Petter Selasky hselasky at c2i.net
Mon May 4 13:53:46 UTC 2009


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




More information about the freebsd-current mailing list