From owner-acpi-jp@jp.FreeBSD.org Fri Nov 22 00:01:02 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id gALF12092636;
	Fri, 22 Nov 2002 00:01:02 +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.11.6+3.4W/8.11.3) with ESMTP/inet id gALF0x292620
	for <acpi-jp@jp.FreeBSD.org>; Fri, 22 Nov 2002 00:00:59 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5])
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare/smtpfeed 1.14) with ESMTP/inet id gALF0ri00641;
	Fri, 22 Nov 2002 00:00:53 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Message-Id: <20021122.000038.40568842.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org, hiro@bisd.hitachi.co.jp
Cc: clin@imasy.org, a-gota@bokutou.jp, keichii@iteration.net
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <20020828042234X.hiro@bisd.hitachi.co.jp>
References: <20020828042234X.hiro@bisd.hitachi.co.jp>
X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 22 Nov 2002 00:00:38 +0900
X-Sequence: acpi-jp 1952
Subject: [acpi-jp 1952] Re: ThinkPad s30 battery problem until 1st
 suspend/resume.
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: iwasaki@jp.FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021111

Hi,

> My notebook-PC(ThinkPad s30 with enbeded wireless LAN adoptor) has
> problems of the incorrect battery info. before 1st suspend.
> 
> I tried your test code in [acpi-jp 1703], so I'll report the results:
> 
> 
> 1) AC-offline before 1st suspend
> 
>   BIF: 0, -1, 1, -1, -1, 150, 126, 4, 4
>   BST: 0, -1, 3600, 10000
> 
> 2) AC-offline after suspend/resume (by acpiconf -s 3)
> 
>   BIF: 0, 6000, 1, 6067, 11100, 150, 126, 4, 4
>   BST: 1, 531, 5911, 10000
> 
> 3) some seconds after 2)
> 
>   BIF: 0, 6000, 1, 6067, 11100, 150, 126, 4, 4
>   BST: 1, 708, 5906, 10000
> 
> 4) more seconds after 3)
> 
>   BIF: 0, 6000, 1, 6067, 11100, 150, 126, 4, 4
>   BST: 1, 708, 5903, 10000

I got s30 again recently, and made a patch against DSDT about this
problem.  I'm testing this for over weeks, it seems to be OK so far.
Please try this.

Thanks

--- s30.asl-     Mon Nov  4 01:30:00 2002
+++ s30.asl      Mon Nov  4 02:51:10 2002
@@ -1548,6 +1548,7 @@
         Name(AFST, 0x0)
         Name(FST_, 0x1)
         Method(_PSR) {
+            \_SB_.PCI0.ISA_.EC0.SELE()
             And(\_SB_.PCI0.ISA_.EC0_.BATF, 0x1, Local0)
             If(Local0) {
                 Return(One)


