[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061222204701.GC3960@ucw.cz>
Date: Fri, 22 Dec 2006 20:47:02 +0000
From: Pavel Machek <pavel@...e.cz>
To: Matthew Garrett <mjg59@...f.ucam.org>
Cc: David Brownell <david-b@...bell.net>, linux-kernel@...r.kernel.org,
gregkh@...e.de
Subject: Re: Changes to PM layer break userspace
Hi!
> > That's a workable approach to resolving the underlying problem in the
> > long term. In the short term, notice the system still works correctly
> > if you don't try writing those files.
>
> Well, except I'm now burning an extra couple of watts of power. I
> consider that pretty broken.
Couple of watts is not that bad, considering usb still eats 4W more
than it should.
> > I'd not be keen on reverting Linus' patch [1] myself, even though few
> > drivers have started to use that mechanism yet; that would be a step
> > backwards, and would perpetuate users of that broken sysfs file.
>
> I'm sorry, which bit of "Don't break userspace API without adequate
> prior warning and with a workable replacement" is difficult to
> understand?
It should not break any userspace... but you do not get the power
savings any more. Sorry. This kind of powersaving is not available on
recent kernels.
Right fix is to extend wifi stack... and have ifconfig wlan0
powerdown, or something like that.
Pavel
--
Thanks for all the (sleeping) penguins.
-
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