From owner-acpi-jp@jp.freebsd.org  Thu Dec  7 19:36:03 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id TAA36519;
	Thu, 7 Dec 2000 19:36:03 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (daemon@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id TAA36512
	for <acpi-jp@jp.freebsd.org>; Thu, 7 Dec 2000 19:36:03 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92])
	by tasogare.imasy.or.jp (8.11.1+3.4W/3.7W-tasogare/smtpfeed 1.07) with ESMTP id eB7Aa0k26031
	for <acpi-jp@jp.freebsd.org>; Thu, 7 Dec 2000 19:36:01 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
To: acpi-jp@jp.freebsd.org
In-Reply-To: <200011281518.AAA10877@shidahara1.planet.sci.kobe-u.ac.jp>
References: <20001129000843O.haro@tk.kubota.co.jp>
	<200011281518.AAA10877@shidahara1.planet.sci.kobe-u.ac.jp>
X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20001207193558R.iwasaki@jp.FreeBSD.org>
Date: Thu, 07 Dec 2000 19:35:58 +0900
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
X-Dispatcher: imput version 20000228(IM140)
Lines: 23
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 943
Subject: [acpi-jp 943] Re: Some power device driver. 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: iwasaki@jp.freebsd.org

> In message <20001129000843O.haro@tk.kubota.co.jp>, Munehiro Matsuda $B$5$s$$$o$/(B:
> >Follow up to my own message:
> >
> >::I've found small problem with the way _BIF info is kept in acpi_cmbat.c,
> >::while fiddling with acpibatt program.
> >::
> >::Current code assumes that _BIF info does not change while system is up.
> >::But, the lfcap (Last Full Charge Capacity) entry may change with each 
> >::bettery charges done.
> >
> >To come to think of it, it may be a bug in my BIOS that fail to generate
> >a _BIF notify event even when there's change in lfcap entry?? Hmm...
> >
> >::I think there are two ways of fixing it, but cannot make up my mind.
> >::Which fix would you prefer?  (BTW, both fix are not tested)
> >
> >So, it may not be a 'fix', but a 'workaround for a bug'. *sigh*
> 
> I will fix this problem with config_intrhook . It should be done as
> a device initialization process.

BTW, when are you planning to commit them? :-)
# I have some patches againt acpi_acad.c and acpi_cmbat.c here.
