Re: Macbook and ACPI Battery support
Brought to you by:
matthiasgrimm
From: PaulTT <pa...@gm...> - 2008-01-09 23:06:10
|
..... > > 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 > ... i have put together a small patch that enables sleep and enables an option to ignore battery status. i did it togethere because of the problem i have with acpi. i added options Acpi_ForceSleep and IgnoreBatteryStatus to MODULE ACPI. sleep seems to work (i copied part of s2ram which actually does it) so far, i've got a little problem with the other part, about the battery. i added a line ti case TAG_TIMEREMAINING in acpi_handle_tags, where i say: if (base->flags.ignorebattery) break; before tf (cfgure) tagerr.... where flags.ignorebattery is in my case = true. but the case is that sometimes it decides that it should go to sleep, or when i'm in ac power mode, and unplug the power cable, it decides too to go to sleep. i have a question: am ia missing something and there's another path of the messages requesting time remaining and the need to sleep? have i explained it in a understandable way? thanx, Paul |