diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-30 14:03:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-30 14:03:55 +0000 |
commit | 21ba6c674e280bb2e5a8ffaa0c2d117472364c98 (patch) | |
tree | cbbfe6bef70f21925265ceb71b08264f5c6fae65 /perl-install | |
parent | b140d1030f205d71a69a832945c4f30d2703538b (diff) | |
download | drakx-21ba6c674e280bb2e5a8ffaa0c2d117472364c98.tar drakx-21ba6c674e280bb2e5a8ffaa0c2d117472364c98.tar.gz drakx-21ba6c674e280bb2e5a8ffaa0c2d117472364c98.tar.bz2 drakx-21ba6c674e280bb2e5a8ffaa0c2d117472364c98.tar.xz drakx-21ba6c674e280bb2e5a8ffaa0c2d117472364c98.zip |
(configure_sound_slots) enable snd-ac97-codec power_save=1 option if installed on laptop (#32213)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/harddrake/sound.pm | 1 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
3 files changed, 4 insertions, 0 deletions
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) |