PDA

View Full Version : Battery Monitor?


KaiN
19th May 2004, 03:59 AM
I had the Fedora-2 http install (Development) and my acpi was working, I installed the iso version today and now I have no acpi support or do I?

Running on a Dell Inspiron 5100

Any help would be appreciated.

[root@localhost root]# acpid
acpid: can't open /proc/acpi/event: Device or resource busy

Jman
19th May 2004, 04:55 AM
Do you have a battery monitor that doesn't work?

I also get that it's busy. The fact that it is an event file suggests that it will be busy until their actually is an event, but that's just my guess.

Check your kernel logs for ACPI entries by running dmesg | grep ACPI

jrblevin
19th May 2004, 05:37 AM

Sounds to me like acpid is already running (it should be by default on a fresh install). Try running this:
/etc/init.d/acpid status

KaiN
19th May 2004, 11:54 PM
Well, thanks to you guys I know it's running acpid (pid 3007) is running...
only thing now is I do not have the battery monitor display on my task bar.

hehe, I'm an idiot, I found a forum with... Right click on task bar and click add to panel.. Utilities/Battery Monitor

So simple yet so hard. :p

Thanks for the help guys. see ya around the board.

Nefarious
20th May 2004, 08:49 PM
Don't feel too bad... I did basically the same thing as you. lol

xyklopz
21st May 2004, 01:02 AM
In your kernel configuration, do you have the Battery feature of the ACPI configured? If you do, is it a module? If so, you need to make sure the module is loaded before your battery status monitor can output the details of your battery for you. Do a lsmod and look for 'battery'. If it isn't present, then add 'modprobe battery' to your /etc/rc.local file and you'll be set.

If that above didn't work, let me know.

KaiN
21st May 2004, 03:47 AM
Dang xyklopz, I already got it to work, but I can see you are no rookie at linux.

Thanks for the reply.

borfast
10th October 2004, 08:28 PM
I'm having the same problem on a fresh install of Fedora Core 2 system, on an Acer Travelmate 4001 WLMi.

The difference is that although I also have ACPI running and the battery module loaded into the kernel, there's still something that's not working right...

/proc/acpi/battery/ is empty, as are some other /proc/acpi/ subdirectories and the Gnome Battery Monitor always says "Battery: Not present".

But I can see that ACPI is working (at least to some degree), because I tried peeking at /proc/acpi/button/lid/LID/state while I had the laptop lid open and it had "state: open" in it. Then I tried the same with the lid closed and it had "state: closed", so some of it is working but I don't know why some of the directories are empty and the Gnome Battery Monitor doesn't work :(

Can anyone point me in the right direction, please?

Thanks :)