Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Forcing acpi? Hoping to improve battery life..., Triple battery life in Wolvix vs DSL< Next Oldest | Next Newest >
yangmusa Offline





Group: Members
Posts: 54
Joined: Aug. 2007
Posted: Sep. 15 2007,21:39 QUOTE

Quote (roberts @ Sep. 15 2007,14:13)
For advanced acpi functions you need to look at the example scripts in /opt/acpi/actions and modify to suit your needs. Then start the daemon acpid

I don't seem to have the acpi deamon installed. Is it a MyDsl package? And if so, I can't find it under MyDSL browser > System.

Also, I checked the scripts. The powerbutton script initiates reboot, the lib script initiates shutdown - neither initiate suspend to ram.

If I could find the right commands to initiate suspend to ram, then I could rewrite the scripts. But like I wrote earlier, the instructions from the ACPI documentation don't work on DSL. Could be there's more to be learned from the docs, but the instructions given didn't list any ifs/buts/caveats or alternative suggestions.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Sep. 15 2007,23:17 QUOTE

acpid was added to DSL v3.4 see notes.html section

Use the boot option "acpid"

or the typical

# /etc/init.d/acpid start
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 16 2007,03:50 QUOTE

On my laptop, the biggest power saving comes from slowing the Intel Speedstop processor down - in the 2.6.x kernel, this can be done automatically using cpufreqd (I get about twice the battery life with dsl-n as compared with dsl).

After this, the next biggest power saving comes from spinning down the hd, again in 2.6.x this can be done automatically with laptop-mode-tools.

I have tried suspend/sleep on 2.4.x with no sucess at all - on 2.6.x I can suspend, but my laptop never wakes up...

I think you're going to be relatively limited in 2.4.x, but there is plenty of information out there via google.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Sep. 16 2007,23:16 QUOTE

Quote (yangmusa @ Sep. 15 2007,05:31)
I used acpi=force and it booted with acpi. It looks like battery life will be extended too, so already this experiment has been somewhat successful!

Few questions though:
1) Torsmo no longer shows any info about the battery - do I need to change any settings?

2) Suspend to ram no longer works, it used to sleep on pressing the power button. Now it does nothing. I've been reading the acpi documentation but following their advice doesn't work.

Code Sample
echo S3 > /proc/acpi/sleep


Gives no errors, but nothing happens either. Still nothing if a sudo this command. When I check the contents of sleep, it remains unchanged:

Code Sample
cat /proc/acpi/sleep
S0 S1 S2 S3 S4 S5


Ideas?

Check where your battery info is stored when using acpi. The version of torsmo currently in DSL can only access battery info in directories proc/acpi/battery/BAT0(or 1,2,3,.....) Version 0.18, which I think Robert is going to put in future releases, can cope with other directory names (the Toshiba Libretto 100CT uses a directory called MBAT). I haven't had much success with symlinks to to correct this. The binary of v0.18 that I use is at users.tpg.com.au/cramond/torsmo.tar.gz. This contains a unc file so you can use it to overwrite the existing version of torsmo for the time being.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Sep. 17 2007,14:46 QUOTE

andrewb's torsom v0.18 will be included in the next release of DSL both 3.4.3 and 4.0.
Back to top
Profile PM WEB 
12 replies since Sep. 14 2007,18:55 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Forcing acpi? Hoping to improve battery life...

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code