Re: [linux-pm] [PATCH 0/6] [-mm]: ACPI: duplicate ACPI procfs functions in sysfs

Matthew Garrett
2007-01-25T05:50:25Z

On Wed, Jan 24, 2007 at 11:14:22PM -0500, Len Brown wrote:
> On Sunday 07 January 2007 22:31, David Brownell wrote:
>
> > > However, I'm not entirely sure /how/ that integration should happen. If
> > > both the Linux driver and ACPI know how to enable wakeup for a device,
> > > what should writing to power/wakeup do?
>
> If a native hardware device driver knows how to talk to the device,
> then it should win, and ACPI should lose.

My concern is that there may be cases where the ACPI wakeup code
interacts with the platform in a way that the Linux code doesn't, which
may be somehow necessary. I've no evidence that this is ever something
that would actually be an issue, but on the other hand, this is ACPI...

--
Matthew Garrett | mjg59@srcf.ucam.org