From owner-freebsd-acpi@FreeBSD.ORG Sat May 17 07:37:20 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2A6E106566B for ; Sat, 17 May 2008 07:37:20 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by mx1.freebsd.org (Postfix) with ESMTP id 71EB98FC18 for ; Sat, 17 May 2008 07:37:20 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail03.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4H7bHA0009837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 May 2008 17:37:18 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m4H7bH86046274; Sat, 17 May 2008 17:37:17 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m4H7bHZV046273; Sat, 17 May 2008 17:37:17 +1000 (EST) (envelope-from peter) Date: Sat, 17 May 2008 17:37:17 +1000 From: Peter Jeremy To: Ariff Abdullah Message-ID: <20080517073716.GF80125@server.vk2pj.dyndns.org> References: <20080428112623.GA99757@server.vk2pj.dyndns.org> <20080516202242.3992b284.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20080516202242.3992b284.ariff@FreeBSD.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-acpi@freebsd.org Subject: Re: BIOS Regression on HP/Compaq [d]v6000 series notebooks X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2008 07:37:21 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-May-16 20:22:42 +0800, Ariff Abdullah wrote: >After the recent update, the BIOS decided to force/enable C1E whenever >it losing main power: That explains the behaviour I see. > not their (HP) fault though. I don't follow this. HP released a BIOS that is broken. Either they did it deliberately, they didn't bother testing it or they don't care. >Try this patch (against -current, should be OK for other branches >too). With this patch, whenever AC line state change it will >disable C1E, hopefully. Thanks for that. I've tried it against the latest 6-STABLE and it applies OK. The results are mixed though. If I run top(1) and remove power, top's clock stops. When I plug power back in, the clock jumps to the current time - ntpq shows no time jump so the kernel time- keeping is still OK. I've tried this in both single-user and multi- user within X. I get the same behaviour with xclock(1) within X. If I move the mouse, window focus changes appropriately and if I wave the mouse enough, the clocks will jump to the correct time. The above is all with kern.timecounter.hardware=3DACPI-fast. I tried using HPET but the behaviour is the same. Having the system recover when power is re-applied is a big improvement over the previous behaviour but I don't understand the current behaviour - it's far more responsive than it was without the C1E patch but is still not behaving correctly. >Hack or no hack, there must be a better / appropriate solution for >this issue. Agreed. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkguiywACgkQ/opHv/APuIe35gCeMJZZ6xAWf57r1gZnXV9fJozq MywAnRQ9coEtsiic4YDWL6TffqgJgK1x =ZvL/ -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--