On Mon, 30 Apr 2007, David Brownell wrote: > No; track down that CMD_ASE/STS_ASS thing and I expect this > problem will just vanish.
The patch below should help verify some of the assumptions in the driver. If they turn out to be wrong then we'll know where to look. If they turn out to be right... then we'll be no better off. To test this, collect the dmesg log starting from before you plug in the USB drive and ending several seconds later, when everything is idle. Alan Stern Index: usb-2.6/drivers/usb/host/ehci-q.c =================================================================== --- usb-2.6.orig/drivers/usb/host/ehci-q.c +++ usb-2.6/drivers/usb/host/ehci-q.c @@ -795,6 +795,7 @@ static void qh_link_async (struct ehci_h /* in case a clear of CMD_ASE didn't take yet */ (void)handshake(ehci, &ehci->regs->status, STS_ASS, 0, 150); +printk("Start ASS: %x\n", ehci_readl(ehci, &ehci->regs->status) & STS_ASS); cmd |= CMD_ASE | CMD_RUN; ehci_writel(ehci, cmd, &ehci->regs->command); ehci_to_hcd(ehci)->state = HC_STATE_RUNNING; @@ -1026,6 +1027,7 @@ static void start_unlink_async (struct e if (ehci_to_hcd(ehci)->state != HC_STATE_HALT && !ehci->reclaim) { /* ... and CMD_IAAD clear */ +printk("End ASS: %x\n", ehci_readl(ehci, &ehci->regs->status) & STS_ASS); ehci_writel(ehci, cmd & ~CMD_ASE, &ehci->regs->command); wmb (); ------------------------------------------------------------------------- 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-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users