Re: Battery display generates ACPI events (stops X from powering off display)
Bill WIlson <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2 Aug 2007 15:06:52 -0700 Gautam Iyer <[email protected]> wrote: > > > I noticed that when I enable battery display in Gkrellm, an ACPI event > > > is generated every time gkrellm checks the battery status. I have acpid > > > running, and the message logged by acpid is something like > > > > > > acpid: group=processor, action=processor, device=CPU1, value=00000000, id=00000080 > > > > > > I only have one CPU on my system (CPU0). > > > Of course, reading the battery status and CPU temperature manually from > > > the files /proc/acpi/battery/BAT0/* does not generate this ACPI event. > > > > > > Any idea why, and how I can stop this? > > > > I'm very sure this is not the normal behavior since I have the battery > > display enabled and I'm not experiencing this... I was using it with > > the kernels 2.6.18, 2.6.21 and right now with the 2.6.22 and don't > > have that kind of problems... Maybe something with your acpi?? Which > > is your notebook? What distro are you using? > > Well, I've seen this behaviour with 2.6.19, and 2.6.21 (also 22). I use > Gentoo, and my laptop is a Linux Certified laptop (LC2200E). The battery monitor might read an ac_adaptor state file (if available) in addition to BAT0 files, so try reading that also manually as a test. Run gkrellm -d 0x8000 and at the top of the output you can see all of the battery files gkrellm is reading. But just reading these files should not be generating events. You can monitor which events are generated with acpi_listen and maybe look over your /etc/acpi configuration ... but good documentation on that might be hard to find :( Bill _______________________________________________ Gkrellm mailing list [email protected] http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm