Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 May 2013, 18:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
acpi-tool-0.5.1 racy-5.3
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Karl Godt


Joined: 20 Jun 2010
Posts: 2675
Location: Kiel,Germany

PostPosted: Sat 14 Apr 2012, 08:48    Post subject:  acpi-tool-0.5.1 racy-5.3  

acpitool from actual debian sid compiled with its patches

plus patched by me to suppress "deprecated const char" warnings .

The kernel 3.x.y patch by debian looks like this ... Laughing
Code:
--- acpitool-0.5.1/src/acpitool.cpp      2009-08-13 14:37:48.000000000 -0500
+++ acpitool-0.5.1/src/acpitool.cpp       2011-07-28 08:40:37.000000000 -0500
@@ -205,8 +205,7 @@
    Kernel_24 = 1;           
    Kernel_26 = 0;
     }
-       
-    if(strncmp(str,"2.6",3)==0)
+    else
     {
    Kernel_24 = 0;           
    Kernel_26 = 1;
acpitool-0.5.1-i686.pet
Description  installs to /usr/local/* ; binary acpitool and manual page
pet

 Download 
Filename  acpitool-0.5.1-i686.pet 
Filesize  44.68 KB 
Downloaded  619 Time(s) 
acpi-tool-0.5.1.const-char.diff.tar.bz2
Description  diff against unpatched source ; has small difference in acpitool.cpp
- char *filename, str[50];
+ const char *filename, string str; //str[50];
Where "string str" is changed by a debian patch .
Put that in if applied after the debian patch
bz2

 Download 
Filename  acpi-tool-0.5.1.const-char.diff.tar.bz2 
Filesize  2.03 KB 
Downloaded  348 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
vtpup


Joined: 15 Oct 2008
Posts: 1077
Location: Republic of Vermont

PostPosted: Sun 03 Jun 2012, 00:07    Post subject:  

Thanks for this. Unfortunately in Racy 53 I get:

Code:
 # acpitool
acpitool: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by acpitool)

_________________
New Acer Aspire 5349-2635 dual proc, 4gb ram, re-partitioned with frugal Racy 5.3, dual boot, running rings around Win 7.
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1077
Location: Republic of Vermont

PostPosted: Sun 03 Jun 2012, 14:10    Post subject:  

Uninstalled, shut down, re-installed. And now it works. Don't know how, don't know why. But.....nevermind.....
_________________
New Acer Aspire 5349-2635 dual proc, 4gb ram, re-partitioned with frugal Racy 5.3, dual boot, running rings around Win 7.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 2675
Location: Kiel,Germany

PostPosted: Sat 21 Jul 2012, 21:31    Post subject:  

Sorry for answering late: Such problems are " common " on Puppy but most messages " No version information " seems to not harm anything . I recently upgraded libz/zlib on a Puppy 4 that does not want to show a version information with the outcome that mtpaint does not want to save .png with compression levels other than 0 .
Back to top
View user's profile Send private message Visit poster's website 
Pelo

Joined: 10 Sep 2011
Posts: 1098
Location: Paris charles de Gaulle Airport (10 kms°)

PostPosted: Tue 11 Sep 2012, 04:24    Post subject: acpi tool : what is it used for ?
Subject description: A quoi sert-il ? Para qué sirbe ?
 

acpi tool : what is it used for ?
A quoi sert-il ? Para qué sirbe ?

Wikipedia : L’Advanced Configuration and Power Interface (ACPI) (« interface avancée de configuration et de gestion de l’énergie » en anglais) est une norme co-développée par Hewlett Packard, Intel, Microsoft, Phoenix Technologies et Toshiba, très largement répandue dans les ordinateurs personnels.

Le but de cette norme est de réduire la consommation d’énergie d’un ordinateur en mettant hors tension certains éléments (tels que les lecteurs CD-ROM, les disques durs, l’écran…).

Merci messieurs les techniciens / please explain the usage : to reduce the consumption.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0568s ][ Queries: 13 (0.0132s) ][ GZIP on ]