Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762300AbYHFURn (ORCPT ); Wed, 6 Aug 2008 16:17:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756047AbYHFURc (ORCPT ); Wed, 6 Aug 2008 16:17:32 -0400 Received: from casper.infradead.org ([85.118.1.10]:56180 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754795AbYHFURa (ORCPT ); Wed, 6 Aug 2008 16:17:30 -0400 Date: Wed, 6 Aug 2008 13:17:29 -0700 From: Arjan van de Ven To: Alan Stern Cc: Simon Arlott , Rene Herman , , , Daniel Walker , USB list , Greg Kroah-Hartman Subject: Re: [PATCH RFC] USB: Add HCD fastboot Message-ID: <20080806131729.6384550c@infradead.org> In-Reply-To: References: <20080806125612.6bf9eb40@infradead.org> Organization: Intel X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1678 Lines: 43 On Wed, 6 Aug 2008 16:09:21 -0400 (EDT) Alan Stern wrote: > On Wed, 6 Aug 2008, Arjan van de Ven wrote: > > > On Wed, 6 Aug 2008 15:49:27 -0400 (EDT) > > Alan Stern wrote: > > > > > On Wed, 6 Aug 2008, Simon Arlott wrote: > > > > > > > > Wouldn't it be much simpler, and less objectionable, to do > > > > > what I suggested earlier? That is, add a 5-second delay at > > > > > the start of hub_thread() in drivers/usb/core/hub.c. No > > > > > messing with Makefiles, no changes to the initcall scheduling. > > > > > > > > Aside from 5 seconds being too long, and anything less being a > > > > race between hub_thread() and driver initcalls, it doesn't > > > > improve anything because it'll still have to wait for the > > > > devices to finish initialising in userspace instead. > > > > > > Why is 5 seconds too long? Too long for what? > > > > because I'm done booting to full UI in that time. > > > > it's forever. > > This doesn't answer my question. Why does the fact that you're > already in the UI after 5 seconds mean that 5 seconds is too long to > delay the start of khubd? because it means that while the rest of boot is done and the system idle, the mouse and keyboard aren't going to work. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/