[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20081023152216.GA3911@kroah.com>
Date: Thu, 23 Oct 2008 08:22:16 -0700
From: Greg KH <greg@...ah.com>
To: "Gu, Mingkun" <Mingkun.Gu@...CH.COM>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Help: undesired 10 seconds delay in creating USB devices
On Thu, Oct 23, 2008 at 11:22:08AM -0300, Gu, Mingkun wrote:
> Hi Gentlemen,
>
> I upgraded my kernel version from 2.6.13.5 to 2.6.21.7. I noted a 10
> seconds delay in creating the device node under /dev for a hotplug USB
> device. The details are as follows:
>
> 1) if the device driver is not loaded, the device driver will be loaded
> and a device name under /dev will be created immediately when I plug in
> my USB device (a finger button board);
>
> 2) after the device driver has been loaded and unplugged the USB device
> from the system, a 10 seconds delay in creating a device name under /dev
> will be observed when I plug the device back into the system.
What are you using to test that a 10 second delay is present?
If you run 'udevadm monitor', does it show a 10 second delay?
Remember, for a usb-storage device, the kernel will wait at least 5
seconds before creating the block device for it as part of the "settle
the device down" delay. If you don't like it, you can change that
parameter to be shorter, but you do so at your own risk.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists