[LPIA Hardy LUM] Disable RTC wake alarm to reduce power in Hibernate - attempt #4 (!)

Colin Ian King colin.king at canonical.com
Wed Mar 18 16:38:59 UTC 2009


Attempt #4, aligned with comments from rtg, smb and some more from apw.

https://bugs.launchpad.net/dennis/+bug/337943

Note: This fix comes in 2 patches, the first is general code tidy up 
(whitespace/tab indentation, formatting) and removing a whole load of
warnings and errors from checkpatch.  (Note checkpatch complains about 
the not using strict_stroul in this patch but this is not available in
Hardy.)
 
The second patch is the fix to reduce power consumption during
hibernate.

Bug: LP#337943

LPIA Hardy Lum

Add sysfs control to enable or disable RTC Event Enable (RTC_EN) bit
of port ACPI PM1a_EVT_BLK because the BIOS overlooked this
functionality on the HP Mini. Disabling this before hibernate saves
several mAh.

Note that this extends the existing power management tweaks for this
particular netbook specific module.

Attached:

Patch 1 - code tidy up - remove a whole load of checkpatch warnings
Patch 2 - fix to reduce power consumption

-- 
Colin King   <colin.king at canonical.com>
"Me transmitte sursum, caledoni" 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-SAUCE-hpmini-source-reformatting-and-tidy.patch
Type: text/x-patch
Size: 17756 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090318/75703ba1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-UBUNTU-SAUCE-hpmini-Disable-RTC-wake-alarm-to-red.patch
Type: text/x-patch
Size: 5096 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090318/75703ba1/attachment-0001.bin>


More information about the kernel-team mailing list