Re: Changes to sysfs PM layer break userspace

From: Arjan van de Ven
Date: Tue Dec 19 2006 - 14:35:35 EST


On Tue, 2006-12-19 at 18:52 +0000, Matthew Garrett wrote:
> Commit 047bda36150d11422b2c7bacca1df324c909c0b3 broke userspace.
> Previously, /sys/bus/pci/devices/foo/power/state could have values
> echoed into it for triggering suspend/resume calls in the driver. The
> breakage is handily mentioned in the comment:
>
> "Devices with bus.suspend_late(), or bus.resume_early() methods fail
> this operation; those methods couldn't be called."
>
> but there's no mention of what previously working code is supposed to do
> now. That's the second time in the past year or so that this interface
> has been broken - can we have it working again, please, especially as
> there doesn't appear to be an alternative yet?


which userspace is using this btw?


-
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/