From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 2 06:40:03 2010 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F33741065693 for ; Sat, 2 Oct 2010 06:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C757A8FC16 for ; Sat, 2 Oct 2010 06:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o926e3E6087782 for ; Sat, 2 Oct 2010 06:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o926e3Ju087781; Sat, 2 Oct 2010 06:40:03 GMT (envelope-from gnats) Date: Sat, 2 Oct 2010 06:40:03 GMT Message-Id: <201010020640.o926e3Ju087781@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: David Naylor Cc: Subject: Re: kern/150517: [acpi] acpi_ec does not work properly on Lenovo S10[e] (due to dynamic switching to polled mode) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Naylor List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 06:40:04 -0000 The following reply was made to PR kern/150517; it has been noted by GNATS. From: David Naylor To: Andriy Gapon Cc: bug-followup@freebsd.org Subject: Re: kern/150517: [acpi] acpi_ec does not work properly on Lenovo S10[e] (due to dynamic switching to polled mode) Date: Sat, 2 Oct 2010 08:31:17 +0200 --nextPart6155206.lNfR8abAcT Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 27 September 2010 07:53:51 Andriy Gapon wrote: > Since you already looked at the linux code, could you please post a link = to > a place where the problematic condition is handled there? >=20 > P.S. A service like http://lxr.linux.no/ or similar might be convenient. Sorry for the slow reply. Your email was mistaken as spam. I've told gmai= l=20 to behave. =20 It has been a long time since I looked at the code. The function in questi= on=20 is http://lxr.linux.no/linux+v2.6.35.7/drivers/acpi/ec.c#L217 with the actu= al=20 check for controller reset at L238. =20 Of note is the delay at L254. It looks like it is almost the same thing my= =20 patch does, except it waits before whereas my patch waits after. =20 --nextPart6155206.lNfR8abAcT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEABECAAYFAkym0bkACgkQUaaFgP9pFrKnnACfbtzDzT316oC4jmBcSAK/aNdc HGQAn140T2kFljemg5tQCuXsxDC9/W+u =VVrY -----END PGP SIGNATURE----- --nextPart6155206.lNfR8abAcT--