On 7/17/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jul 2007, Branden Sletteland wrote: > > > With that code added I just see the print out for each of the four > > ports three times, and the device is not detected. > > Try this patch instead. > > Alan Stern > > > Index: 2.6.22/drivers/usb/host/ehci-hub.c > =================================================================== > --- 2.6.22.orig/drivers/usb/host/ehci-hub.c > +++ 2.6.22/drivers/usb/host/ehci-hub.c > @@ -372,6 +372,13 @@ ehci_hub_status_data (struct usb_hcd *hc > /* port N changes (bit N)? */ > spin_lock_irqsave (&ehci->lock, flags); > for (i = 0; i < ports; i++) { > + > + /* Some HCs don't like to be jostled during a reset */ > + if (ehci->reset_done[i] && > + time_before(jiffies, ehci->reset_done[i])) { > + printk("Skip status poll for port %d\n", i+1); > + continue; > + } > temp = ehci_readl(ehci, &ehci->regs->port_status [i]); > > /* > > >
This results in the device being detected as a Full speed device as before. (Actually a High speed device plugged into a Full speed hub, with warnings from the USB drivers) No skip status messages are appearing. Branden ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel