Re: [GIT PATCH] ACPI patches for 2.6.21 - part II (resend)

From: Matthew Garrett
Date: Tue Mar 06 2007 - 08:18:48 EST


On Tue, Mar 06, 2007 at 01:22:13PM +0100, Mattia Dongili wrote:

> the audiopower is basically a _PS3/_PS0 switch for the device, while the
> lanpower plays with the embedded controller to powerdown/powerup.
>
> Now, unfortunately those methods are attached to a fake device in the
> DSDT and afaict there's no way to tell which real device they are
> playing with (except by inspecting the method implementations).
> Well of course iff there's only _one_ sound card and _one_ nic you can
> easily guess it :)
>
> Is there some way to hook into drivers for such kind of runtime power
> management?

Before worrying, I think it would make more sense to instrument the
benefit gained against doing more "traditional" runtime management -
that is, simply shutting down the ethernet chipset or doing ac97 power
management. It's trivial to add those to the existing drivers, and if
the additional benefit of using the Sony-specific methods is small then
it's probably not really worth working out how to add it in.

Plus, implementing the generic support benefits more people :)
--
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/