acpi battery rework patch

Takanori Watanabe takawata at init-main.com
Sun Jul 24 06:21:31 GMT 2005


In message <42E29CAA.1020007 at root.org>, Nate Lawson さんいわく:
>Marcin Jessa wrote:
>> On Sat, 23 Jul 2005 19:00:01 +0900
>> Eric Kjeldergaard <kjelderg at gmail.com> wrote:
>>>>Please test to be sure your battery status works as usual, along with 
>>>>any apps.  Since most apps (xbatt, gnome, etc.) use the apm compat 
>>>>layer, they should work as before with no recompilation needed.
>> 
>> 
>>>-CURRENT as of 23/07/2005, does not compile.
>> 
>> 
>> Prolly because it's for 6.0, not 7.0
>
>Sorry, the problem was I left a file out of the diff.  I just committed 
>the patch so please just cvsup and test from 7-CURRENT.
>

I don't tried yet, but devclass battery should be shared between 
any kind of batteries in your way. So move acpi_cmbat_devclass into 
acpi_battery.c and change its name to acpi_battery_devclass.



More information about the freebsd-acpi mailing list