Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37765647
en ru br
ALT Linux repos
S:0.3.12-alt3
5.0: 0.3.12-alt1
4.1: 0.3.12-alt1
4.0: 0.3.11-alt1

Group :: System/Base
RPM: athcool

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: athcool
Version: 0.3.12
Release: alt3
Summary: Enabling/disabling Powersaving mode for AMD processors
License: GPL-2.0+
Group: System/Base
URL: http://members.jcom.home.ne.jp/jacobi/linux/softwares.html
Packager: Mikhail Pokidko <pma at altlinux.ru>
Source0: %name-%version.tar.gz
Source1: athcool.init
Patch: athcool_0.3.12-gcc10.patch

ExclusiveArch: i586 x86_64

# Automatically added by buildreq on Mon Apr 28 2008

BuildRequires: libpci-devel

#BuildRequires: pciutils-devel-static


%description
Athcool is a small utility, enabling/disabling Powersaving mode
for AMD Athlon/Duron processors.

Since enabling Powersaving mode, you can save power consumption,
lower CPU temprature when CPU is idle.

Powersaving works if your kernel support ACPI (APM not work),
because athcool only set/unset "Disconnect enable when STPGNT detected"
bits in the Northbridge of Chipset.
To really save power, someone has to send the STPGNT signal when idle.
This is done by the ACPI subsystem when C2 state entered.

!!!WARNING!!!
Depending on your motherboard and/or hardware components,
enabling powersaving mode may cause that:

* noisy or distorted sound playback
* a slowdown in harddisk performance
* system locks or instability

If you met those problems, you should not use athcool.
Please use athcool AT YOUR OWN RISK.

%prep
%setup -q
%patch -p2

%build
%make

%install
%make_install DESTDIR=%buildroot install

install -Dp -m0755 %SOURCE1 %buildroot%_initrddir/athcool

%post
/sbin/chkconfig --add %name

%preun
if [ $1 -eq 0 ]; then
/sbin/service athcool stop &>/dev/null || :
/sbin/chkconfig --del athcool
fi

%postun
/sbin/service athcool condrestart &>/dev/null || :

%files
%doc ChangeLog COPYING README
%_man8dir/athcool.8*
%_initdir/%name
%_sbindir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin