Computing.Net > Forums > Linux > ACPI and Battery

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ACPI and Battery

Reply to Message Icon

Name: TornieriC
Date: December 17, 2002 at 06:52:06 Pacific
OS: Mandrake 9.0
CPU/Ram: Athlon 4/256Mo
Comment:

Hi,

I've installed the new 2.4.20 mandrake kernel with ACPI support on my laptop(phoenix bios 4.0 version 6.0).
I decided to load thermal and battery module.

Thermal module seems to work fine.
However battery module is not so good. The module loads and I have access in /proc/acpi/battery/... to battery information that seems to be correct. But sometimes when I do that system freezes.

Also if I use akpi to have battery applet in KDE, when the app tries to access /proc/acpi/battery/... , it freezes the system.

I'm under KDE 3.0.3

Any ideas ????

Thanks a lot.

Christophe.



Sponsored Link
Ads by Google

Response Number 1
Name: malkowich
Date: December 17, 2002 at 08:03:37 Pacific
Reply:

For me, the experience with ACPI is touch and go. I have tried it with

1. ECS Desknote
2. HP Pavilion XT345 aka ZE4000 ~ ZE5000
3. Compaq Presario 2700

I did try loading ACPI part of the kernel as well as modules.

Using ACPID also helped. But, couldn't get the processor to step down or up, the LCD did reduce its brightness.

Specific to your problem, you can do the following.

1. Turn on Debug messages
2. Check dmesg for for ACPI messages(during boot).
3. cat /proc/acpi/event and remove your A/C adapter, close your LID, plug your A/C adapter in etc, to check whether ACPI is indeed recongnizing your ACPI events.
4. During boot, it tells you that, you can turn ACPI off, if it gives you "problems".
5. Check for help with your particular laptop model on linux-laptop.net.
6. Don't load the battery module, see if everything else works?, that way you have a better focus on the issue.



0

Response Number 2
Name: TornieriC
Date: December 17, 2002 at 09:42:42 Pacific
Reply:

Hi,

I've tested all the modules. AC adapter works fine. When I plug the A/C adapter in, ACPI recognize the event. Also if I plug off.
But battery still sometimes hangs system when I want to read values. I can't use akpi because it reads too often the battery.
If I don't read in /proc/acpi/battery/... it works.

Thanks
Chris


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: ACPI and Battery

HP NW8000 and ACPI www.computing.net/answers/linux/hp-nw8000-and-acpi/24730.html

Ubuntu, acpi, and cooling fans... www.computing.net/answers/linux/ubuntu-acpi-and-cooling-fans/29696.html

Laptop Power Management in Linux www.computing.net/answers/linux/laptop-power-management-in-linux/24675.html