Re: USB warning on cdc-acm device close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 28 Jul 2009, Manuel Lauss wrote:

> > Did you disable only the I/O watchdog, or did you also disable the IAA
> > watchdog?
> 
> I/O Watchdog. With this:
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index 7d03549..047b7c0 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -140,7 +139,9 @@ timer_action(struct ehci_hcd *ehci, enum
> ehci_timer_action action)
>  			t = DIV_ROUND_UP(EHCI_SHRINK_FRAMES * HZ, 1000) + 1;
>  			break;
>  		}
> +#ifndef CONFIG_USB_EHCI_NO_IO_WATCHDOG
>  		mod_timer(&ehci->watchdog, t + jiffies);
> +#endif
>  	}
>  }

Ooh, that doesn't disable just the I/O watchdog!  It also disables the 
Async-Off and Async-Shrink watchdogs (they share the same timer).

Of course, neither of those would account for what you're seeing...

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux