Subject: Re: USB problem on -current?
To: Juan RP <juan@xtrarom.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 03/20/2007 12:10:47
This is a multipart MIME message.

--==_Exmh_41658578441600
Content-Type: text/plain; charset=us-ascii


juan@xtrarom.org said:
> uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB UHCI Controller 
> [...]

This is close to what I have. (I mistyped uhci->ohci in my
previous mail.)

As a temporary workaround, you could try the appended patch.
It should disable the optimisation mentioned.
I'll try to get some debugging code in place later today.
Sorry for the breakage.

best regards
Matthias



--==_Exmh_41658578441600
Content-Type: text/plain ; name="uhub.txt"; charset=us-ascii
Content-Description: uhub.txt
Content-Disposition: attachment; filename="uhub.txt"

# 
# old_revision [20ed559b977f914432de685d7cfcfdf6cb8065b9]
# 
# patch "sys/dev/usb/uhub.c"
#  from [5d3d36e84fc89f85438d0504fe587fddbe54af0e]
#    to [855df28b6d507bacaa8fe577e214350fc3889e62]
# 
============================================================
--- sys/dev/usb/uhub.c	5d3d36e84fc89f85438d0504fe587fddbe54af0e
+++ sys/dev/usb/uhub.c	855df28b6d507bacaa8fe577e214350fc3889e62
@@ -395,7 +395,7 @@ uhub_explore(usbd_device_handle dev)
 		status = change = 0;
 
 		/* don't check if no change summary notification */
-		if (PORTSTAT_ISSET(sc, port) || reconnect) {
+		if (1 /*PORTSTAT_ISSET(sc, port) || reconnect*/) {
 			err = usbd_get_port_status(dev, port, &up->status);
 			if (err) {
 				DPRINTF(("uhub_explore: get port stat failed, "

--==_Exmh_41658578441600--