PDA

View Full Version : Battery Monitor?


KaiN
2004-05-18, 08:59 PM CDT
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
2004-05-18, 09:55 PM CDT
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
2004-05-18, 10:37 PM CDT
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
2004-05-19, 04:54 PM CDT
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
2004-05-20, 01:49 PM CDT
Don't feel too bad... I did basically the same thing as you. lol

xyklopz
2004-05-20, 06:02 PM CDT
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
2004-05-20, 08:47 PM CDT
Dang xyklopz, I already got it to work, but I can see you are no rookie at linux.

Thanks for the reply.

borfast
2004-10-10, 01:28 PM CDT
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 :)