Re: Changes to PM layer break userspace



On Tue, Dec 19, 2006 at 09:14:49PM -0800, David Brownell wrote:
On Tuesday 19 December 2006 8:26 pm, Matthew Garrett wrote:
On Tue, Dec 19, 2006 at 07:59:42PM -0800, David Brownell wrote:
It's perfectly reasonable to
refer to it as a flawed interface, or perhaps even a buggy one. But in
itself, it's clearly not a bug.

This class of bug is also called a "design bug" or sometimes "mistake".

Exactly, those "power" files actually pre-date the actual tree of
devices itself. They were just holders for what the original developer
thought was going to be needed, but was never properly implemented due
to some job changes (note, this was not myself...)

In contrast, the /sys/devices/.../power/state API has never had many
users beyond developers trying to test their drivers (without taking
the whole system into a low power state, which probably didn't work
in any case), and has *always* been problematic. And the change you
object to doesn't "break" anything fundamental, either. Everything
still works.

It's used on every Ubuntu and Suse system,

Odd how the relevant Suse developers didn't mention any issues with
those files going away, any of the times problems with them were
discussed on the PM list. Also, I have a Suse system that doesn't
use those files for anything ... maybe only newer release use it.

I would be very interested to see any newer SuSE programs using that
interface. Just point them out to me and I'll quickly fix them.

And yes, as a SuSE developer (and one of the people in charge of the
SuSE kernels), I have no problem with these files just going away.
Because, as David keeps repeating, they are broken and wrong.

thanks,

greg k-h
-
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/



Relevant Pages

  • Re: [opensuse] Re: KDE question?
    ... bit by the SuSE developers. ... another distro using KDE that uses the standard packages from kde.org ...
    (SuSE)
  • Re: [SLE] Interesting review of SuSE 9.3
    ... >>I also wanted, with all my passion, that SuSE be better than M$. ... >>to waste yet more time trying to debug the SuSE system. ... > Maybe you should be called 'Stupor Programmer Man'. ... I note that you carefully mention "Linux" but not SuSE 9.3. ...
    (SuSE)
  • [opensuse] mounting a Solaris UFS disk on a SuSE 11.1 system
    ... I am in the process of converting my home data server from Solaris to SuSE 11.1. ... know how to do is mount the Solaris UFS data disk on the SuSE system in order ... to copy the data to the SuSE system. ...
    (SuSE)
  • Re: [opensuse] mounting a Solaris UFS disk on a SuSE 11.1 system
    ... Damon Register wrote: ... know how to do is mount the Solaris UFS data disk on the SuSE system ... to copy the data to the SuSE system. ... Does anyone here have experience with mounting a Solaris ...
    (SuSE)
  • Re: [SLE] Fonts and licencing.
    ... > owned by any package. ... > I would like to introduce suse to www.indictrans.org where suse ... > developers can download the GPL fonts called Gargi and Padma (for indian ... > SuSe developers to include gargi and padmaa since they look better than ...
    (SuSE)