Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 11:20:59 -0700
From:      Nate Lawson <nate@root.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_battery.c acpi_cmbat.c acpivar.h
Message-ID:  <40F81C8B.4010404@root.org>
In-Reply-To: <20040716181759.B27C45D08@ptavv.es.net>
References:  <20040716181759.B27C45D08@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Oberman wrote:
>>From: Nate Lawson <njl@FreeBSD.org>
>>Date: Mon, 12 Jul 2004 20:53:04 +0000 (UTC)
>>Sender: owner-cvs-all@freebsd.org
>>
>>njl         2004-07-12 20:53:04 UTC
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    sys/dev/acpica       acpi_battery.c acpi_cmbat.c acpivar.h 
>>  Log:
>>  Add the ability to detach a battery.  Now batteries that are detached are
>>  also removed from the battery list.
>>  
>>  Revision  Changes    Path
>>  1.9       +16 -0     src/sys/dev/acpica/acpi_battery.c
>>  1.32      +16 -1     src/sys/dev/acpica/acpi_cmbat.c
>>  1.77      +1 -0      src/sys/dev/acpica/acpivar.h
> 
> Thanks!
> 
> Any hope for adding a battery? I see acpi_battery_register routine, but
> I suspect it is only used at boot time.

Dynamic device add/remove is in my local tree.  It has a few quirks in general 
but works ok with batteries.  After some more work, it's likely I'll commit 
it.  It is the rudimentary beginnings of docking support and drive bay swapping.

-Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40F81C8B.4010404>