Re: Devices eating too much power [was Re: Some thoughts on suspend/resume development]
From: Adam Belay <hidden>
Date: 2005-03-13 21:55:11
On Sun, 2005-03-13 at 22:03 +0100, Pavel Machek wrote:
Hi!quoted
quoted
quoted
quoted
What devices is this targetted at? Video should be handled already (or perhaps we want to power down graphics card when screen is blanked?). Disks spin down too. IRDA ports?- VideoX/dpms handles these already.Many GPUs will have frequency scaling like processors (e.g. ATI Powerplay). I don't think we currently support this.Ugh, I did not know about this stuff. Ok.. Anyway that's X problem, right?
Well it is now :), but many components of these X drivers should be in the kernel. (e.g. X does its own pci probing)
quoted
Also we don't really control display brightness.But display brightness does not really belong here, right?
No, in some cases it's controlled by a separate ACPI device.
quoted
quoted
quoted
Anything you might care to imagine :>Well, I meant something that is not already handled. Like... what power-hungry device do we fail to properly handle today?Wireless cards could be turned off when plugged into a physical media. Many other devices remain on when not used (e.g. serial ports). Probably most of them don't take up much power, but it would be nice to do some experimentation and see.I do not think wireless can be turned off when physical media is present... but it makes sense to be user option... called ifconfig wlan0 down. Driver should really power it down on ifconfig down.
Fair enough. In the typical laptop, it may be a good idea though.
Serial ports should not eat energy when not opened; fix it in the driver. What other devices do eat energy?
Sound cards bridges (PCI, PCMCIA, USB, etc.)
quoted
I think this question really depends on architecture and hardware. Also, I think we'll see more power management options available to us in the near future.Designing for hardware not yet available is usually bad idea.
Well, not always. For example there are PCI express specs available, so even though not every device uses the new power management capabilities now, we know what to expect and exactly how it will work. Another example... ACPI spec 3.0 defines a mechanism to throttle the performance of devices other than processors. Adam