Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6

From: Mark Lord
Date: Fri Sep 14 2007 - 09:48:55 EST


Linus Torvalds wrote:

On Fri, 14 Sep 2007, Adrian Bunk wrote:
E.g. when looking at the reverse dependencies of libhal, it would not be funny if kernel 2.6.43 required a more recent version of HAL.

Adrian, what's the point of answering your questions, WHEN YOU DON'T EVEN READ THE ANSWERS!

So stop repeating your inane question, and instead LISTEN to what people are saying.

There is *no* requirement what-so-ever on user space. End of story.

If user-space doesn't tell devices to go to autosuspend, they just won't do so. But this has nothing to do with white-lists, black-lists, 2.6.43, or your HAL version.

That black-listing was a mistake. We got over it. Now PLEASE you get over it too!

Adrian, please note that this is NOT the normal "suspend to ram/disk" stuff
that is being discussed / affected here. But rather something brand new (to Linux), the automatic powerdown (well, nearly) of idle USB devices
during regular running.

Things will work just fine without chewing up gobs of memory in a futile effort
to list everything inside the kernel. Devices will plug in and work fine
(which they didn't in 2.6.23 until this stuff got reverted) the same as always.

To gain the last xx% in power savings, some userspace support may be needed,
that's all. And with the pace of new/updated USB devices coming/going these days,
userspace is really the only appropriate place for this kind of stuff.

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/