From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758678AbYJWTQX (ORCPT ); Thu, 23 Oct 2008 15:16:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754625AbYJWTQM (ORCPT ); Thu, 23 Oct 2008 15:16:12 -0400 Received: from kroah.org ([198.145.64.141]:54211 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751622AbYJWTQM (ORCPT ); Thu, 23 Oct 2008 15:16:12 -0400 Date: Thu, 23 Oct 2008 09:13:55 -0700 From: Greg KH To: "Gu, Mingkun" Cc: linux-kernel@vger.kernel.org Subject: Re: Help: undesired 10 seconds delay in creating USB devices Message-ID: <20081023161355.GA8171@kroah.com> References: <20081023152216.GA3911@kroah.com> <32C88E5279F5DD46B7237443CD61E67901E455BA@cspmail02.gtk.gtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32C88E5279F5DD46B7237443CD61E67901E455BA@cspmail02.gtk.gtech.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 23, 2008 at 01:11:00PM -0300, Gu, Mingkun wrote: Please stop sending email in HTML format, the mailing lists reject it. > [MKGU>] My device driver name is "usbled". Our USB device has > VendorID=11b4. After I unplugged the USB cable connecting to this device > and kept the device driver "usbled" remaining loaded, I plugged in the > USB cable back to the system again. I could see the device information > retrieved from /proc/bus/usb/devices immediately but the device name > /dev/usbled0 was seen after near 10 seconds. That sounds like a udev script issue, not a kernel issue, correct? > > If you run 'udevadm monitor', does it show a 10 second delay? > > [MKGU>] I don't have the program 'udevadm' on my system. Do you have the program 'udevmonitor'? I suggest trying that. thanks, greg k-h