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
 

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

reply to topic new topic new poll
Topic: APM / ACPI support?, DSL 2.4 support battery state< Next Oldest | Next Newest >
amadis Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: Aug. 31 2006,16:50 QUOTE

Hello all!

I have DSL 2.4 installed on my Compaq Armada E500. It runs wonderfull!

But I've been trying to enable the battery state with acpi or apm.
As I found in the DSL forums DSL version 2.4 do not support acpi. Is that right?

I wonder if is there any way to check the battery, cpu temperature with apm or acpi without updating to a DSL newer version. Somebody got apm or acpi working on those DSL 2.X? I would appreciate a lot any piece of advice.

Thanks in advance,
Matías
Back to top
Profile PM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Aug. 31 2006,18:23 QUOTE

This thread maybe helpful.  :D

--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 01 2006,08:39 QUOTE

It depends whether your laptop BIOS supports APM or the newer ACPI - I was using ACPI with DSL 2.x and a Dell Latitude D400.

If I recall correctly (I made several posts on the subject), I had to use ACPI=force APM=off as boot cheat codes. Once booted, you will need to "modprobe" the ACPI ac, battery, button, fan, processor and thermal modules which are already in DSL 2.x

Once you have done the above, you can read the battery state using the dockapp wmacpi_1.99r7.dsl or you can manually do it by using the command:

cat /proc/acpi/battery/BAT0/state
Back to top
Profile PM 
amadis Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: Sep. 01 2006,12:47 QUOTE

Thanks for your help!  :)
Hs7v, I had read your threads before and I followed your recommendations. Unfortunatly It didn't work for me.
As I read on Armada e500 user manual she supports acpi.
I tried changing my grub's menu.lst with apm=off acmpi=force
But after that, when I try doing sudo modprobe battery (and the rest) dsl seems not to find the module.
I wonder if the kernel may need some patch... But as I'm new to linux, may be the easiest thing to do is changing to a newer dsl version. I have DSL install on my hd.
What do you think about it? Do you know why is not possible to load the acpi (battery, fan, processor, etc) modules? I tried it why dsl 3.1 live cd and that seems to work.

Regards,
Matías
Back to top
Profile PM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Sep. 05 2006,09:00 QUOTE

DSL-2.4 (kernel 2.4.26) doesn't support ACPI. Please try DSL-2.1b (kernel 2.4.31). It works on my Laptop. :D

--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
4 replies since Aug. 31 2006,16:50 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: APM / ACPI support?

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