Re: [PATCH 3/5] [pm] Respect the actual device power states in sysfs interface

Pavel Machek
2006-02-20T00:41:42Z

[-- Attachment #1: Type: text/plain, Size: 996 bytes --]

On Ne 19-02-06 16:36:34, Patrick Mochel wrote:
>
> On Mon, 20 Feb 2006, Pavel Machek wrote:
>
> > On Ne 19-02-06 16:17:01, Patrick Mochel wrote:
>
> > > I really fail to see what your fundamental objection is. This restores
> > > compatability, makes the core simpler, and adds the ability to use the
> > > additional states, should drivers choose to implement them; all for
> > > relatively little code. It seems a like a good thing to me..
> >
> > Compatibility is already restored.
>
> No, the interface is currently broken. The driver core does not
> dictate

There were two different interfaces, one accepted 0 and 2, everything
else was invalid, and second accepted 0, 1, 2, 3.

If you enter D2 on echo 2, you are breaking compatibility with 2.6.15
or something like that.

Please let this interface die and create new one. (And notice that
this is exactly same advice you gave me month ago).
Pavel

--
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...