--- laptop-mode-tools_1.45.orig/usr/share/laptop-mode-tools/modules/ac97-powersave 2008-12-31 01:36:44.000000000 +0200 +++ laptop-mode-tools_1.45/usr/share/laptop-mode-tools/modules/ac97-powersave 2008-12-31 01:36:31.000000000 +0100 @@ -11,6 +11,16 @@ $LM_VERBOSE && echo "AC97 power saving is not available. Perhaps CONFIG_SND_AC97_POWER_SAVE option" >> $OUTPUT $LM_VERBOSE && echo "is not set in the kernel config, or the snd_ac97_codec module is not loaded." >> $OUTPUT fi + # Add Intel HDA support + if [ -w /sys/module/snd_hda_intel/parameters/power_save ]; then + echo 1 > /sys/module/snd_hda_intel/parameters/power_save + $LM_VERBOSE && echo "Intel HDA power save mode enabled." >> $OUTPUT + else + $LM_VERBOSE && echo "Intel HDA power saving is not available. Perhaps CONFIG_SND_HDA_POWER_SAVE option" >> $OUTPUT + $LM_VERBOSE && echo "is not set in the kernel config, or the snd_hda_intel module is not loaded." >> $OUTPUT + fi else $LM_VERBOSE && echo "AC97 audio power setting is disabled." >> $OUTPUT + # Add Intel HDA support + $LM_VERBOSE && echo "Intel HDA audio power setting is disabled." >> $OUTPUT fi