Hi.

All rpm packages available from ALT Linux Sisyphus (apt-get repository):

ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/kpowersave-0.4.5-alt1.src.rpm
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/powersave-0.9.25-alt2.src.rpm

also, powersave required for build rpm macros from fillup:
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/fillup-1.42-alt3.src.rpm

and will be included to next release ALT Linux 3.0 (currently
Sisyphus-branch-3.0)

Thanks for great powersave daemon.

Rgds,
Anton Farygin
ALT Linux Team

P.S.
After next week i'm write powersave configuration module for alterator -
modules based configuration engine, writed by ALT Linux Team.


On Thu, 21 Jul 2005 11:29:13 +0200, Danny Kukawka wrote:

> Hi,
> 
> thanks for the patch.
> 
> If you builded powersave for ALT Linux, could you also build a rpm package
> for ALT Linux, which we can release on Novellforge/Sourceforge?
> 
> Have you also tried to build KPowersave?
> 
> Rgds,
> 
> Danny Kukawka
> 
> On Thursday 21 July 2005 08:38, Anton Farygin wrote:
>> On Thu, 21 Jul 2005 10:06:15 +0400, Anton Farygin wrote:
>> > Hi !
>> >
>> > I'm build powersave-0.9.25 for ALT Linux and resolve bug into
>> > powersaved polling code (incorrect timespec calclualtion for poll
>> > interval).
>> >
>> > With this patch powersaved works fine.
>>
>> oops.
>>
>> corrected patch:
>>
>> diff -urN powersave-0.9.25.orig/daemon/powersaved.cpp
>> powersave-0.9.25/daemon/powersaved.cpp ---
>> powersave-0.9.25.orig/daemon/powersaved.cpp 2005-03-19 18:36:52 +0300
>> +++ powersave-0.9.25/daemon/powersaved.cpp      2005-07-05 20:10:28
>> +0400 @@ -504,12 +504,13 @@
>>                         req.tv_usec = 0;
>>                 }
>>                 else {
>> -                       req.tv_sec  =
>> config->current_scheme->POLL_INTERVAL / 1000 -                          
>>     - process_time / (1000*1000); -                       req.tv_usec =
>> (config->current_scheme->POLL_INTERVAL * 1000 % 1000000) -
>>              - process_time % (1000*1000);
>> +                       struct timeval timedec; +                      
>> req.tv_sec  = config->current_scheme->POLL_INTERVAL / 1000; +           
>>            req.tv_usec = (config->current_scheme->POLL_INTERVAL * 1000 %
>> 1000000); +
>>       timersub(&tv_stop,&tv_start,&timedec);
>> +                       timersub(&req, &timedec, &req);
>>                         pDebug (DBG_DEBUG, "Needed %lu sec and %lu usec
>> time to process functions after select\n", - process_time / (1000*1000),
>> process_time % (1000*1000)); +
>>      timedec.tv_sec,timedec.tv_usec);
>>                 }
>>                 }
>>         }
>>  }
>>
>> _______________________________________________ powersave-devel mailing
>> list
>> [email protected]
>> http://forge.novell.com/mailman/listinfo/powersave-devel


_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to