Changes to sysfs PM layer break userspace
- From: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
- Date: Tue, 19 Dec 2006 18:52:23 +0000
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?
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/
- Follow-Ups:
- Re: Changes to sysfs PM layer break userspace
- From: David Brownell
- Re: Changes to sysfs PM layer break userspace
- From: Arjan van de Ven
- Re: Changes to sysfs PM layer break userspace
- Prev by Date: Re: free module selection
- Next by Date: Re: [PATCH] Get rid of most of the remaining k*alloc() casts.
- Previous by thread: Processes stuck on I/O (2.6.20-rc1+git)
- Next by thread: Re: Changes to sysfs PM layer break userspace
- Index(es):
Loading