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 Sat 25 Oct 2014, 13:32
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Laptop battery monitor?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Wed 15 Jun 2005, 09:06    Post_subject:  Laptop battery monitor?  

Ahoy!

Is there any type of laptop battery monitor program in puppy? If not, can anybody suggest one that could be easily added?

Thanks

ND
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 15 Jun 2005, 09:53    Post_subject:  

Puppy has "wmpower".
In Fvwm95, this is in the menu.

Currently though, it is only going to work for APM-enabled BIOSes.

wmpower detects if APM or ACPI is activated in the kernel.

problem is, the 2.4.27 kernel in 1.0.3 doesn't have acpi, and most modern
laptops have acpi-enabled BIOSes.

In other words, it's only maybe going to work on older laptops.
Back to top
View user's profile Send_private_message Visit_website 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Wed 15 Jun 2005, 23:12    Post_subject:  

Hey Barry,

Care to check this out for possible inclusion in future puppy?

http://freeunix.dyndns.org:8088/site2/acpitool.shtml

It looks to be quite handy, is very small (less than 40kb), is open source, and is compiled on slackware 10! Could it get more perfect? The only hitch, it requires that the kernel be compiled with ACPI enabled. Is this the case with puppy kernel?

ND

EDIT: After using my brain really hard and doing some reading around the puppy resources, am i correct in thinking that ACPI was a feature enabled in the 2.6 kernel, but not in the 2.4 kernel-based puppies? I say this based on the fact that JM's 50MB version of 1.0.2 included a boot option to disable ACPI, however, searching through my 1.0.3 running system I can find no evidence of any ACPI action going on. So, am I correct? I think I'll burn a 1.0.2 CD tomorrow and see if I can get that little proggie going on my lappy. Wish me luck!

SECOND EDIT: After using my brain a second time EVEN HARDER, I have come to realize that what Barry was saying was that the reason WMpower won't work in 1.0.3 with ACPI bios is because the kernel has not been compiled with this support. So, if we could get the kernel compiled with ACPI, then WMpower should work just fine. I still think that AcpiTool is worth a look, however, because despite its diminutive size, it has the additional ability to put your laptop into sleep mode.

Edited_times_total
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 16 Jun 2005, 00:51    Post_subject: puppy snooz z z z . . .  

On a similar issue is it possible to have puppy power down to 'sleep mode' as some laptops do, turning off the CPU fan and drawing minimum power? Might that (if at all) be only possible in a ACPI computer or 2.6 kernel?
_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Thu 16 Jun 2005, 01:05    Post_subject:  

Hi Lobster,

The little program to which I linked will put your lappy to sleep for you. As I mentioned, it looks to be VERY handy.

According to what Barry has said (and I've been able to figure out), unless you've got a pretty old laptop that uses APM, rather than the newer ACPI, puppy is currently unable to put your lappy to sleep. And even then, I'm not sure that the capability is in puppy.

Crying or Very sad Hopefully we can get this straightened out for the next version of puppy.

ND
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 16 Jun 2005, 08:02    Post_subject:  

acpi is a double-edged sword.
It has benefits, but if we have an acpi-enabled kernel it may not boot on some systems -- in which case we need the "acpi=off" option at boot time.

So, if I do enable it in the next compile of the 2.4 kernel, will also have to introduce the "acpi off" choice in the boot menu ...which is a hassle if someone has to hit the right menu option every time Puppy boots.

...but then, they can remaster the CD can't they, and put "acpi=off" into the syslinux.cfg file.
Back to top
View user's profile Send_private_message Visit_website 
nduanetesh
Ultra Super-stud

Joined: 05 May 2005
Posts: 168

PostPosted: Thu 16 Jun 2005, 19:44    Post_subject:  

Barry, would it be possible to give someone the option to save their boot options to a file (at least in a case where a person was booting from a writable medium)? Such as, the boot menu pops up and the user selects "no acpi" boot option, and then a question pops up asking if you'd like puppy to remember this choice, so that you only have to do it once. Is this possible? or it is too early in the boot process for puppy to be able to access any sort of writable media? if so, it would eliminate the hassel of dealing with the boot menu at every boot. (BTW, the idea of having to remaster the cd to eliminate a boot menu seems like more of a hassle to me than just dealing with the boot menu.)

ND
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0532s ][ Queries: 12 (0.0040s) ][ GZIP on ]