LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-23-2012, 12:27 AM   #1
DasFox
LQ Newbie
 
Registered: Mar 2012
Posts: 9

Rep: Reputation: Disabled
Default time-out for HD-audio power-save mode - Leave On 'Zero'?


The 'Default time-out for HD-audio power-save mode', kernel help section says;

The default time-out value in seconds for HD-audio automatic power-save mode. 0 means to disable the power-save mode.

What I don't understand is that in the pm-utils there is the intel-audio-powersave which will enable or diable it;

Code:
#!/bin/sh

# Allow the driver to put the audio hardware to sleep
# once the driver has been inactive for a second.
# This hook should work with at least the ac97 and hda codecs.

INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

help() {
cat <<EOF
--------
$0: Intel Audio powersave parameters.

This hook has 1 tuneable parameter.
INTEL_AUDIO_POWERSAVE = controls whether we will try to save power on battery.
Defaults to true.

EOF
}

audio_powersave() {
    [ "$INTEL_AUDIO_POWERSAVE" = "true" ] || exit $NA
    for dev in /sys/module/snd_*; do
        [ -w "$dev/parameters/power_save" ] || continue
        printf "Setting power savings for %s to %d..." "${dev##*/}" "$1"
        echo $1 > "$dev/parameters/power_save" && echo Done. || echo Failed.
    done
}

case $1 in
    true) audio_powersave 1 ;;
    false) audio_powersave 0 ;;
    help) help;;
    *) exit $NA
esac

exit 0
So in order to use intel-audio-powersave, I assumed I would compile in the kernel support 'Aggressive power-saving on HD-audio' - CONFIG_SND_HDA_POWER_SAVE: but then I'm confused should I leave the 'Default time-out for HD-audio power-save mode' on 0 for the kernel?


THANKS
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor power save mode rehan999 Linux - Software 15 03-02-2008 10:44 PM
Turn off Power save mode killersheep Debian 2 07-12-2005 04:34 PM
screen goes to power save mode in X michael_j_w Fedora 0 01-08-2005 12:17 AM
Screen Goes Power Save Mode CrAzY G Linux - General 10 01-18-2004 02:38 PM
How to disable Power Save mode? Marina23 Linux - Hardware 3 05-15-2003 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration