[alsa-devel] [PATCH] HDA: add powersaving hook for Realtek

Hector Martin hector at marcansoft.com
Sun Dec 20 23:00:57 CET 2009

Missed a coupld #ifdefs, resending.

The current Realtek code makes no specific provision for turning stuff
off. The codec chip is placed into low-power mode generically, but this
doesn't turn off any external hardware connected to it, in particular
external amplifiers.

This patch creates a hook function that is called by the codec
suspend/resume functions. It ought to disable any external hardware in a
device-specific way. I've implemented a generic ALC889 function that
sets the EAPD pin properly, and used it for the Acer Aspire 8930G which
can benefit from this feature.

On my laptop, this results in ~0.5W extra savings.

Hector Martin (hector at marcansoft.com)
Public Key: http://www.marcansoft.com/marcan.asc

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: realtek-add-power-hooks.patch
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20091220/f6b37c31/attachment.bat 

More information about the Alsa-devel mailing list