Re: [PATCH RFC] USB: Add HCD fastboot

Arjan van de Ven
2008-08-06T20:17:43Z

On Wed, 6 Aug 2008 16:09:21 -0400 (EDT)
Alan Stern <stern@rowland.harvard.edu> wrote:

> On Wed, 6 Aug 2008, Arjan van de Ven wrote:
>
> > On Wed, 6 Aug 2008 15:49:27 -0400 (EDT)
> > Alan Stern <stern@rowland.harvard.edu> 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