From 21ba6c674e280bb2e5a8ffaa0c2d117472364c98 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Aug 2007 14:03:55 +0000 Subject: (configure_sound_slots) enable snd-ac97-codec power_save=1 option if installed on laptop (#32213) --- perl-install/NEWS | 2 ++ perl-install/harddrake/sound.pm | 1 + perl-install/install/NEWS | 1 + 3 files changed, 4 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index fa471f7ab..7c3fb263b 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,7 @@ - assume system is a laptop if it contains some "Intel Corporation|Mobile" devices (fix Samsung Q1U detection, #32967) +- draksound, harddrake service: + o enable snd-ac97-codec power_save=1 option if installed on laptop (#32213) Version 10.4.181 - 29 August 2007, by Thierry Vignaud diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 405e76ed3..23e75eb69 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -374,6 +374,7 @@ sub configure_sound_slots { $altered ||= $default_driver; $modules_conf->set_sound_slot("sound-slot-$::i", $_->{driver}); $modules_conf->set_options($_->{driver}, "xbox=1") if $_->{driver} eq "snd_intel8x0" && detect_devices::is_xbox(); + $modules_conf->set_options('snd-ac97-codec', "power_save=1") if $_->{driver} =~ /^snd/ && detect_devices::isLaptop(); } } detect_devices::getSoundDevices(); $modules_conf->write if $altered && $::isStandalone; diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 68289ac79..33a161191 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- enable snd-ac97-codec power_save=1 option if installed on laptop (#32213) - set specific icons for summary steps (#32923) - assume system is a laptop if it contains some "Intel Corporation|Mobile" devices (fix Samsung Q1U detection, #32967) -- cgit v1.2.1