Re: Macbook and ACPI Battery support
Brought to you by:
matthiasgrimm
From: PaulTT <pa...@gm...> - 2007-11-26 14:38:17
|
On Nov 10, 2007 11:27 AM, Matthias Grimm <mat...@us...> wrote: > On Thu, 8 Nov 2007 11:26:03 +0100 > PaulTT <pa...@gm...> wrote: > > Hi Paul, > > > > i'm not sure if it was really pbbuttons fault > > after a while, one month of uptime, i say, acpi battery stat went away again. > > anyway, i'll put together a (trivial) patch to enable/disable battery > > pooling by pbbuttons, anyway > > ACPI support in pbbuttonsd is quite very basic yet. If you have any code > that improves the situation, feel free to send it to me. bein a little jammed in these days, as soon as i have the time, i'll write a patch to enable/disable battery check at runtime (it could be useful for desktop computers, anyway, i think) from configuration file > ACPI should always report the correct battery values if pbbuttons > polling the data or not. Possibly the ACPI kernel code might got > confused by an error I made in pbbuttonsd but this is not very likely. > (confusing the kernel, not making errors in pbbuttonsd ;-) ) i couldn't get any reasonable result, indeed. it may be that pbb could confuse the kernel, but even with battery code disabled, after a while -even if it was a loooong while- acpi stopped responding correctly. so it could or couldn't be the fault of pbb. now, with 2.6.24rc3 it seems to be stable. but i have to wait at least another few days to talk.... i'll let you informed, thanx for the work and the attention :) > If you have acpid running, it could also an incompatibility of acpid > and pbbuttonsd. I made pbbuttonsd attach to acpid if it can't get the i stopped acpid anyway since i didn't found any utility in having it > acpi kernel port directly, but possibly this failed somehow. I have > only poor possibilities to test all this because I don't have a > MacBook. So help is always welcome. if tou need something to test, tell me, i've got a macbook which is mine, and another to test on ;P > Best Regards > Matthias > bye |